Wize Engineering Mathematics Textbook > Common Probability Distributions

The Negative Binomial Distribution and Geometric Distribution

Counting Trials Until Successes Occur

Fix the convention first

Here, the geometric random variable X counts the trial number of the first success. Thus P(X = n) = (1-p)n-1p for n = 1,2,... . The negative binomial variable N counts the trial number of the rth success, so P(N = n) = C(n-1,r-1)pr(1-p)n-r for n at least r.

Why the combinatorial term appears

For the rth success to occur on trial n, the nth trial must be a success and the earlier n-1 trials must contain exactly r-1 successes. The binomial coefficient counts arrangements of those earlier successes. It is not an optional decoration.

Assumptions and expectations

These formulas assume independent trials with the same success probability p. Under the trial-count convention, the geometric mean is 1/p and the negative-binomial mean is r/p. A different convention counting failures instead shifts the possible values and expected values; translate before calculating.

Independent trials each succeed with probability 0.20. Let X be the trial number of the first success. What is P(X = 4)?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Trials are independent with constant success probability p. Which event is counted by P(N = 7) when N is the trial number of the third success?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A trial succeeds with probability 0.40 independently each time. What is the probability that the second success occurs on trial 4?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors