Bharti Singla
Senior Member
IFoA, April 2020 - Chi Square test
Method 1
Paper A - They have used a chi-square test to validate the random numbers fall into uniform distribution. Here, they have used an excel formula =CHHINV(probability, DOF) and gives 16.9 and compares it with sum of (a-e)^2/e
Method 2
Paper B - Here, they have used an another type of chi-square test using an excel formula =CHISQ.TEST(actual range, expected range) and compared it with probability 95%
But if I use the method 2 in Paper A by using the actual and expected ranges, I am getting a P-value of 71% which is less than 95% and test fails.
How do we know which formula to use for chi-square test?
Method 1
Paper A - They have used a chi-square test to validate the random numbers fall into uniform distribution. Here, they have used an excel formula =CHHINV(probability, DOF) and gives 16.9 and compares it with sum of (a-e)^2/e
Method 2
Paper B - Here, they have used an another type of chi-square test using an excel formula =CHISQ.TEST(actual range, expected range) and compared it with probability 95%
But if I use the method 2 in Paper A by using the actual and expected ranges, I am getting a P-value of 71% which is less than 95% and test fails.
How do we know which formula to use for chi-square test?