Help - Search - Members - Calendar
Full Version: SR and Odds
Dumpshock Forums > Discussion > Shadowrun
lorechaser
Usually, I'm good at math. But for some reason, probability is my bane.

I've now gained an intuitive understanding of the odds of success (aka rolling 3 dice <> 100% success).

But the odds of a critical glitch are still beyond me.

A glitch is easy enough - it's simply the odds of 1/2 the pool equaling 1.

But a critical glitch? That's more complex.

How do you calculate that?

To me, you take the odds of getting no successes, and multiply that by the odds of getting 1/2 the pool as 1s. But I've learned that what my gut tells me is rarely correct when it comes to probability.

Eben McKay
Probability is messy and a real PITA. Here is a link to a Wikipedia article on the math involved in calculating probabilities.
Eben McKay
Okay, so I was bored at work and playing with Excel.

Here's what I figured out the chances of a critical glitch to be.

First I had to make a set of results where all the dice failed (2/3 chance per die).

CODE

To get all failures:
N Chance
01 66.6667%
02 44.4444%
03 29.6296%
04 19.7531%
05 13.1687%
06 8.7791%
07 5.8528%
08 3.9018%
09 2.6012%
10 1.7342%
11 1.1561%
12 0.7707%
13 0.5138%
14 0.3425%


Then I had to make a subset of results where half or more of the dice in that set of failures came up ones (1/4 chance per die).

CODE

To get half or more ones:
N Chance
01 25.0000%
02 43.7500%
03 15.6250%
04 26.1719%
05 10.3516%
06 16.9434%
07 7.0557%
08 11.3815%
09 4.8927%
10 7.8127%
11 3.4328%
12 5.4402%
13 2.4290%
14 3.8271%


Then I combined the sets by multiplying them together.

CODE

Critical glitch:
N Chance
01 16.6667%
02 19.4444%
03 4.6296%
04 5.1698%
05 1.3632%
06 1.4875%
07 0.4130%
08 0.4441%
09 0.1273%
10 0.1355%
11 0.0397%
12 0.0419%
13 0.0125%
14 0.0131%


God my head hurts. I'm not claiming it's right, but I think I'm close. Could someone check my work?
Serbitar
http://www.serbitar.de/stuff/probabilities.xls
Eben McKay
QUOTE (Serbitar)
http://www.serbitar.de/stuff/probabilities.xls

eek.gif Dammit Serbitar, stop doing things before everyone else, and doing them prettier!

Double checked my numbers, and now I'm pretty confident that they're right.
jervinator
It's Serbitar. What do you expect?
hyzmarca
For those who actually want to understand the math I'll explain. It requires a heck of a lot of summation at certain levels (which is just serial addition but can get problematic due the the sheer volume).

Okay, first of all you need to find the number of possibile combinations of dice. This is always 6^n where n is the number of dice in your pool.
So, if you had 6 dice in your pool the number of possible combinations is 6^6 or 6*6*6*6*6*6 which equals 46656.

6^n is an important number and will be required for calculating all probabilities.


Now, the probability of any single result is equal to the number of combinations that give the desired result divided by the number of possible results, with appropriate adjustments for weighting. Ideal, dice should not favor any particular result and these equations are for the ideal situations, so we can ignore weighting.

So, the probability of a Critical Glitch with a single die is 1/6 and the probability of a standard Glitch with a single die is 0. This is because are only six possible combinations, only one of which results in a critical glitch (1) and it is impossible to have a hit if one also has a 1 inthis case.

Now, calculating the probability for a glitch or a critical clitch with two dice is also easy.
6^2 = 36

There are 11 combinations that result in a glitch. (1,1) (1,2) (1,3) (1,4) (1,5) (1,6) (2,1) (3,1) (4,1) (5,1) (6,1) Of those only 7 result in a critical glitch.

So with 2 dice the probability of a standard glitch is 4/36 and of a critical glitch is 7/36.

How 3 dice is where is becomes difficult. there are 6^3 or 216 possible combinations, so just counting is going to be tedious. Instead, we're going to have to use a formula.

The is 1 possible combination that has three 1s so well start with that.
Then there are 3*5 possible combinations that have two 1s; (since the die that isn't a 1 can have as many as five possible values)

So there are 1+3*5 = 16 possible combinations of 3 dice that result in a glitch. Of these, 2*3 are not critical. So, there is a 10/216 probability of a critical glitch and a 6/216 probability of a standard glitch.

6^4 = 1296
With 4 dice, you have 1 combination that gives 4 ones. You have 4 combinations that give 4 ones (111x) (x111) (1x11) (11x1). You have 6 combinations that give 2 ones (11xx) (1x1x) (1xx1) (x11x) (x1x1) (xx11).

Now, in the case of 2 ones, you have 5^2 possible combinations of the dice that are not 1s.

So your total number of possible glitches are 1 + 4*5 + 6*25 = 171. Of these 2*4 + 4*5*6 = 128 are standard glitches.

For a pool of 4 dice that is a 128/1296 chance of a standard glitch and a 43/1296 chance of a critical glitch.

It is pretty much the same as the pools increase but there is just more addition and more multiplication and you have to be careful to keep track everything.
eidolon
Hey Serbitar, I got an error when trying to open your xls file. It pitched a circular reference warning.
lorechaser
Serb: You are my hero.
Hyz: Okay. That's what I needed - the full on breakdown of where the numbers come from. Perfect.
Eid: I suspect that's simply because you have columns with 0s- if you fill them in, all should be well.
Serbitar
QUOTE (eidolon)
Hey Serbitar, I got an error when trying to open your xls file. It pitched a circular reference warning.

I've gotten this error once in a time. I have no idea why it is there, as there are definately no such references . . .
Oracle
There is a circular reference in it. I sent you a PM with the details.
Serbitar
Thanks for the hint. Its corrected now.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Dumpshock Forums © 2001-2012