Products & Services Solutions Academia Support User Community Company

Learn more about Statistics Toolbox   

ncfstat - Noncentral F mean and variance

Syntax

[M,V] = ncfstat(NU1,NU2,DELTA)

Description

[M,V] = ncfstat(NU1,NU2,DELTA) returns the mean of and variance for the noncentral F pdf with corresponding numerator degrees of freedom in NU1, denominator degrees of freedom in NU2, and positive noncentrality parameters in DELTA. NU1, NU2, and DELTA can be vectors, matrices, or multidimensional arrays that all have the same size, which is also the size of M and V. A scalar input for NU1, NU2, or DELTA is expanded to a constant array with the same dimensions as the other input.

The mean of the noncentral F distribution with parameters ν1, ν2, and δ is

where ν2 > 2.

The variance is

where ν2 > 4.

Examples

[m,v]= ncfstat(10,100,4)
m =
  1.4286
v =
  0.4252

References

[1] Evans, M., N. Hastings, and B. Peacock. Statistical Distributions. 2nd ed., Hoboken, NJ: John Wiley & Sons, Inc., 1993, pp. 73–74.

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

See Also

ncfpdf, ncfcdf, ncfinv, ncfrnd

Noncentral F Distribution

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS