## Usage
```javascript
var geometric = require( '@stdlib/stats/base/dists/geometric' );
```
#### geometric
Geometric distribution.
```javascript
var dist = geometric;
// returns {...}
```
The namespace contains the following distribution functions:
- [`cdf( x, p )`][@stdlib/stats/base/dists/geometric/cdf]: geometric distribution cumulative distribution function.
- [`logcdf( x, p )`][@stdlib/stats/base/dists/geometric/logcdf]: geometric distribution logarithm of cumulative distribution function.
- [`logpmf( x, p )`][@stdlib/stats/base/dists/geometric/logpmf]: geometric distribution logarithm of probability mass function (PMF).
- [`mgf( t, p )`][@stdlib/stats/base/dists/geometric/mgf]: geometric distribution moment-generating function (MGF).
- [`pmf( x, p )`][@stdlib/stats/base/dists/geometric/pmf]: geometric distribution probability mass function (PMF).
- [`quantile( r, p )`][@stdlib/stats/base/dists/geometric/quantile]: geometric distribution quantile function.
The namespace contains the following functions for calculating distribution properties:
- [`entropy( p )`][@stdlib/stats/base/dists/geometric/entropy]: geometric distribution entropy.
- [`kurtosis( p )`][@stdlib/stats/base/dists/geometric/kurtosis]: geometric distribution excess kurtosis.
- [`mean( p )`][@stdlib/stats/base/dists/geometric/mean]: geometric distribution expected value.
- [`median( p )`][@stdlib/stats/base/dists/geometric/median]: geometric distribution median.
- [`mode( p )`][@stdlib/stats/base/dists/geometric/mode]: geometric distribution mode.
- [`skewness( p )`][@stdlib/stats/base/dists/geometric/skewness]: geometric distribution skewness.
- [`stdev( p )`][@stdlib/stats/base/dists/geometric/stdev]: geometric distribution standard deviation.
- [`variance( p )`][@stdlib/stats/base/dists/geometric/variance]: geometric distribution variance.
The namespace contains a constructor function for creating a [geometric][geometric-distribution] distribution object.
- [`Geometric( [p] )`][@stdlib/stats/base/dists/geometric/ctor]: geometric distribution constructor.
```javascript
var Geometric = require( '@stdlib/stats/base/dists/geometric' ).Geometric;
var dist = new Geometric( 0.2 );
var y = dist.logpmf( 3.0 );
// returns ~-2.279
y = dist.logpmf( 2.3 );
// returns -Infinity
```