5.2 KiB
5.2 KiB
Fisher's F
Fisher's F distribution.
Usage
var f = require( '@stdlib/stats/base/dists/f' );
f
Fisher's F distribution.
var dist = f;
// returns {...}
The namespace contains the following distribution functions:
cdf( x, d1, d2 )
: F distribution cumulative distribution function.pdf( x, d1, d2 )
: F distribution probability density function (PDF).quantile( p, d1, d2 )
: F distribution quantile function.
The namespace contains the following functions for calculating distribution properties:
entropy( d1, d2 )
: F distribution differential entropy.kurtosis( d1, d2 )
: F distribution excess kurtosis.mean( d1, d2 )
: F distribution expected value.mode( d1, d2 )
: F distribution mode.skewness( d1, d2 )
: F distribution skewness.stdev( d1, d2 )
: F distribution standard deviation.variance( d1, d2 )
: F distribution variance.
The namespace contains a constructor function for creating a Fisher's F distribution object.
F( [d1, d2] )
: F distribution constructor.
var F = require( '@stdlib/stats/base/dists/f' ).F;
var dist = new F( 2.0, 4.0 );
var y = dist.cdf( 0.5 );
// returns ~0.36
Examples
var objectKeys = require( '@stdlib/utils/keys' );
var f = require( '@stdlib/stats/base/dists/f' );
console.log( objectKeys( f ) );