Topics: Probability - Distribution Function
(definition)
Let be a discrete random variable that handles the repetition of a Bernoulli trial until success is achieved. Let be the probability of success.
More specifically, let handle the number of failures before the first success (i.e. ).
For such an , we say that it has a geometric distribution and write .
Shifted Geometric Distribution
When handles the number of trials needed to get one success (i.e. ), we say that it has a shifted geometric distribution. See this note for more details on that distribution.
Both of these distributions are commonly simply called geometric, with no other differentiating term. Which of these two distributions is being talked about is a matter of context and/or convention.
There is a convention to refer to the one that counts the trials as the shifted geometric distribution, and that’s what I use in all of my notes.
Density Function
(theorem)
Such an has the following density function:
Expected Value
(theorem)
When it comes to the expected value of such an , it is:
Variance
(theorem)
As for the variance of such an :
Moment-Generating Function
(theorem)
Finally, such an has the following moment-generating function: