According to wikipedia, the geometric distribution is the probability distribution which describes the number of Bernoulli trials required to obtain a single success.

So, in the simple case of a fair coin (p = 1/2):

According to mathworld, the geometric distribution is the only discrete

*memoryless*random distribution, and is a discrete analog of the exponential distribution.

The memoryless property can be seen easily if we take the geometric series:

If we have already obtained a failure on the first trial, then we remove the first term (corresponding to success on the first trial) and then normalize by dividing by the sum of all remaining terms (1 - 1/2):

The normalization is needed because we require the sum of all the terms to add up to 1 for a proper probability distribution. In general, for process with probability of success p and failure q = 1 - p:

According to wikipedia, the mean is 1/p and the variance is q/p

^{2}. We can compare that to the exponential distribution with a pdf of:

and mean = 1/λ and variance = 1/λ

^{2}.

It is not clear to me at present why the expressions for the variance don't match up.

R code:

## No comments:

Post a Comment