Definition · Discrete variables
Waiting for the rth success
Definition from the chapter Random variables and discrete distributions of Statistics and probability, with the exercises in which it is used.
Waiting for the rth success
A die is rolled until two s have come up. The second comes on the fourth roll when the first three rolls contain exactly one , in one of positions, and the fourth roll is a ; the probability is .
In general, let be the number of the trial on which the th success occurs, with fixed. Under the same conditions as for the geometric distribution, has a negative binomial distribution. For ,
There must be exactly successes in the first trials, and the last trial must succeed.
The number of trials is the sum of waiting times: the trials up to the first success, then those from the first to the second success, and so on. The trials are independent and have the same probability , so each waiting time is geometric with parameter and mean . By linearity of expectation, ; for two s with a die, rolls are needed on average. When , this reduces to the geometric distribution.
Read it in the chapter Random variables and discrete distributions →
Exercises where this definition is used
Worked examples
Practice exercises
All the definitions and theorems of Statistics and probability → · All the theorems on the site →