Navigation

Operators and Keywords

Function List:

C++ API

: geopdf (x, p)

For each element of x, compute the probability density function (PDF) at x of the geometric distribution with parameter p.

The geometric distribution models the number of failures (x-1) of a Bernoulli trial with probability p before the first success (x).

Package: octave