Re: Testing P-3 for bias



On Fri, 10 Oct 2008 17:03:20 +0100, nigel <useweb@xxxxxxxxxx> wrote:

Stig Holmquist wrote:

Ten years ago, as some of you might remember, the Arizona P-3 game
used a flawed computer program to generate its numbers. After more
than one month, during the summer of 1998, it was discovered by the
public that digit 9 could not come up.Thus all bets using this digit
were wasted.

That's either a good reason to avoid computerised draws or a good reason
to target them with the help of some thorough analysis.

A simple probability calculation would have alerted the lottery
officials that something was amiss, but they did not test. The average
time for all digits to be drawn is 10 draws with a std.dev. of nearly
four draws. In stricct mathematical terms the average is 29.3 with a
std.dev. of 11.2.

Doesn't that assume that the three machines/random number generators are
identical? What if only one is flawed?

Unless I'm mistaken the Arizona game could not draw #9 in any
position. Thus it used only one generator. There is no reason for
using three, Go to any random generator site and you'll can get random
numbers of any length with just one machine.

Stig

A common statistical rule of thumb says that we can
be 99.7% sure something is out of order if a test value is outside of
the mean by more than three std.dev. Applied to digits it means
29.3+3x11.2=62.9, which divided by 3 comes to 21 draws. If you demand
99.99% certainty you need to use four std.dev., viz. 29.3+4x11.2= 74.1
equal to 25 draws.

What does 29.3-3x11.2 mean? The minimum number of balls to draw all ten
is ten and that requires a minimum of 4 draws. If the balls come out
more evenly than expected they can't reach three standard deviations
because that would require a negative number of draws. Are you sure
you're using the correct formula for the standard deviation?


If you go to a random numbers table in a textbook or get them from a
generator, you will discover there will be 3.5 digits missing on
average if you pick 10 numbers at random. Try it.

Stig
If you are concerned about the randomness of your state's P-3 game you
should at least test and examine the missing digit patterns. There are
other statistical test also that can be used. A good state lottery
does such testing all the time and will spot irregularities.


Needless to say, one should test the missing digits in each position
when the game is drawn with ping pong balls, but not by RNG.

Stig
Stig Holmquist

Evil Nigel
.



Relevant Pages

  • Re: Positional Frequency Pick-3
    ... For this test if any digits in a column are tied for hits ... We use the top 5 in each column to wheel positionally. ... decided to conduct this test using 22 past draws to make the ... times 125 plays the total cost to play ...
    (rec.gambling.lottery)
  • Re: Power Trails for P-3
    ... shift from paying to play to playing on paper and back again. ... Remember we're putting all digits into play with a 75% chance ... would like to comment on the number of previous draws. ... the key is how to rank the internal selections. ...
    (rec.gambling.lottery)
  • Re: Power Trails for P-3
    ... shift from paying to play to playing on paper and back again. ... Remember we're putting all digits into play with a 75% chance ... would like to comment on the number of previous draws. ... the key is how to rank the internal selections. ...
    (rec.gambling.lottery)
  • Re: Testing P-3 for bias
    ... used a flawed computer program to generate its numbers. ... That's either a good reason to avoid computerised draws or a good reason ... time for all digits to be drawn is 10 draws with a std.dev. ... calculate the actual probability for each waiting time and sum them up ...
    (rec.gambling.lottery)
  • Re: Testing P-3 for bias
    ... used a flawed computer program to generate its numbers. ... That's either a good reason to avoid computerised draws or a good reason ... time for all digits to be drawn is 10 draws with a std.dev. ... calculate the actual probability for each waiting time and sum them up ...
    (rec.gambling.lottery)