Statistics Toolbox | ![]() ![]() |
Noncentral T cumulative distribution function.
Syntax
P = nctcdf(X,NU,DELTA)
Description
computes the noncentral T cdf at each of the values in P = nctcdf(X,NU,DELTA)
X
using the corresponding degrees of freedom in NU
and noncentrality parameters in DELTA
. Vector or matrix inputs for X
, NU
, and DELTA
must have the same size, which is also the size of P
. A scalar input for X
, NU
, or DELTA
is expanded to a constant matrix with the same dimensions as the other inputs.
Example
Compare the noncentral T cdf with DELTA
= 1
to the T cdf with the same number of degrees of freedom (10).
x = (-5:0.1:5)'; p1 = nctcdf(x,10,1); p = tcdf(x,10); plot(x,p,'--',x,p1,'-')
References
Evans, M., N. Hastings, and B. Peacock, Statistical Distributions, Second Edition, John Wiley and Sons, 1993. p. 147-148.
Johnson, N., and S. Kotz, Distributions in Statistics: Continuous Univariate Distributions-2, John Wiley and Sons, 1970. pp. 201-219.
See Also
cdf
, nctcdf
, nctinv
, nctpdf
, nctrnd
, nctstat
![]() | ncfstat | nctinv | ![]() |