Difference between revisions of "Geometric distribution"
Jump to navigation
Jump to search
(probability generating function) |
|||
| Line 18: | Line 18: | ||
<math>Var(X) = \frac{1-p}{p^2}</math>. | <math>Var(X) = \frac{1-p}{p^2}</math>. | ||
| + | |||
| + | == Probability-generating function == | ||
| + | The [[probability-generating function]] <math>G_X(z)</math> is: | ||
| + | |||
| + | <math>G_X(z) = \frac{z\,p}{1-z(1-p)}</math>. | ||
Revision as of 11:46, August 7, 2010
The geometric distribution is a discrete distribution which describes the number of repetitions of a Bernoulli experiment to get a success. Therefore its support are the positive integers, {1,2,3,…}
Alternative definition
Some authors describe the geometric distribution as the number of repetitions until the first success, its support being the non-negative integers {0,1,2,…}
Mean and Variance
The mean for a random variable X following a geometric distribution with a probability of success p (and q = 1 - p) is
The variance can be calculated similarly:
.
Probability-generating function
The probability-generating function is:
.