Erlang

Erlang distribution.

Usage

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

erlang

Erlang distribution.

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

var Erlang = require( '@stdlib/stats/base/dists/erlang' ).Erlang;

var dist = new Erlang( 2, 4.0 );

var y = dist.logpdf( 0.8 );
// returns ~-0.65

Examples

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

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