@stdlib/stats
Version:
Standard library statistical functions.
34 lines (24 loc) • 582 B
Plain Text
{{alias}}( a, b )
Returns the mean of a Kumaraswamy's double bounded distribution.
If provided `NaN` as any argument, the function returns `NaN`.
If `a <= 0` or `b <= 0`, the function returns `NaN`.
Parameters
----------
a: number
First shape parameter.
b: number
Second shape parameter.
Returns
-------
out: number
Mean.
Examples
--------
> var v = {{alias}}( 1.5, 1.5 )
~0.512
> v = {{alias}}( 4.0, 12.0 )
~0.481
> v = {{alias}}( 16.0, 8.0 )
~0.846
See Also
--------