Ttestp: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Jeremy
(Importing text file)
 
imported>Jeremy
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
===Purpose===
===Purpose===
Evaluates t-distribution and its inverse.
Evaluates t-distribution and its inverse.
===Synopsis===
===Synopsis===
:y = ttestp(x,a,z)
:y = ttestp(x,a,z)
===Description===
===Description===
Evaluates a t-distribution with input flag z. For z = 1 the output y is the probability point for given t-statistic x with a degrees of freedom. For z = 2 the output y is the t-statistic for given probability point x with a degrees of freedom.
 
Evaluates a t-distribution with input flag <tt>z</tt>. For <tt>z = 1</tt> the output <tt>y</tt> is the probability point for given t-statistic <tt>x</tt> with <tt>a</tt> degrees of freedom. For <tt>z = 2</tt> the output <tt>y</tt> is the t-statistic for given probability point <tt>x</tt> with <tt>a</tt> degrees of freedom.
 
===Examples===
===Examples===
   y = ttestp(1.9606,5000,1)
   y = ttestp(1.9606,5000,1)
   y = 0.025
   y = 0.025
   y = ttestp(0.005,5000,2)
   y = ttestp(0.005,5000,2)
   y = 2.533
   y = 2.533
===See Also===
===See Also===
[[ftest]], [[statdemo]]
[[ftest]], [[statdemo]]

Latest revision as of 10:03, 10 October 2008

Purpose

Evaluates t-distribution and its inverse.

Synopsis

y = ttestp(x,a,z)

Description

Evaluates a t-distribution with input flag z. For z = 1 the output y is the probability point for given t-statistic x with a degrees of freedom. For z = 2 the output y is the t-statistic for given probability point x with a degrees of freedom.

Examples

 y = ttestp(1.9606,5000,1)
 y = 0.025
 y = ttestp(0.005,5000,2)
 y = 2.533

See Also

ftest, statdemo