FUNCTION REFERENCE

prob.GeometricDistribution

Geometric probability distribution object returned by makedist('Geometric', ...).

Geometric probability distribution object returned by makedist('Geometric', ...).

Syntax

pd = makedist('Geometric', 'p', p)

Stores success probability p for the number of failures before the first success. Supports pdf, cdf, icdf, random, mean, std, var, median, paramci and negloglik.

Example

pd = makedist('Geometric', 'p', 0.25); class(pd)   % 'prob.GeometricDistribution'

Differences from MATLAB: Truncation via truncate() is not supported yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.