by Aimless on Thu Mar 08, 2007 2:53 pm
I've thought about the problem some more, and here are the numbers for 3 and 4 card sets assuming the cards are independent events.
For 3 cards, the math is straight forward. There are 27 possible combinations of cards, 6 ways to make a mixed set, and one way each for the pure sets, so the expectation value of a three card hand is 10*6/27+(8+6+4)*1/27 = 2.888 armies.
For a 4 card set, the math is more difficult. There are 3 possible hand types which make a set : 4 cards of one color, 3 cards of one color and an unmatched card, and 2 cards of one color and one each of the others. Obviously, there are 3^4 = 81 possible combinations of cards.
Thus, for any given pure set, there are 1+4C3*2 = 9 possible hands. (One hand with 4 cards of the same color, 8 hands with three of one color and one odd card.) For a mixed set, there are 3*4C2*2 = 36 possible hands. Thus, the odds for any given pure set is 9/81 = 1/9, and for a mixed set is 36/81 = 4/9.
The expectation value of a 4 card hand is thus 10*4/9+(8+6+4)*1/9 = 6.444 armies.
[Edit:]
In light of the below, the case of a player having four cards of the same color is unlikely, since he would have had a three-card set prior to receiving his fourth card, and therefore should have cashed in. Likewise, had he made a mixed set, he would have cashed in as well. Thus, this changes the expectation value of surviving 4-card hands slightly, as the probability of a mixed set is now 3*3C2*2/54 = 1/3, and the probability of each pure set is 8/54 = 4/27.
Therefore, the new expectation value is 10*1/3+(8+6+4)*4/27 = 6 armies.
[/Edit]
On to the other problem to consider - the benefit of waiting on a mixed set versus cashing a pure set early. I'm not going to consider all the possibilities here, as that would be cumbersome. Instead, I'm just going to look at two worst-cases; a three card hand of red, and a four card hand with three red and an odd card.
Given a three card hand of red, the odds of making a mixed set with the remaining two cards is 2/3*1/3 = 2/9. Thus, there is a 7/9 possibility that you will not improve your hand. Thus, the expectation value (after 5 cards) of a hand given the first 3 cards are red is 4*7/9+10*2/9 = 5.333 armies. Thus, the opportunity cost of cashing in early is 1.333 armies. Not that much, considering the two turn wait.
Given a four card hand with three red cards, the chance of making a mixed set on the fifth card is 1/3, so the expectation value is 4*2/3+10*1/3 = 6 armies, so the opportunity cost of cashing early is 2 armies. This one is more questionable, especially since you only need to wait one extra turn.
Obviously, the opportunity costs for early cashing of green and blue sets will be lower.
However, there is a further consideration. If you do wait, and you get lucky and make the mixed set, you will be seeding your hand with two matched cards to begin with, making the likelyhood that your next set is also mixed lower. Conversely, if you do not get lucky, you will be seeding your hand at random (here, the two left-over cards are independent of condition of making a set), so you will not have improved your odds that the next set is mixed.
This event is difficult to factor into the expectation values, however, since it depends on the discount rate of the value of armies in future turns. In any case, the effect is purely negative, thus ultimately decreasing the opportunity cost of cashing in a pure set early.