Normal

Normal distribution.

Usage

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

normal

Normal distribution.

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

var Normal = require( '@stdlib/stats/base/dists/normal' ).Normal;

var dist = new Normal( 2.0, 4.0 );

var y = dist.pdf( 2.0 );
// returns ~0.1

Examples

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

console.log( objectKeys( normal ) );