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