Function Reference: ncfcdf

statistics: p = ncfcdf (x, df1, df2, delta)
statistics: p = ncfcdf (x, df1, df2, delta, uflag)

Noncentral F cumulative distribution function (CDF).

p = ncfcdf (x, df1, df2, delta) returns the noncentral F 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, df1, df2, delta are regarded as constant matrices of the same size as the other inputs.

p = ncfcdf (x, df1, df2, delta, "upper" returns the upper tail probability of the noncentral T distribution with df1 and df2 degrees of freedom and noncentrality parameter delta at the values in x.

See also: ncfinv, ncfpdf, ncfrnd, ncfstat

Source Code: ncfcdf

Example: 1

 

 ## Compare the noncentral F cdf with DELTA = 10 to the F cdf with the
 ## same number of numerator and denominator degrees of freedom (5, 20)

 x = (0.01:0.1:10.01)';
 p1 = ncfcdf (x, 5, 20, 10);
 p = fcdf (x, 5, 20);
 plot (x, p, "-", x, p1, "-");

                    
plotted figure