| Statistics Toolbox | Search  Help Desk |
| tinv | Examples |
Inverse of the Student's t cumulative distribution function (cdf).
Syntax
X = tinv(P,V)
Description
tinv(P,V) computes the inverse of Student's t cdf with parameter V for the probabilities in P. The arguments P and V must be the same size except that a scalar argument functions as a constant matrix of the size of the other argument. The degrees of freedom, V, must be a positive integer and P must lie in the interval [0 1]. The t inverse function in terms of the t cdf is
where 
where you supply the desired probability p.
Examples
What is the 99th percentile of the t distribution for one to six degrees of freedom?percentile = tinv(0.99,1:6) percentile = 31.8205 6.9646 4.5407 3.7469 3.3649 3.1427