Statistics Toolbox    
ncfinv

Inverse of the noncentral F cumulative distribution function (cdf)

Syntax

Description

X = ncfinv(P,NU1,NU2,DELTA) returns the inverse of the noncentral F cdf with numerator degrees of freedom NU1, denominator degrees of freedom NU2, and positive noncentrality parameter DELTA for the corresponding probabilities in P. Vector or matrix inputs for P, NU1, NU2, and DELTA must have the same size, which is also the size of X. A scalar input for P, NU1, NU2, or DELTA is expanded to a constant matrix with the same dimensions as the other inputs.

Example

One hypothesis test for comparing two sample variances is to take their ratio and compare it to an F distribution. If the numerator and denominator degrees of freedom are 5 and 20 respectively, then you reject the hypothesis that the first variance is equal to the second variance if their ratio is less than that computed below.

Suppose the truth is that the first variance is twice as big as the second variance. How likely is it that you would detect this difference?

If the true ratio of variances is 2, what is the typical (median) value we would expect for the F statistic?

References

[1]  Evans, M., N. Hastings, and B. Peacock, Statistical Distributions, Second Edition, John Wiley and Sons, 1993. p. 102-105.

[2]  Johnson, N., and S. Kotz, Distributions in Statistics: Continuous Univariate Distributions-2, John Wiley and Sons, 1970. pp. 189-200.

See Also
icdf, ncfcdf, ncfpdf, ncfrnd, ncfstat


  ncfcdf ncfpdf