Function Reference: ncx2stat

statistics: [m, v] = ncx2stat (df, delta)

Compute statistics for the noncentral χ^2 distribution.

[m, v] = ncx2stat (df, delta) returns the mean and variance of the noncentral chi-square distribution with df degrees of freedom and noncentrality parameter delta.

The size of m and v is the common size of the input arguments. Scalar input arguments df and delta are regarded as constant matrices of the same size as the other input.

See also: ncx2cdf, ncx2inv, ncx2pdf, ncx2rnd

Source Code: ncx2stat