A deck of n cards numbered 1 through n is thoroughly shuffled so that all possible n! orderings can be assumed to be equally likely. Suppose you are to make n guesses sequentially, where the i th one is a guess of the card in position i. Let n denote the number of correct guesses. a. If you are not given any information about your earlier guesses, show that for any strategy, E [ N ] = 1 . b. Suppose that after each guess you are shown the card that was in the position in question. What do you think is the best strategy? Show that under this strategy, E [ N ] = 1 n + 1 n − 1 + ... + 1 ≈ ∫ 1 n 1 x d x = log n c. Suppose that you are told after each guess whether you are right or wrong. In this case, it can be shown that the strategy that maximizes E[N] is one that keeps on guessing the same card until you are told you are correct and then changes to a new card. For this strategy, show that E [ N ] = 1 + 1 2 ! + 1 3 ! + ... + 1 n ! ≈ e − 1 Hint: For all parts, express N as the sum of indicator (that is, Bernoulli) random variables.
A deck of n cards numbered 1 through n is thoroughly shuffled so that all possible n! orderings can be assumed to be equally likely. Suppose you are to make n guesses sequentially, where the i th one is a guess of the card in position i. Let n denote the number of correct guesses. a. If you are not given any information about your earlier guesses, show that for any strategy, E [ N ] = 1 . b. Suppose that after each guess you are shown the card that was in the position in question. What do you think is the best strategy? Show that under this strategy, E [ N ] = 1 n + 1 n − 1 + ... + 1 ≈ ∫ 1 n 1 x d x = log n c. Suppose that you are told after each guess whether you are right or wrong. In this case, it can be shown that the strategy that maximizes E[N] is one that keeps on guessing the same card until you are told you are correct and then changes to a new card. For this strategy, show that E [ N ] = 1 + 1 2 ! + 1 3 ! + ... + 1 n ! ≈ e − 1 Hint: For all parts, express N as the sum of indicator (that is, Bernoulli) random variables.
Solution Summary: The author shows the expected value of N for any strategy.
A deck of n cards numbered 1 through n is thoroughly shuffled so that all possible n! orderings can be assumed to be equally likely. Suppose you are to make n guesses sequentially, where the ith one is a guess of the card in position i. Let n denote the number of correct guesses.
a. If you are not given any information about your earlier guesses, show that for any strategy,
E
[
N
]
=
1
.
b. Suppose that after each guess you are shown the card that was in the position in question. What do you think is the best strategy? Show that under this strategy,
E
[
N
]
=
1
n
+
1
n
−
1
+
...
+
1
≈
∫
1
n
1
x
d
x
=
log
n
c. Suppose that you are told after each guess whether you are right or wrong. In this case, it can be shown that the strategy that maximizes E[N] is one that keeps on guessing the same card until you are told you are correct and then changes to a new card. For this strategy, show that
E
[
N
]
=
1
+
1
2
!
+
1
3
!
+
...
+
1
n
!
≈
e
−
1
Hint: For all parts, express
N as the sum of indicator (that is, Bernoulli) random variables.
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, probability and related others by exploring similar questions and additional content below.
Discrete Distributions: Binomial, Poisson and Hypergeometric | Statistics for Data Science; Author: Dr. Bharatendra Rai;https://www.youtube.com/watch?v=lHhyy4JMigg;License: Standard Youtube License