I've recently got into playing Yahtzee with my brother. During a game we had on my first roll for my last round I got (5 4 4 2 1). I only had my large straight left, so naturally I was hopeful with what I got. I quickly thought about it, and my instinct was to roll the 4 and the 1, at a good chance for a 3. I figured better than just one chance at a 3, and if I got it, that would leave me having a good chance at a 6 or a 1 for my last roll.
My question is this, how do you calculate the over all chance of either strategies in order to choose which is better?
I used to be great with calculus, even in electrical calculations, however probabilities are really giving me a headache.
I think I got the first strategy of rolling just one die with the calculation of 1 - 1/6 = 5/6 (not happening) for each single die roll, for a sum of 25/36 (not happening) or 11/36 (happening) or 30.56% chance. yeah?
The problem I have is with the second strategy since the first roll is with two dice, but then second roll is either one or two di(c)e depending on the outcome. How do you factor that in mathematically?
An interesting question!
Strategy 1: Keep 1, 2, 4, 5
You are right: Here, you have a success rate of $$1/6 + 5/6\cdot 1/6 = 11/36 \approx 30.6\%.$$
Strategy 2: Keep 2, 4, 5
Now we have to do a case-by-case analysis, depending on the outcome of the first roll. I give an overview of the possible cases in the following table (the rows keeping track of the result of the first dice, the columns of the result of the second dice): $$\begin{array}{c|cccccc} & 1 & 2 & 3 & 4 & 5 & 6 \\\hline 1 & B & B & A & B & B & B \\ 2 & B & D & C & D & D & B \\ 3 & A & C & C & C & C & A \\ 4 & B & D & C & D & D & B \\ 5 & B & D & C & D & D & B \\ 6 & B & B & A & B & B & B\end{array}$$
Case A) You roll 3 and either 1 or 6. There are 4 possible rolls (13, 31, 36, 63), so the chance is $4/36 = 1/9$.
Case B) You roll either 1 or 6, but no 3. There are 16 possible rolls (11,12,14,15,16,21,26,41,46,51,56,61,62,64,65,66), so the chance is $16/36$. Now you have a $1/6$ chance to roll a $3$ on the second roll. Total success rate in this case: $16/36 \cdot 1/6 = 2/27$
Case C) You roll 3, but neither 1 nor 6. There are 7 possible rolls (23,32,33,34,35,43,53) which is a chance of $7/36$. On the second roll you need either 1 or 6, for which you have a chance of $1/3$. In total: $7/36 \cdot 1/3 = 7/108$.
Case D) You roll none of the numbers 1, 3 or 6. There are 9 possible rolls (22,24,25,42,44,45,52,54,55) which is a chance of $9/36$. On the second roll, you need to hit 3 as well as 1 or 6. The chance for this is 1/9 (see case A). So the total success rate is here $9/36 \cdot 1/9 = 1/36$.
Summing up the 4 single success rates, we get a total of $$1/9 + 2/27 + 7/108 + 1/36 = 5/18 \approx 27.8\%.$$
So your first strategy is slightly better than the second.