Trials until first success (probability p)
The geometric distribution models the number of trials needed to get the first success in repeated independent trials. The probability mass function is . The expected value is and the variance is . Common applications include counting coin flips until the first heads, attempts until the first sale is made, or trials until equipment failure occurs.
CDF for waiting time until first success
| Aspect | Formula or statement | Note or example |
|---|---|---|
| ParameterThe single number that fixes the distribution, as the parameters section explains. | , the success probability per trial | independent Bernoulli trials with constant |
| SupportThe trial numbers on which the first success can land, set out with the PMF and its support. | is the trial on which the first success occurs | |
| PMFThe probability that the first success comes on trial , from the PMF section. | failures, then a success; strictly decreasing in | |
| CDFThe probability of a first success within trials, derived in the CDF section. | complement of "all first trials fail" | |
| Expected valueThe average number of trials up to and including the first success, from the expected value section. | rolling for a 6: , so trials on average | |
| VarianceHow widely the waiting time spreads, worked out in variance and standard deviation. | ; | grows rapidly as : rare successes are highly variable |
| Mode and medianThe most likely trial and the trial by which half the probability is used up, found in mode and median. | always; | the PMF is strictly decreasing, so trial is always the most likely |
| Memoryless propertyFailures so far do not change the wait still ahead, as the experiment behind the distribution shows. | the only discrete distribution with this property | |
| RelationWaiting for one success is waiting for the first of successes with , as the key terms note. | the geometric is the special case of the negative binomial | |
| Canonical exampleThe die-rolling wait the page works through; variance and standard deviation finishes its numbers. | rolling a die until the first 6: | , , |