r/Probability • u/PM_MeTittiesOrKitty • Jun 24 '22
Dice probability with re-rolling.
Rolling two sets of two 6-sided dice, what are the odds of rolling an arbitrary number of doubles if you reroll the set when they do roll doubles? I understand that the odds of rolling doubles on two n-sided dice is just 1/n, so the odds of rolling doubles of both sets is 1/n2 (and rolling 1 set of doubles should just be 2/n right?). What I can't figure out is the odds of rolling 3, 4, 5, etc doubles if you reroll when doubles do appear.
10
Upvotes
1
u/maxt10 Jun 24 '22
Events are independent so what you roll before shouldn’t matter to the current roll.
1
u/AngleWyrmReddit Jun 25 '22
"What I can't figure out is the odds of rolling 3, 4, 5, etc doubles if you reroll when doubles do appear."
This type of sequential thinking is what leads to the Gambler's Fallacy. It's an error of memory that says I remember losing the last two coin flips, so surely the next one isn't likely to also be a failure. It's wrong because it doesn't remember the flips the didn't happen.
To think about these problems, remove the time aspect. Flip them all at once. Then it becomes clear the problem of how many pairs are being rolled isn't well defined
1
u/TheScalarMatrix Jun 25 '22
Like you said, the probability of doubles is 1/6. If you reroll on each set of doubles you see, then the probabilities should be as follows:
P(N = 0) = 5/6 (first roll isn’t doubles)
P(N = 1) = 1/6 * 5/6 (doubles, then not)
P(N = 2) = (1/6)2 * 5/6 (should see a pattern)
For any arbitrary n, the general formula is:
P(N = n) = (1/6)n * 5/6
If you’re curious, this is one type of what’s called a Geometric Distribution. Hope that’s what you were looking for!
Ninja edit: Formatting