















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
















Prof. Joe Blitzstein (Department of Statistics, Harvard University)
(a) Find the unconditional probability that the strategy of always switching succeeds (unconditional in the sense that we do not condition on which of Doors 2,3 Monty opens).
(b) Find the probability that the strategy of always switching succeeds, given that Monty opens Door 2.
(c) Find the probability that the strategy of always switching succeeds, given that Monty opens Door 3.
(a) If X and Y are independent and Y and Z are independent, then X and Z are independent.
(b) If X and Y are independent, then they are conditionally independent given Z.
(c) If X and Y are conditionally independent given Z, then they are indepen- dent.
(d) If X and Y have the same distribution given Z, i.e., for all a and z, we have P (X = a|Z = z) = P (Y = a|Z = z), then X and Y have the same distribution.
(b) Is it possible to have events A, B, E such that P (A|B, E) < P (A|B c^ , E) and P (A|B, E c^ ) < P (A|B c^ , E c^ ), yet P (A|B) > P (A|B c^ )? That is, given that E is true, learning B is evidence against A, and similarly given that E is false; but given no information about E, learning that B is true is evidence in favor of A. Show this is impossible (with a short proof) or find a counterexample (with a “story” interpreting A, B, E).
Lisa: Dad, I think he’s an ivory dealer! His boots are ivory, his hat is ivory, and I’m pretty sure that check is ivory. Homer: Lisa, a guy who’s got lots of ivory is less likely to hurt Stampy than a guy whose ivory supplies are low.
Here Homer and Lisa are debating the question of whether or not the man (named Blackheart) is likely to hurt Stampy the Elephant if they sell Stampy to him. They clearly disagree about how to use their observations about Black- heart to learn about the probability (conditional on the evidence) that Black- heart will hurt Stampy.
(a) Define clear notation for the various events of interest here.
(b) Express Lisa’s and Homer’s arguments (Lisa’s is partly implicit) as condi- tional probability statements in terms of your notation from (a).
(c) Assume it is true that someone who has a lot of a commodity will have less desire to acquire more of the commodity. Explain what is wrong with Homer’s
Prof. Joe Blitzstein (Department of Statistics, Harvard University)
(a) Find the unconditional probability that the strategy of always switching succeeds (unconditional in the sense that we do not condition on which of Doors 2,3 Monty opens).
Let C (^) j be the event that the car is hidden behind door j and let W be the event that we win using the switching strategy. Using the law of total probability, we can find the unconditional probability of winning in the same way as in class:
P (W ) = P (W |C 1 )P (C 1 ) + P (W |C 2 )P (C 2 ) + P (W |C 3 )P (C 3 ) = 0 · 1 /3 + 1 · 1 /3 + 1 · 1 /3 = 2/ 3.
(b) Find the probability that the strategy of always switching succeeds, given that Monty opens Door 2.
A tree method works well here (delete the paths which are no longer relevant after the conditioning, and reweight the remaining values by dividing by their sum), or we can use Bayes’ rule and the law of total probability (as below).
Let Di be the event that Monty opens Door i. Note that we are looking for P (W |D 2 ), which is the same as P (C 3 |D 2 ) as we first choose Door 1 and then switch to Door 3. By Bayes’ rule and the law of total probability,
p · 1 /3 + 0 · 1 /3 + 1 · 1 / 3
=
1 + p
(c) Find the probability that the strategy of always switching succeeds, given that Monty opens Door 3.
The structure of the problem is the same as part (b) (except for the condition that p 1 /2, which was no needed above). Imagine repainting doors 2 and 3, reversing which is called which. By part (b) with 1 p in place of p, P (C 2 |D 3 ) = (^) 1+(1^1 p) = (^2) ^1 p.
(a) If X and Y are independent and Y and Z are independent, then X and Z are independent.
False: for a simple example, take X = Z.
(b) If X and Y are independent, then they are conditionally independent given Z.
False: this was discussed in class (the fire-popcorn example) in terms of events, for which we can let X, Y, Z be indicators.
(c) If X and Y are conditionally independent given Z, then they are indepen- dent.
False: this was discussed in class in terms of events (the chess opponent of unknown strength example); a coin with a random bias (as on HW 2) is another simple, useful example to keep in mind.
Is it possible that Dr. Hibbert is better than Dr. Nick at both heart transplants and bandaid removals, yet Dr. Nick has a higher success rate overall? Yes, this can happen if Dr. Nick performs mostly bandaid removals and Dr. Hibbert performs mostly heart transplants. That is, the better doctor may perform relatively more of the harder surgery, resulting in a lower success rate. To make up specific numbers, suppose that Dr. Hibbert performed 90 heart transplants, with 70 successful, and 10 bandaid removals, with all 10 success- ful. Dr. Nick performed 10 heart transplants, with 2 successful, and 90 bandaid removals, with 81 successful. Formally, our probability space consists of ran- domly choosing one of the 200 surgeries, uniformly. Note that each individual surgery is more likely to be successful given that it’s performed by Dr. Hibbert, but Dr. Hibbert’s overall success rate (80%) is lower than Dr. Nick’s (83%). There are many real-life examples of Simpson’s Paradox. For example, it is possible for one baseball player to have a higher batting average than another in each of two seasons, yet a lower batting average when the two seasons are aggregated. Simpson’s Paradox illustrates the importance of controlling for additional variables that interfere with the analysis (known as confounders).
Lisa: Dad, I think he’s an ivory dealer! His boots are ivory, his hat is ivory, and I’m pretty sure that check is ivory. Homer: Lisa, a guy who’s got lots of ivory is less likely to hurt Stampy than a guy whose ivory supplies are low.
Here Homer and Lisa are debating the question of whether or not the man (named Blackheart) is likely to hurt Stampy the Elephant if they sell Stampy to him. They clearly disagree about how to use their observations about Black- heart to learn about the probability (conditional on the evidence) that Black- heart will hurt Stampy.
(a) Define clear notation for the various events of interest here.
Let H be the event that the man will hurt Stampy, let L be the event that a man has lots of ivory, and let D be the event that the man is an ivory dealer.
(b) Express Lisa’s and Homer’s arguments (Lisa’s is partly implicit) as condi- tional probability statements in terms of your notation from (a).
Lisa observes that L is true. She suggests (reasonably) that this evidence makes D more likely, i.e., P (D|L) > P (D). Implicitly, she suggests that this makes it likely that the man will hurt Stampy, i.e.,
P (H|L) > P (H|L c^ ).
Homer argues that P (H|L) < P (H|L c^ ).
(c) Assume it is true that someone who has a lot of a commodity will have less desire to acquire more of the commodity. Explain what is wrong with Homer’s reasoning that the evidence about Blackheart makes it less likely that he will harm Stampy.
Homer does not realize that observing that Blackheart has so much ivory makes it much more likely that Blackheart is an ivory dealer, which in turn makes it more likely that the man will hurt Stampy. (This is an example of Simpson’s Paradox.) It may be true that, controlling for whether or not Blackheart is a dealer, having high ivory supplies makes it less likely that he will harm Stampy: P (H|L, D) < P (H|L c^ , D) and P (H|L, D c^ ) < P (H|L c^ , D c^ ). However, this does not imply that P (H|L) < P (H|L c^ ).
This problem is a special case of the gambler’s ruin. Let A 1 be the event that he is successful on the first play and let W be the event that he is ever ahead by $2 before being ruined. Then by the law of total probability, we have
P (W ) = P (W |A 1 )P (A 1 ) + P (W |Ac 1 )P (A c 1 ).
Let a (^) i be the probability that the gambler achieves a profit of $2 before being ruined, starting with a fortune of $i. For our setup, P (W ) = ai , P (W |A 1 ) = a (^) i+1 and P (W |Ac 1 ) = a (^) i 1. Therefore,
a (^) i = ai+1 /3 + 2a (^) i 1 / 3 ,
The PMF of the Bin(n, p) distribution is
P (X = k) =
n k
p k^ (1 p) n k^ ,
and therefore
p 4 q 3 +
p 5 q 2 +
p 6 q + p 7 ,
which looks di↵erent from the above but is actually identical as a function of p (as can be verified by simplifying both expressions as polynomials in p).
(b) Give a clear intuitive explanation of whether the answer to (a) depends on whether the teams always play 7 games (and whoever wins the majority wins the series), or the teams stop playing more games as soon as one team has won 4 games (as is actually the case in practice: once the match is decided, the two teams do not keep playing more games).
The answer to (a) does not depend on whether the teams play all seven games no matter what. Imagine telling the players to continue playing the games even after the match has been decided, just for fun: the outcome of the match won’t be a↵ected by this, and this also means that the probability that A wins the match won’t be a↵ected by assuming that the teams always play 7 games!
a 1 ,... , a (^) n 2 { 0 , 1 } with a 1 + · · · + a (^) n = k,
P (X 1 = a 1 ,... , X (^) n = a (^) n |X = k) =
P (X 1 = a 1 ,... , X (^) n = a (^) n , X = k) P (X = k)
=
P (X 1 = a 1 ,... , X (^) n = a (^) n ) P (X = k)
=
p k^ q n k (^) n k
p k^ q n k
=