25 Binomial and Negative Binomial Distributions
25.1 Bernoulli trials
In a sequence of Bernoulli(
- There are only two possible outcomes, “success” (1) and “failure” (0), on each trial.
- The unconditional/marginal probability of success is the same on every trial, and equal to
. - The trials are independent.
25.2 Binomial distributions
Example 25.1 In a random bit stream, the probability that any particular bit is 1 is 0.75, independently of all other bits. Let
Identify by name the distribution of
. Be sure to specify the values of relevant parameters.
Compute and interpret
.
Compute and interpret
.
- A discrete random variable
has a Binomial distribution with parameters , a nonnegative integer, and if its probability mass function is If has a Binomial( , ) distribution - If
counts the number of successes in a fixed number, , of Bernoulli( ) trials then has a Binomial( ) distribution.
Example 25.2 In each of the following situations determine whether or not
Roll a die 20 times;
is the number of times the die lands on an even number.
Roll a die 20 times;
is the number of times the die lands on 6.
Roll a die until it lands on 6;
is the total number of rolls.
Roll a die 20 times;
is the sum of the numbers rolled.
Shuffle a standard deck of 52 cards (13 hearts, 39 other cards) and deal 5 without replacement;
is the number of hearts dealt. (Hint: be careful about why.)
Roll a fair six-sided die 10 times and a fair four-sided die 10 times;
is the number of 3s rolled (out of 20).
25.3 Geometric distributions
Example 25.3 Maya is a basketball player who makes 40% of her three point field goal attempts. Suppose that she attempts three pointers until she makes one and then stops. Let
Does
have a Binomial distribution? Why or why not?
What are the possible values that
can take? Is discrete or continuous?
Compute and interpret
.
Find the probability mass function of
.
Construct a table, plot, and spinner representing the distribution of
.
Compute and interpret
without summing. (Hint: consider the first 5 trials.)
What seems like a reasonable general formula for
? Make a guess, and then compute and interpret for this example.
Would
be bigger or smaller if ? If ?
Compute and interpret
. What do you notice?
- A discrete random variable
has a Geometric distribution with parameter if its probability mass function is If has a Geometric( ) distribution - Suppose you perform Bernoulli(
) trials until a single success occurs and then stop; let be the total number of trials performed, including the success. Then has a Geometric( ) distribution. In this situation, exactly trials are performed if and only if- the first
trials are failures, and - the
th (last) trial results in success.
- the first
25.4 Negative Binomial Distributions
Example 25.4 Maya is a basketball player who makes 86% of her free throw attempts. Suppose that she attempts free throws until she makes 5 and then stops. Let
Does
have a Binomial distribution? A Geometric distribution? Why or why not?
What are the possible values of
? Is discrete or continuous?
Compute and interpret
Compute and interpret
Compute and interpret
Compute and intepret
Find the probability mass function of
.
What seems like a reasonable general formula for
? Interpret for this example.
Would the variance be larger or smaller if attempted free throws until she made 10 instead of 5?
- A discrete random variable
has a Negative Binomial distribution with parameters , a positive integer, and if its probability mass function is If has a NegativeBinomial( , ) distribution - Suppose you perform a sequence of Bernoulli(
) trials until successes occur and then stop. Let be the total number of trials performed, including the trials on which the successes occur. Then has a NegativeBinomial( , ) distribution. In this situation, exactly trials are performed if and only if- there are exactly
successes among the first trials, and - the
th (last) trial results in success.
- there are exactly
- There are
possible sequences that satisfy the above, and each of these sequences — with successes and failures — has probability .
Example 25.5 What is another name for a NegativeBinomial(1,
Example 25.6 Suppose
Example 25.7 Each box of a certain type of cereal contains one of