Function Reference: tcdf

statistics: p = tcdf (x, df)
statistics: p = tcdf (x, df, "upper")

Student’s T cumulative distribution function (CDF).

For each element of x, compute the cumulative distribution function (CDF) at x 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.

p = tcdf (x, df, "upper") computes the upper tail probability of the Student’s T distribution with df degrees of freedom, at the values in x.

See also: tinv, tpdf, trnd, tstat

Source Code: tcdf