Lévy

Lévy distribution.

Usage

var levy = require( '@stdlib/stats/base/dists/levy' );

levy

Lévy distribution.

var dist = levy;
// returns {...}

The namespace contains the following distribution functions:

The namespace contains the following functions for calculating distribution properties:

The namespace contains a constructor function for creating a Lévy distribution object.

var Levy = require( '@stdlib/stats/base/dists/levy' ).Levy;

var dist = new Levy( 2.0, 4.0 );

var y = dist.pdf( 2.5 );
// returns ~0.041

Examples

var objectKeys = require( '@stdlib/utils/keys' );
var levy = require( '@stdlib/stats/base/dists/levy' );

console.log( objectKeys( levy ) );
Did you find this page helpful?