A
actually ..?
Member
Hi ... I have a question regarding the Chi-squared goodness of fit test -
I thought that the test-statistic is the following:
X^2 = Sigma[(Actual - Expected)^2]/Expected
However, in Sweeting, I see that he has the following (where Variance replaces the Expected in the denominator) as the test-statistic:
X^2 = Sigma[(Actual - Expected)^2]/Variance
i.e. X^2 = Sigma[(T_n - Tp_n)^2]/[Tp_n * (1 - p_n)] based on pg 156-157.
I would like to understand the difference between the two test-statistics above (or if I'm wrong!). Does anyone have any insights as to the difference between these two ... or alternatively, point me to a good source that distinguishes between the two?
Thanks
I thought that the test-statistic is the following:
X^2 = Sigma[(Actual - Expected)^2]/Expected
However, in Sweeting, I see that he has the following (where Variance replaces the Expected in the denominator) as the test-statistic:
X^2 = Sigma[(Actual - Expected)^2]/Variance
i.e. X^2 = Sigma[(T_n - Tp_n)^2]/[Tp_n * (1 - p_n)] based on pg 156-157.
I would like to understand the difference between the two test-statistics above (or if I'm wrong!). Does anyone have any insights as to the difference between these two ... or alternatively, point me to a good source that distinguishes between the two?
Thanks