nctcdf
Noncentral T cumulative distribution function (CDF).
p = nctcdf (x, df, delta)
returns the
noncentral T cdf with df degrees of freedom and noncentrality parameter
delta at the values of X.
The size of p is the common size of the input arguments. Scalar input arguments x, df, delta are regarded as constant matrices of the same size as the other inputs.
p = nctcdf (x, df, delta, "upper"
returns the
upper tail probability of the noncentral T distribution with df degrees
of freedom and noncentrality parameter delta at the values in x.
See also: nctinv, nctpdf, nctrnd, nctstat
Source Code: nctcdf
## 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, ":") |