- #1
Bacle
- 662
- 1
Hi, everyone:
I am trying to prepare a class for tests of randomness. I am trying to use
as output, the 6 numbers of an (actual) lottery. Would a test of runs of the
means of the winning numbers be effective here? I am thinking of selecting, say N=50
consecutive winning combinations of six numbers, first finding the total sum S_n of
each of the 50 winning combinations. I will plot the data with a histogram, to see if
it is well-behaved-enough to use the mean Mu as a measure of center, or else
(outliers, non-symmetry of plot, etc.) I will use the median M as a measure of center.
After that, I will find the median M/ mean Mu of all the 50
sums, and then I will tag a sum S_n with a '-' , if S_n< m, and with a '+' otherwise
( I think it is not too likely I will hit the actual mean, nor the median), and then
define a run as a collection of consecutive ' +' or '-' values.
Then I can use the U-statistic to test actual randomness
at a certain significance level.
Would this work?
Thanks.
I am trying to prepare a class for tests of randomness. I am trying to use
as output, the 6 numbers of an (actual) lottery. Would a test of runs of the
means of the winning numbers be effective here? I am thinking of selecting, say N=50
consecutive winning combinations of six numbers, first finding the total sum S_n of
each of the 50 winning combinations. I will plot the data with a histogram, to see if
it is well-behaved-enough to use the mean Mu as a measure of center, or else
(outliers, non-symmetry of plot, etc.) I will use the median M as a measure of center.
After that, I will find the median M/ mean Mu of all the 50
sums, and then I will tag a sum S_n with a '-' , if S_n< m, and with a '+' otherwise
( I think it is not too likely I will hit the actual mean, nor the median), and then
define a run as a collection of consecutive ' +' or '-' values.
Then I can use the U-statistic to test actual randomness
at a certain significance level.
Would this work?
Thanks.