Probability & Statistics Ch.2 Section 3 Question 4
·
Mohammad-Ali Bandzar
Solutions for “Probability and Statistics: The Science of Uncertainty” (Second Edition). These are solutions I have come up with; I offer no guarantee of accuracy.
Question
Consider flipping two fair coins. Let X = 1 if the first coin is heads, and X = 0 if the first coin is tails. Let Y = 1 if the two coins show the same thing (both heads or both tails), with Y = 0 otherwise. Let , and .
a) What is the probability function of Z? b) What is the probability function of W?
Solution
(a) What is the probability function of Z?
Valid outcomes for Z = 0:
- Tails, Heads (X=0, Y=0):
Valid outcomes for Z = 1:
- Heads, Tails (X=1, Y=0):
- Tails, Tails (X=0, Y=1):
Valid outcomes for Z = 2:
- Heads, Heads (X=1, Y=1):
for all
(b) What is the probability function of W?
Valid outcomes for W = 0:
- Heads, Tails (X=1, Y=0):
- Tails, Tails (X=0, Y=1):
- Tails, Heads (X=0, Y=0):
Valid outcomes for W = 1:
- Heads, Heads (X=1, Y=1):
for all