G
Guest
Guest
Hi There,
I was wondering if anyone was willing to help me explain how the chi square test works or knows a really good reference. The wikipedia definition seems a little confusing to me.
This is what I am doing:
I have a card shuffler that shuffles a single deck of cards in random order. I want to check for randomness to make sure that the shuffler is not biased in any way. The RNG is using a KISS RNG, which passes all the DIEHARD battery of tests if you know what those are.
Anyways, I have a spreadsheet with 100 columns and 52 rows, Each Column represents a shuffled deck. So I have 100 test samples. Since the likelyhood of drawing any one particular card is 1/52 then I would expect that card x should appear at the top position approximately 2 times in 100 shuffles, card y should appear at the top position approximately 2 times, etc. (note: I know 100 is extremely small sample size, but its not really reasonable to go over 100 trials)
At this point I do not know how to apply the Chi Square test to determine if my numbers are within acceptable limits.
Can anyone help or point me in the correct direction?
I appreciate it.
I was wondering if anyone was willing to help me explain how the chi square test works or knows a really good reference. The wikipedia definition seems a little confusing to me.
This is what I am doing:
I have a card shuffler that shuffles a single deck of cards in random order. I want to check for randomness to make sure that the shuffler is not biased in any way. The RNG is using a KISS RNG, which passes all the DIEHARD battery of tests if you know what those are.
Anyways, I have a spreadsheet with 100 columns and 52 rows, Each Column represents a shuffled deck. So I have 100 test samples. Since the likelyhood of drawing any one particular card is 1/52 then I would expect that card x should appear at the top position approximately 2 times in 100 shuffles, card y should appear at the top position approximately 2 times, etc. (note: I know 100 is extremely small sample size, but its not really reasonable to go over 100 trials)
At this point I do not know how to apply the Chi Square test to determine if my numbers are within acceptable limits.
Can anyone help or point me in the correct direction?
I appreciate it.