Function Reference: tinv

statistics: x = tinv (p, df)

Inverse of the Student’s T cumulative distribution function (iCDF).

For each element of p, compute the quantile (the inverse of the CDF) at p of the Student’s T distribution with df degrees of freedom.

The size of p is the common size of x and df. A scalar input functions as a constant matrix of the same size as the other input.

This function is analogous to looking in a table for the t-value of a single-tailed distribution. For very large df (>10000), the inverse of the standard normal distribution is used.

See also: tcdf, tpdf, trnd, tstat

Source Code: tinv