Calvin and Hobbes play a match consisting of a series of games, where Calvin has probability p of winning each game (independently). They play with a "win by two" rule: the first player to win two games more than his opponent wins the match. Find the probability that Calvin wins the match (in terms of p) in two different ways:
Find the probability that Calvin wins the match (in terms of p) by conditioning, using the Law of Total Probability.
Let C be the event that Calvin wins the match. Consider the first two games. There are 4 possible outcomes, 3 of which result in Calvin not losing immediately. Therefore, we condition on each of these possibilities: Let WW represent Calvin winning both games, and WL, LW represent a win then a loss or a loss then a win respectively. Using LOTP, we get:
Find the probability that Calvin wins the match (in terms of p) by interpreting the problem as a gambler's ruin problem.
We can interpret this problem as a Gambler's Ruin where each player starts out with $2. Calvin wins if he gets to $4. Therefore, we have N=4 and i=2, so the probability of Calvin winning is:
1−pq41−pq2=p4−q4p2(p2−q2)=p2+q2p2
which is indeed the same answer as before.
Symmetry
For the following 2 questions, think about how symmetry may be used to avoid unnecessary calculations.
Suppose X and Y are i.i.d. Bin(n,p). What is P(X<Y)?
First, we note that P(X<Y)=P(Y<X) by symmetry, and that P(X<Y)+P(X=Y)+P(Y<X)=1. Hence,
Can you construct two random variables X and Y both distributed (3,21) such that P(X=Y)=0?
Yes, let Y=3−X. Then, there is no way that X and Y take on the same value because their sum would have to be 3.
Counting Cards
In the game Texas Hold'em, players combine two of their cards that are hidden to everyone else with five community cards to make the best possible five-card hand. The game is played with a standard deck of 52 cards. A flush is where all 5 cards belong to the same suit.
Suppose you are holding 2 spades in your hand, and there are 2 spades showing among the three community cards. What is the probability that you hit the flush?
Since we currently see 4 spades, there are 9 other spades that can be used. Of the 52 cards in the deck, we know what 5 of them are, so we have 47 card values that remain to be seen. To find this probability, we can use the Hyper-Geometric distribution, specifically of HGeom(9,38,2), since there are 9 desirable cards, 38 undesirable cards, and 2 cards that are being drawn. Now, we are interested in the probability that we observe either one or two spades in the two cards we draw. Or P(X=1)+P(X=2), where X is distributed as above.