wilrich said:
I think it's about time we had one of our semi-regular threads about probability, so here goes . . .
I need some assistance from our math experts, please. Is there a formula for establishing the probability of suceeding at an oppossed d20 roll if you know the bonus of each person rolling? For example, if PC A attempts to sneak past NPC B and PC A has a move silently bonus of +10 and NPC B has a listen bonus of +5, I'm assumming that there is a (relatively) simple formula whereby one could determine the likelihood of A's success -- I just don't know enough about math to know and/or devise it. If it affects the formula, assume that all ties indicate failure.
Thanks in advance for your help!
Alright. Here's the answer (modified for a dice game instead of a card game) I gave on my Thermostatistics final exam six years ago...
First, neither player's dice roll is dependant on the result of the other. This means that both players have equal probabilities of rolling any specific number one through twenty on the dice. Therefore the probability for success is based solely on the difference of the bonuses added to the dice rolls.
The mean roll for both players is 10.5. Since the base probability distribution for both players is identical, each player has a base 50% chance of beating the other (ignoring ties, for now).
Now a difference of +20 (1+20=21, better than 20) between the two players guarantees success for the primary roller, and a difference -20 (20-20=0, worse than 1) guarantees failure. So each +1 bonus (or -1 penalty) accounts for 2.5% of the overall probability.
The equation to determine the probability of the winner would look something like:
50% + ([Player A modifiers] - [Player B modifiers]) * 2.5% = Probability of Player A Success.
So using your example above,
50% + (+10 - +5) * 2.5% =
50% + (5) * 2.5% =
50% + 12.5% =
62.5% chance of success.
Now, ties get a little tricky.
Let's look at it another way...
Say both players have a bonus of +0, and one rolls a very average roll of 10 (you can't roll 10.5, so we'll round down, as is proper for D&D etiquette). The other player has 50% chance of rolling higher than 10 (success!), a 45% chance of rolling lower than 10 (failure!), and a 5% chance of rolling exactly 10 (tie!). Whoever is the beneficiary of a tie gains the extra 5% bonus to his chance of success.
What makes ties so tricky isn't so much the calculation, but that whoever gains that 5% bonus can be contingent on any number of parameters.