tcdf
Compute Student t distribution cumulative distribution function values.
Syntax
p=tcdf(x,n)
Inputs
- x
- Values of the distribution random variable.
- n
- Degrees of freedom.
Outputs
- p
- Cumulative probability values.
Examples
Single value tcdf
example:
x = 3;
n = 10;
p = tcdf(x,n)
p = 0.99333
Vector tcdf
example:
x = [1,2,3,4,5,6,7,8];
n = 10;
p = tcdf(x,n)
p = [Matrix] 1 x 7
0.82955 0.96331 0.99333 0.99874 0.99973 0.99993 0.99998