@stdlib/stats
Version:
Standard library statistical functions.
34 lines (24 loc) • 595 B
Plain Text
{{alias}}( d1, d2 )
Returns the differential entropy of an F distribution (in nats).
If `d1 <= 0` or `d2 <= 0`, the function returns `NaN`.
If `d1` or `d2` is `NaN`, the function returns `NaN`.
Parameters
----------
d1: number
Numerator degrees of freedom.
d2: number
Denominator degrees of freedom.
Returns
-------
out: number
Entropy.
Examples
--------
> var v = {{alias}}( 3.0, 7.0 )
~1.298
> v = {{alias}}( 4.0, 12.0 )
~1.12
> v = {{alias}}( 8.0, 2.0 )
~2.144
See Also
--------