Keno Tracker




How Random is Keno?

It is possible that a given Keno setup may exhibit some bias (as in one ball is significantly heavier than the others or shaped poorly or cracked, causing it to be called more or less often than others). I'm not sure how often balls are changed out, so these factors may be mitigated rather rapidly. There are too many chaotic variables involved that would need to be measured in order to predict the next ball, so I believe that for all intense purposes the next ball is chosen at random.

The way the Keno Game Number works puts a lot of weight towards the first number drawn. The first number is weighted 79 times more than the second number, which is weighted 78 times more than the third number, etc. Because of this it is very important that a given ball doesn't show up more frequently than another in the first spot.

There is a program called ENT written by John Walker (the founder of AutoDesk) that is designed to run a file through a series of tests to determine how random the data is. A single KNG can be converted into 15 bytes of data. John uses an example of ENT being used with 32 kilobytes of data from his HotBits project. To create a file similar in size, I'll use 2,185 KNG's. That is about a half a days worth of data. I sort the data by the time the game finished, effectively mixing all 25 casinos into the same data sample.

SampleEntropyCompressionChi-SquareMeanMonte Carlo PiSerial Correlation Coefficient
#17.9942510%260.22 (50%)127.38883.138777005 (error 0.09%)0.004540
#27.9936720%288.55 (10%)127.51243.142438667 (error 0.03%)0.003198
#37.9944910%248.47 (50%)127.56833.116074698 (error 0.81%)-0.001036
#47.9948830%233.28 (75%)126.90823.140241670 (error 0.04%)0.001626
#57.9944100%254.55 (50%)127.41293.148297327 (error 0.21%)0.003335
#67.9937610%282.48 (25%)127.94963.119736360 (error 0.70%)0.003973
#77.9952980%212.01 (97.5%)127.57633.100695716 (error 1.30%)-0.000327
#87.9942540%260.83 (50%)127.58183.141706335 (error 0.00%)0.002540

These test results show that KenoRND() is very random. Compare these results with the results found at Random.org. Random.org uses 8kb tests, and I am using 32kb tests above, I have 8kb samples below for the individual casinos. You can read the documentation for ENT for more details (specifically his references), but I'll briefly describe the results. The closer the entropy is to 8, the less it can be compressed. Hamming says that random data shouldn't be very compressible. As mentioned on another portion of this site, you want the Chi-Square statistic to be between 5%-95%. If each byte can have a range from 0 to 255, then the mean should be close to 127.5 if it is randomly distributed. The closer to 0% the Monte Carlo Pi error the better. The Serial Correlation Coefficient should also be as close to 0 as possible.

All of the data used for the 8 tests above were gathered from 5/31/05 to 6/5/05. I have no plans to do a test on par with the billion bit test used by LavaRND, but I am willing to create a large file for someone else to analyse. It would take a few years to create a file as big as LavaRND used, so keep that in mind. Also keep in mind that LavaRND is practical to use in the real world, and KenoRND() is not.

SampleEntropyCompressionChi-SquareMeanMonte Carlo PiSerial Correlation Coefficient
Atlantis7.9771820%259.66 (50%)127.48243.192392099 (error 1.62%)0.005968
Boomtown7.9782230%248.62 (50%)127.69983.136795903 (error 0.15%)-0.003114
Boulder Station7.9786490%243.25 (50%)127.80063.110460863 (error 0.99%)0.005979
Carson Nugget7.9760890%271.77 (25%)126.97003.160204828 (error 0.59%)0.013807
Casablanca7.9776750%251.17 (50%)127.44413.101682516 (error 1.27%)-0.005231
El Cortez7.9762400%268.65 (50%)128.01993.092904170 (error 1.55%)-0.011827
Fiesta Henderson7.9770910%259.22 (50%)127.31273.133869788 (error 0.25%)0.006862
Fiesta Rancho7.9761170%270.14 (25%)125.91103.204096562 (error 1.99%)0.012860
Fitzgeralds Las Vegas7.9743360%290.18 (10%)126.57963.195318215 (error 1.71%)-0.018063
Fitzgeralds Reno7.9790650%233.70 (75%)127.89843.218727140 (error 2.46%)0.007293
Foxwoods7.9778080%249.80 (50%)127.00893.133869788 (error 0.25%)-0.004336
Horizon7.9779550%247.45 (50%)127.41313.121301775 (error 0.65%)-0.004316
John Ascuagas Nugget7.9764880%267.34 (50%)127.81323.054864667 (error 2.76%)0.012713
New York New York7.9783610%244.87 (50%)127.49593.174835406 (error 1.06%)0.001037
Oasis7.9758820%271.33 (25%)126.56053.145574250 (error 0.13%)-0.001070
Palace Station7.9766970%262.47 (50%)127.66023.168983175 (error 0.87%)-0.000176
Peppermill Reno Blue7.9774730%258.60 (50%)128.60763.078273592 (error 2.02%)0.013080
Peppermill Reno Red7.9761940%270.77 (25%)127.36783.122165326 (error 0.62%)-0.004718
Pioneer7.9784240%241.07 (50%)127.09203.087051939 (error 1.74%)0.010710
River Palms7.9803330%223.28 (90%)126.89493.092904170 (error 1.55%)0.008459
SanteFe Station7.9767680%261.16 (50%)127.11153.133869788 (error 0.25%)-0.004302
Siena7.9774110%251.49 (50%)126.77963.163130944 (error 0.69%)0.007176
Silver Club7.9764450%237.98 (75%)127.67603.120661157 (error 0.67%)0.007628
Sunset Station7.9794150%229.71 (75%)128.19073.110460863 (error 0.99%)0.000885
Texas Station7.9767610%259.41 (50%)128.20543.139722019 (error 0.06%)-0.019143
Virgin River7.9779430%248.49 (50%)127.25723.104608632 (error 1.18%)-0.006020

It appears as if every casino passed the test. All of the samples sizes above use 547 KNG's which is 8,205 bytes except for Horizon and Silver Coast because I had slightly less games tracked for them.

 
 
 
© Copyright 2005-2008. Some Rights Reserved.
Keno data delayed 15 minutes - Disclaimer
Contact: Eric Wikman