02-01 - Conditional probability - algebra games
Assume that
Find these values
Solution
-
& Use the Law of Total Probability to find
. -
&& Use Bayes’ Theorem to find
. -
&& Use Bayes’ Theorem to find
. -
&& Use Bayes’ Theorem to find
.
02-02 - Conditioning relation
Suppose you know
Calculate
Solution
- && Set up conditional probability formula.
- Solve for
.
- Solve for
- & Plug in given values.
- && Set up conditional probability formula.
- Solve for
.
- Solve for
- & Plug in given values.
02-03 - Interpreting Multiplication - Fund performance
The odds of the Winning Fund outperforming the market in a random year are
What is the probability of the Winning Fund outperforming the market in
Solution
- & Define events.
- Let
be the event where the Winning Fund outperforms the first year. - Let
be the event where the Winning Fund outperforms the second year. - We are asked to compute
- Let
- && Find relevant probabilities.
. .
- & Compute
02-04 - Stolen computer
Someone in a coffee shop “promises” to watch your computer while you’re in the bathroom.
If she does watch it, the probability that it gets stolen is 10%. If she doesn’t watch it, the probability that it gets stolen is 70%. You think there’s a 90% chance she is honest enough to watch it, having promised.
When you come back from the bathroom, the computer is gone. What is the probability that she witnessed the theft?
Solution
- && Define events.
- Let
be the event that she watches it. - Let
be the event that the computer is stolen. - We are given the probabilities
, , . - We are asked to compute
.
- Let
- && Set up formula
using Bayes’ Theorem. - & Plug in values.
02-05 - Bayes’ Theorem - Inferring die from roll
A bag contains one 4-sided die, one 6-sided die, and one 12-sided die. You draw a random die from the bag, roll it, and get a 4.
What is the probability that you drew the 6-sided die?
Solution
- & Define events.
- Let
be the event in which you draw the 4-sided die, be the event in which you draw the 6-sided die, and be the event in which you draw the 12-sided die. - We are asked to compute
.
- Let
- && Define obvious probabilities.
. . . .
- && Use Bayes’ Theorem to set up the formula for
. - & Plug in values and solve.
02-06 - Bayes’ Theorem - DNA evidence
A crime is committed in a town of 100,000 citizens. After all 100,000 citizen’s DNA is analyzed, your friend Jim is found to have a DNA match to evidence at the scene. A forensics expert says that the probability of a random person matching this evidence is
Solution
- & Define events.
- Let
be the event that Jim is guilty. - Let
be the event in which the DNA matches. - We are given that
. - We know that
. - Since there are 100,000 citizens,
, . - We are asked to compute
.
- Let
- && Use Bayes’ Theorem to set up the formula for
. - & Plug in values.
02-07 - Independence puzzle
Assume
Solution
- & Use inclusion-exclusion principle.
- & Use the fact that they are mutually independent.
02-08 - Pairwise independent, and mutually independent: three coin flips
Flip a coin three times in sequence. Label events like this:
- exactly one heads among first and second flips - exactly one heads among second and third flips - exactly one heads among first and third flips
Verify that
Solution
- & Find probabilities for individual events.
.
- & Compute pairwise probabilities.
- The only way
and happen is when the second flip is heads and the first and third flip are tails, and when the first and third are heads and when the second is heads. So, . - The only way
and happen is when only the third flip is heads or when only the first and second flip are heads. So, . - The only way
and happen is when only the first flip is heads or when only the second and third flip are heads. So, .
- The only way
- & Disprove mutual independence.
, , and cannot happen simultaneously, so .
02-09 - Bin marbles
A bin contains
We draw a random marble. If it’s red, we put it back, if it’s not red, we keep it. We do this three times.
- (a) What is the probability of getting red then white then blue?
- (b) Suppose the last draw was blue. What is the probability that the first was red?
Solution (a)
- & Define events.
- We define the sample space as
. is the first ball drawn, the second, and the third. represents the event in which a red ball is drawn, represents the event in which a white ball is drawn, represents the event in which a blue ball is drawn.
- We define the sample space as
- & Compute
. (b) - & We are asked to compute
. Use Bayes’ Theorem to set up formula for . - &&& Find probabilities for all relevant combinations.
- & Plug in values.
02-10 - Counting outcomes - permutations and combinations
In a lottery, five distinct numbers are picked at random from 1, 2, 3,
- (a) If we care about the order of numbers.
- (b) If the order does not matter.
Solution (a)
- & If the order matters, then we are dealing with a permutation.
- We want
distinct numbers, so (b)
- We want
- & If the order matters, then we are dealing with a combination.
- We want
distinct numbers, so
- We want
02-11 - Wisconsin flag 2 of 3 days
A kindergarten class hangs a random state flag (50 flags) on the wall every day. What is the probability that two days out of three given days have Wisconsin’s flag?
Solution
- && Consider how the days are chosen.
- Since we just want two days out three given days, it is unordered, so we account for this with the
term.
- Since we just want two days out three given days, it is unordered, so we account for this with the
- && Consider the probability that Wisconsin’s flag is hung on the first two days, and not the third.
- The probability that Wisconsin’s flag is hung up is
, and the probability it’s any other flag is . - Therefore, the desired probability is
.
- The probability that Wisconsin’s flag is hung up is
- & Combine terms.
02-12 - Drawing balls of distinct color
A bin contains 3 green and 4 yellow balls. Two balls are drawn out.
What is the probability that they are different colors?
Solution
- & Define relevant events.
- If two balls of different colors are drawn out, then we choose one of each color.
- Since order doesn’t matter, our sample space consists of all the ways we choose 2 balls out of 7.
- && Compute probability.