We Have Been Through This a Million Times

Posted on

by

Chosen Numbers - Why - A Million Times

We have a simulation setup to show the disadvantages of using random numbers at our Why Page.

The goal of that page - How many rolls of the dice will it take for each number to appear at least once?


We can give you the answer for systematically - it is always 6.

Random is a different story.

For each number to be hit at least once with random, the results can be anything from 6 to SOMETHING.


We asked ourselves, how high could this SOMETHING go?


We wrote another simulation to figure that out.


We did the side by side compare 1,000,000 times.

That is a million times running the "why" simulation.


Here is a snapshot of the results after running the "why" simulation a million times.


The number on the left is the number of rolls so each number was hit at least once.

The number on the right is how often it took for that many rolls (also known as frequency).


Results

  • 6 => 15,316
  • 7 => 38,606
  • 8 => 60,225
  • 9 => 74,701
  • 10 => 82,813
  • 11 => 84,367
  • 12 => 81,503
  • 13 => 75,622
  • 14 => 69,230
  • 15 => 61,554
  • 16 => 54,073
  • 17 => 46,635
  • 18 => 39,948
  • 19 => 34,248
  • 20 => 29,005
  • 21 => 24,673
  • 22 => 20,737
  • 23 => 17,489
  • 24 => 14,935
  • 25 => 12,179
  • 26 => 10,164
  • 27 => 8503
  • 28 => 7325
  • 29 => 5906
  • 30 => 5155
  • 31 => 4149
  • 32 => 3537
  • 33 => 2968
  • 34 => 2356
  • 35 => 1998
  • 36 => 1651
  • 37 => 1339
  • 38 => 1153
  • 39 => 1025
  • 40 => 761
  • 41 => 700
  • 42 => 576
  • 43 => 475
  • 44 => 427
  • 45 => 300
  • 46 => 287
  • 47 => 213
  • 48 => 174
  • 49 => 148
  • 50 => 151
  • 51 => 113
  • 52 => 100
  • 53 => 82
  • 54 => 64
  • 55 => 60
  • 56 => 37
  • 57 => 26
  • 58 => 27
  • 59 => 43
  • 60 => 23
  • 61 => 15
  • 62 => 14
  • 63 => 15
  • 64 => 15
  • 65 => 12
  • 66 => 7
  • 67 => 13
  • 68 => 6
  • 69 => 5
  • 70 => 2
  • 71 => 3
  • 72 => 5
  • 73 => 1
  • 75 => 2
  • 76 => 2
  • 80 => 3
  • 81 => 1
  • 83 => 1
  • 85 => 1
  • 89 => 1
  • 92 => 1
  • Total Rolls=14,702,658

Summary of the Results

With a six sided dice, the odds of any side of the dice to come up is 1 in 6.

In the sampling above, the worst case scenario was 92, with one occurrence.


92 rolls for each number to come up at least once.


That is a ridiculously high number.

But 1,000,000 times doing the why simulation is also a very high number.


With systematic, the number of rolls was always 6.

So with 1 million attempts, there would have been 6,000,000 rolls, ie. 6 x 1,000,000 of the systematic dice.


With random, as you can see above, there were 14,702,658 rolls.

Based on our efficiency calculation, systematic is 145% more efficient on average than random.

This is based on the calculation (14,702,658 / 6,000,000 * 100) - 100


Other interesting tidbits from the above data.

11 rolls had the highest frequency, with 84,367 times.


The higher the rolls, the less frequency (which one would expect).


There are some rolls between the lowest and highest which were never hit, for example 82, 84.


The image that we have included with this article could have been one of the 300 hits out of 1,000,000 where 45 was the number of rolls so every number was hit at least once - with 2 being the pesky rascal which was hindering the odds.

Conclusion

Random numbers are interesting, but they are no way to choose lottery numbers.

One would figure the odds of rolling a dice are 1 in 6.

The reality is the odds could be as low as 1 in 92, or even worse.

With 92 rolls, the efficiency of systematic over random is 1350%, but that is the worst case scenario in our sampling.


Systematic is the way to go.


Use chosen numbers when playing the lottery.