Ttestp

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search

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