Bernoulli Process
04-02 - PMF and CDF: number of heads in five flips
Let
Write complete formulas (using cases) for the PMF and CDF.
Solution
- & Identify distribution.
- We have that
, since there are trials and .
- We have that
- && Use binomial distribution formula to get PMF.
- & Find CDF.
- Since
, we have
- Since
- & Write out explicit values of CDF.
04-03 - Rolling until a six
A fair die is rolled until a six comes up.
What are the odds that it takes at least 10 rolls? Use a geometric random variable.
Solution
-
& Define random variables.
- Let
. - We wish to find
. - For all
, , the first trials result in failure, and the trial is a success.
- Let
-
&& Compute probability.
- Note that the summation is simplified using the formula for a geometric series.
- Note that the summation is simplified using the formula for a geometric series.
04-04 - Intersection accidents
Suppose that the odds of an accident occurring on any given day at the intersection of Ivy and Emmett is 0.05.
What are the odds of the first accident occurring after day 4 and by day 10?
(You have calculated the answer before. This time, rework the problem in terms of an appropriate distribution type.)
Solution
- & Define random variables.
- Let
. - We wish to find
.
- Let
- & Compute
using the formula for a geometric distribution.
04-05 - Components of a car
A very strange car with
For what values of
(Start by defining a random variable that counts the number of working components.)
Solution
- & Define random variables.
- Let
represent the car with three components. - Let
represent the car with five components.
- Let
- && Find probabilities that both cars work.
- For the three-component car, we want
, so - For the five-component car, we want
, so
- For the three-component car, we want
- && Find when
.- Solve the inequality for
.
- Solve the inequality for
04-06 - Geometric distribution is memoryless
Suppose that
Derive this equation:
Solution
- & Set up conditional probability formula.
- && Find formulas for numerator and denominator.
- & Plug in values into initial formula
04-07 - Binomial ratios
Suppose
- Find the value of
that maximizes . Do this by studying the successive ratios . - Use these ratios to compute
as a sum of 5 terms without using factorials. Do this by computing directly, and then writing a recursive algorithm that determines in terms of .
Solution
- & Find formula for ratio
. - && Interpret ratio.
- We want
, so . - Solving for
, we get . - Since
is an integer, the is maximized when .
- We want
- & Compute
directly.- Based on the figure,
and .
- Based on the figure,
- & Use ratio to solve for successive terms.
- & Add up probabilities.
04-08 - Prize on the Mall
A booth on the Mall is running a secret prize game, in which the
Passersby wear hats independently of each other and with probability 20
Let
- (a) What is the name of the distribution of
? What are the parameters? - (b) What is the probability that the
passerby wins the prize? - (c) What is the probability that at least 7 passersby are needed before a winner is found?
Solution (a)
- & Identify the distribution.
follows a negative binomial distribution with parameters and .
(b)
- & Compute
.
(c)
- & Compute
.- We know that the minimum number of passersby before a winner is declared is
. - Therefore,
.
- We know that the minimum number of passersby before a winner is declared is
Expectation and variance
04-09 - Students and buses expect different crowding.
Bus One has
- Let
measure the number of students on a given random student’s bus. - Let
measure the number of students on a given random driver’s bus.
Compute
Solution
- && Compute
.- There are
total students. - Let
be the probability that Bus is selected, where . - Note that
.
- There are
- && Compute
.- Let
be the probability that Bus is selected. - Since it’s based off the drivers,
for all .
- Let
- & Interpret solution.
, because the probability that bus was selected in both scenarios varied.
04-10 - Insurance expected payout
A car insurance analytics team estimates that the cost of repairs per accident is uniformly distributed between
How much is the expected payout per accident?
Solution
- && Find PDF of
.- If
, insurance covers 0$. - If
, then the insurance covers dollars.
- If
- & Integrate to find
.- Since the cost of repairs in uniformly distributed, we have
, .
- Since the cost of repairs in uniformly distributed, we have
04-11 - Expectation, variance of geometric variable
Derive formulas for
Solution
- && State the pmf of a geometric random variable.
- && Use formula for expectation to find
. - &&& Apply hint.
- We have that
. - Differentiating both sides yields
. - Note that here,
, so
- We have that
- && Find expression
, and note that .- Applying the hint, we have
. - Using the linearity of expectation, we can write this as
.
- Applying the hint, we have
- &&& Find
and- First, note that the second derivative of
is . - Thus,
.
- First, note that the second derivative of
- & Find
.