Student's *t* cumulative distribution
function

`p = tcdf(x,nu)`

p = tcdf(x,nu,'upper')

`p = tcdf(x,nu)`

returns the
cumulative distribution function (cdf) of the Student's *t* distribution
at each of the values in `x`

using the corresponding
degrees of freedom in `nu`

. `x`

and `nu`

can
be vectors, matrices, or multidimensional arrays that all have the
same size. A scalar input is expanded to a constant array with the
same dimensions as the other inputs.

`p = tcdf(x,nu,'upper')`

returns the complement
of the Student's *t* cdf at each value in `x`

,
using an algorithm that more accurately computes the extreme upper
tail probabilities.

Was this topic helpful?