@stdlib/stats
Version:
Standard library statistical functions.
34 lines (24 loc) • 559 B
Plain Text
{{alias}}( a, b )
Returns the excess kurtosis of a discrete uniform distribution.
If `a > b`, the function returns `NaN`.
If `a` or `b` is not an integer value, the function returns `NaN`.
Parameters
----------
a: integer
Minimum support.
b: integer
Maximum support.
Returns
-------
out: number
Excess kurtosis.
Examples
--------
> var v = {{alias}}( 0, 1 )
-2.0
> v = {{alias}}( 4, 12 )
~-1.23
> v = {{alias}}( -4, 8 )
~-1.214
See Also
--------