Main Content

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

geocdfGeometric cumulative distribution function
geopdfGeometric probability density function
geoinvGeometric inverse cumulative distribution function
geostatGeometric mean and variance
georndGeometric random numbers
cdfCumulative distribution function
icdfInverse cumulative distribution function
mleMaximum likelihood estimates
pdfProbability density function
randomRandom numbers
randtoolInteractive 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.