Moose352
- 165
- 0
What should I do when the expected value for a chi squared test is zero, so when I try to calculate the test statistic, i get a divide by zero?
The discussion addresses the issue of encountering a divide by zero error when calculating the chi-squared test statistic due to expected values being zero. It establishes that the chi-squared test is unreliable when expected frequencies are less than 5, and particularly invalid when they are zero. The recommended alternative is to use Fisher's Exact Probability Test for 2x2 contingency tables with small expected frequencies, specifically when they are less than 10. The conversation highlights the necessity of ensuring adequate expected frequencies for valid statistical testing.
PREREQUISITESStatisticians, data analysts, and researchers dealing with categorical data who need to perform accurate statistical tests without encountering divide by zero errors.