hi i am trying to find a question about calculating the expected value of a card game. The overall game should be like this:
(1) you have 7 cards with number 1- 7 printed on each , and they are all faced down, listed one by one on a table in front you.
(2) you get to pick 1 card, and you get paid 1 dollar if the card you picked has 1 on it, so on and so forth.
(3) how much is the game worth of? (This I think should be 4)
(4) Then I think the question goes along the lines of "if you are not happy with the first card, you can put it aside, and continue to pick a second card, the second card will decide how much you get paid eventually"
I remember the solution was to first calculate E(R) without the option, which is 4.
Then you calculate the E(R) with option using 5 x some probability +6 x some p +7 x some p, you get some value and then you multiply that value with a p + 4 x p. sorry if this is very confusing, I have spent large effort in finding out that question but it's been very hard given I only remember part of the solution. Thank you!
Suppose your rule is to take a second card if the score on the first is below 4 (with probability $3/7).$ Then:
The only way to get a final score of $1$ is to get
1on the second draw. So $P(S = 1) = (3/7)(2/3)(1/6) = 2/42 = 1/21.$ Similarly, $P(S =k) = 1/21,$ for $k = 1,2,3.$ [The factor $2/3$ is because one of the cards1,2,3is known to be missing.]The remaining equally likely probabilities for scores $4,5,6,7$ must add to $1 - 3(1/21) = 6/7.$ Thus $P(S = k) = 3/14,$ for $k = 4,5,6,7.$
It follows that $E(S) = 5, SD(S) = 1.633.$
.
These results can be simulated in R as follows:
The distribution of the scores has approximate probabilities, agreeing with the theoretical computation.
A look at cards and scores for the last six of a million plays of the game illustrates the procedure used in the simulation.
Tf you decide to draw a second card when the first card is
4or below, then $E(S) is unchanged, but the variability is a little larger. This is shown in the following slightly modified simulation. I will let you figure out the theoretical distribution.Finally, from the Question we have "if you are not happy with the first card, you can put it aside, and continue to pick a second card, the second card will decide how much you get paid eventually."
My interpretation is that you lose 'rights' to the first card, if you choose to try a second card. There were some Comments about the maximum of the two cards, which I am not sure are relevant to this problem. The score could be considerably larger on average if you were allowed to choose the maximum of the two cards (in which case you should always take a second card). Here is a brief simulation of a score based on the maximum.