Problem A: You are dealt five cards from a standard deck. Are you more likely to be dealt two pairs or three of a kind?
experiment: choose 5 cards at random from a standard deck Ω = {5-combinations of 52 cards} m(ω) = ( 1 for all ω Ω 52 5 )
E = {outcomes in Ω with three of a kind} P(E) = ω E m(ω) =(number of outcomes in E) 1 ( 52 5 )
Task: Create a hand with three of a kind. Stage 1: Choose the denomination (A, 2, 3, 4, 5, 6, 7, 8, 9, 10, J, Q, or K) for the three of a kind. Stage 2: Choose 3 cards from the selected denomination. Stage 3: Choose the denominations for the remaining 2 cards. Stage 4. Choose one card from the smaller denomination. Stage 5. Choose one card from the larger denomination. n 1 = 13, n 2 = ( ) 4 3, n3 = ( ) 12 2, n4 = 4, n 5 = 4
The number of ways to complete the task is: N = 13 ( 4 3) ( 12 2 ) 4 4 = 54, 912. The number of outcomes in E is the number N of ways to complete the task. P(E) = N ( 1 52 12) = 54,912 2,598,960 0.0211 2.11% chance
F = {outcomes in Ω with two pairs} P(F) = ω F m(ω) =(number of outcomes in F) 1 ( 52 5 )
Task: Create a hand with two pairs. Stage 1: Choose two denominations (A, 2, 3, 4, 5, 6, 7, 8, 9, 10, J, Q, or K) for the pairs. Stage 2: Choose 2 cards from the smaller denomination. Stage 3: Choose 2 cards from the larger denomination. Stage 4. Choose one card with a denomination different from those selected for the pairs. n 1 = ( ) 13 2, n2 = ( ) 4 2, n3 = ( 4 2), n4 = 44
The number of ways to complete the task is: N = ( 13 2 ) ( 4 2) ( 4 2) 44 = 123, 552. The number of outcomes in F is the number N of ways to complete the task. P(F) = N ( 1 52 12) = 123,552 2,598,960 0.0475 4.75% chance
Your are more likely to be dealt two pairs (4.75% chance) than three of a kind (2.11% chance).
Problem B: You decide to play Roulette. Are you more likely to win at least once in 10 bets on a column or in 5 bets on red?
Sub-Problems: (1) one bet on a column (2) ten bets on a column (3) one bet on red (4) five bets on red
(1) one bet on a column experiment: spin a Roulette wheel one time Ω = {0, 00, 1, 2, 3,..., 36} E: win a bet on a column m(ω) = 1 38 for all ω Ω P(E) = ω E m(ω) = (number of outcomes in E) 1 38 = 12 38
(2) ten bets on a column Bernoulli trials process n = 10 experiment: one bet on a column success: win failure: lose p = 12 38, q = 26 38 X = number of successes
P(X 1) = 1 P(X = 0) = 1 b ( 10, 12 38, 0) = 1 ( 10 0 ) ( 12 38 1 ( ) 26 10 38 0.976 97.6% ) 0 ( 26 ) 10 38
(3) one bet on red experiment: spin a Roulette wheel one time Ω = {0, 00, 1, 2, 3,..., 36} F : win a bet on red m(ω) = 1 38 for all ω Ω P(F) = m(ω) = (number of outcomes in F) 1 38 = 18 38 ω F
(4) five bets on red Bernoulli trials process n = 5 experiment: one bet on red success: win failure: lose p = 18 38, q = 20 38 X = number of successes
P(X 1) = 1 P(X = 0) = 1 b ( 10, 18 38, 0) = 1 ( 10 0 ) ( 18 38 1 ( ) 20 10 38 0.957 95.7% ) 0 ( 20 ) 10 38
You are slightly more likely to win at least once in 10 bets on a column (97.6% chance) than you are to win at least once in 5 bets on red (95.7% chance).
Problem C: You conduct the following experiment in our class of 25 students: Everyone privately flips their own coin. If it lands heads, they answer yes to the question you give them. If it lands tails, they answer the question truthfully. The question is, Have you ever cheated on an exam in college? How many yes answers out of 25 would convince you that there are cheaters in the class?
Set this experiment up as a hypothesis test using Example 3.11 as a model. null hypothesis: there are no cheaters in the class alternative hypothesis: there are some cheaters in the class p = probability of a yes response null hypothesis: p = 1 2 alternative hypothesis: p > 1 2
n = 25 people answer the question X = number of yes responses m = critical value We reject the null hypothesis if X m, and accept it if X < m. We choose m so that P(X m) < 0.05 under the assumption that the null hypothesis is true. In other words, we give students the benefit of the doubt, and assume there are no cheaters in the class. We reject this assumption only if the evidence is strong enough.
(P m) = = = 25 k=m 25 k=m 25 k=m b ( 25, 1 2, k) ( 25 k ( 25 k ) ( 1 2 ) ( 1 2 ) k ( ) 1 (25 k) 2 ) 25
The Mathematica output below suggests we choose m = 18. 25 Table m, N Binomial 25, k 1 2 k m 25, m, 13, 25 13, 0.5, 14, 0.345019, 15, 0.212178, 16, 0.114761, 17, 0.0538761, 18, 0.0216426, 19, 0.00731665, 20, 0.00203866, 21, 0.00045526, 22, 0.0000782609, 23, 9.71556 10 6, 24, 7.7486 10 7, 25, 2.98023 10 8 18 or more yes answers would convince us there are cheaters in the class.