How do you perform a G-test on the following data?
Category | Observed
A___________12
B___________6
C___________9
The formula I have for G-test is
G = 2 x [sum of]O ln (O/E)
where O is the observed and E is the expected (9)
And to get G for the data apparently you divide by a correction factor:
Correction factor: 1 + [(number of categories)² - 1]/6(number of observed frequencies)(degrees of freedom)]
But at the end I got G to be -0.206. Surely it can't be negative? The critical value for 5% significance level at 2 degrees of freedom is 5.99.
2007-12-02
00:24:38
·
3 answers
·
asked by
Gabriel H
3
in
Science & Mathematics
➔ Mathematics