# 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 functions can accept parameters of multiple geometric distributions.

• Use the generic distribution functions with the specified distribution name `"Geometric"` and corresponding parameters.

To learn about the geometric distribution, see Geometric Distribution.

## Functions

expand all

 `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
 `cdf` Cumulative distribution function `icdf` Inverse cumulative distribution function `mle` Maximum likelihood estimates `pdf` Probability density function `random` Random numbers `randtool` Interactive random number generation

## 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.