## Usage
```javascript
var binomial = require( '@stdlib/stats/base/dists/binomial' );
```
#### binomial
Binomial distribution.
```javascript
var dist = binomial;
// returns {...}
```
The namespace contains the following distribution functions:
- [`cdf( x, n, p )`][@stdlib/stats/base/dists/binomial/cdf]: binomial distribution cumulative distribution function.
- [`logpmf( x, n, p )`][@stdlib/stats/base/dists/binomial/logpmf]: evaluate the natural logarithm of the probability mass function (PMF) for a binomial distribution.
- [`mgf( t, n, p )`][@stdlib/stats/base/dists/binomial/mgf]: binomial distribution moment-generating function (MGF).
- [`pmf( x, n, p )`][@stdlib/stats/base/dists/binomial/pmf]: binomial distribution probability mass function (PMF).
- [`quantile( r, n, p )`][@stdlib/stats/base/dists/binomial/quantile]: binomial distribution quantile function.
The namespace contains the following functions for calculating distribution properties:
- [`entropy( n, p )`][@stdlib/stats/base/dists/binomial/entropy]: binomial distribution entropy.
- [`kurtosis( n, p )`][@stdlib/stats/base/dists/binomial/kurtosis]: binomial distribution excess kurtosis.
- [`mean( n, p )`][@stdlib/stats/base/dists/binomial/mean]: binomial distribution expected value.
- [`median( n, p )`][@stdlib/stats/base/dists/binomial/median]: binomial distribution median.
- [`mode( n, p )`][@stdlib/stats/base/dists/binomial/mode]: binomial distribution mode.
- [`skewness( n, p )`][@stdlib/stats/base/dists/binomial/skewness]: binomial distribution skewness.
- [`stdev( n, p )`][@stdlib/stats/base/dists/binomial/stdev]: binomial distribution standard deviation.
- [`variance( n, p )`][@stdlib/stats/base/dists/binomial/variance]: binomial distribution variance.
The namespace contains a constructor function for creating a [binomial][binomial-distribution] distribution object.
- [`Binomial( [n, p] )`][@stdlib/stats/base/dists/binomial/ctor]: binomial distribution constructor.
```javascript
var Binomial = require( '@stdlib/stats/base/dists/binomial' ).Binomial;
var dist = new Binomial( 10, 0.4 );
var mu = dist.mean;
// returns 4
```