## Usage
```javascript
var erlang = require( '@stdlib/stats/base/dists/erlang' );
```
#### erlang
Erlang distribution.
```javascript
var dist = erlang;
// returns {...}
```
The namespace contains the following distribution functions:
- [`cdf( x, k, lambda )`][@stdlib/stats/base/dists/erlang/cdf]: Erlang distribution cumulative distribution function.
- [`logpdf( x, k, lambda )`][@stdlib/stats/base/dists/erlang/logpdf]: evaluate the natural logarithm of the probability density function (PDF) for an Erlang distribution.
- [`mgf( t, k, lambda )`][@stdlib/stats/base/dists/erlang/mgf]: Erlang distribution moment-generating function (MGF).
- [`pdf( x, k, lambda )`][@stdlib/stats/base/dists/erlang/pdf]: Erlang distribution probability density function (PDF).
- [`quantile( p, k, lambda )`][@stdlib/stats/base/dists/erlang/quantile]: Erlang distribution quantile function.
The namespace contains the following functions for calculating distribution properties:
- [`entropy( k, lambda )`][@stdlib/stats/base/dists/erlang/entropy]: Erlang distribution differential entropy.
- [`kurtosis( k, lambda )`][@stdlib/stats/base/dists/erlang/kurtosis]: Erlang distribution excess kurtosis.
- [`mean( k, lambda )`][@stdlib/stats/base/dists/erlang/mean]: Erlang distribution expected value.
- [`mode( k, lambda )`][@stdlib/stats/base/dists/erlang/mode]: Erlang distribution mode.
- [`skewness( k, lambda )`][@stdlib/stats/base/dists/erlang/skewness]: Erlang distribution skewness.
- [`stdev( k, lambda )`][@stdlib/stats/base/dists/erlang/stdev]: Erlang distribution standard deviation.
- [`variance( k, lambda )`][@stdlib/stats/base/dists/erlang/variance]: Erlang distribution variance.
The namespace contains a constructor function for creating an [Erlang][erlang-distribution] distribution object.
- [`Erlang( [k, lambda] )`][@stdlib/stats/base/dists/erlang/ctor]: Erlang distribution constructor.
```javascript
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
```