Products & Services Solutions Academia Support User Community Company

Learn more about Statistics Toolbox   

ncx2stat - Noncentral chi-square mean and variance

Syntax

[M,V] = ncx2stat(NU,DELTA)

Description

[M,V] = ncx2stat(NU,DELTA) returns the mean of and variance for the noncentral chi-square pdf with NU degrees of freedom and noncentrality parameter DELTA. NU 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 NU or DELTA is expanded to a constant array with the same dimensions as the other input.

The mean of the noncentral chi-square distribution with parameters ν and δ is , and the variance is .

Examples

[m,v] = ncx2stat(4,2)
m =
   6
v =
  16

References

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

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

See Also

ncx2pdf, ncx2cdf, ncx2inv, ncx2rnd

Noncentral Chi-Square 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