UNPKG

@stdlib/stats

Version:

Standard library statistical functions.

29 lines (20 loc) 466 B
{{alias}}( k ) Returns the expected value of a chi distribution. If provided `NaN` as any argument, the function returns `NaN`. If provided `k < 0`, the function returns `NaN`. Parameters ---------- k: number Degrees of freedom. Returns ------- out: number Expected value. Examples -------- > var v = {{alias}}( 11.0 ) ~3.242 > v = {{alias}}( 4.5 ) ~2.008 See Also --------