tinv
Compute Student t distribution inverse cumulative distribution function values.
Syntax
x=tinv(p,n)
Inputs
- p
- Probability values.
- n
- Degrees of freedom.
Outputs
- x
- Values of the distribution random variable.
Examples
Single value tinv
example:
p = 0.6;
n = 10;
x = tinv(p,n)
x = 0.26018
Vector tinv
example:
p=[0.1:0.1:0.9];
n = 10;
x = tinv(p,n)
x = [Matrix] 1 x 9
-1.3722 -0.87906 -0.54153 -0.26018 0 0.26018 0.54153 0.87906 1.3722