Chi Square Algorithm Hi All,
I am a software developer who is after the algorithm for calculating chi-square and p-values to test for randomness of data.
I have gone through Knuth and was unable to understand a few bits.
Can any of you help me in understanding in how to calculate the above (I also need help with Runs-up and Runs-down tests).
Please try to use the least of Mathematical notations (I know I know it's a math forum)
My scenario is something like this:
I have a column of data with lets say 3000 rows. The Min value is 1 and Maximum value is 10. I understand that the degree of Freedom in this case would be 9. Now do I need to find out subtotals of each number i.e. how many times 1 has occurred and how many times and 2 and 3 and so on till 10. what do I need to do next????
Your help in this regard would be highly appreciated.
Regards,
Riz |