Lognormal

Lognormal distribution.

Usage

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

lognormal

Lognormal distribution.

var dist = lognormal;
// 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 lognormal distribution object.

var LogNormal = require( '@stdlib/stats/base/dists/lognormal' ).LogNormal;

var dist = new LogNormal( 2.0, 4.0 );

var y = dist.cdf( 0.5 );
// returns ~0.25

Examples

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

console.log( objectKeys( lognormal ) );