Returns the expected value of a chi-squared distribution.
k < 0
NaN
degrees of freedom
expected value
var v = mean( 9.0 ); // returns 9.0
var v = mean( 1.0 ); // returns 1.0
var v = mean( -0.2 ); // returns NaN
var v = mean( NaN ); // returns NaN
Returns the expected value of a chi-squared distribution.
Notes
k < 0
, the function returnsNaN
.