# Geometric Distribution

Evaluate and generate random samples from geometric distribution

Statistics and Machine Learning Toolbox™ offers multiple ways to work with the geometric distribution.

• Use distribution-specific functions with specified distribution parameters. The distribution-specific functions can accept parameters of multiple geometric distributions.

• Use generic distribution functions (`cdf`, `icdf`, `pdf`, `random`) with a specified distribution name (`'Geometric'`) and parameters.

To learn about the geometric distribution, see Geometric Distribution.

## Functions

expand all

 `cdf` Cumulative distribution function `icdf` Inverse cumulative distribution function `pdf` Probability density function `mle` Maximum likelihood estimates `random` Random numbers `randtool` Interactive random number generation
 `geocdf` Geometric cumulative distribution function `geopdf` Geometric probability density function `geoinv` Geometric inverse cumulative distribution function `geostat` Geometric mean and variance `geornd` Geometric random numbers

## Topics

Geometric Distribution

The geometric distribution models the number of failures before one success in a series of independent trials, where each trial results in either success or failure, and the probability of success in any individual trial is constant.