The usual Pearson chi-square statistic for testing for independence in a two-way contingency table is
where the Yijare the observed frequencies in the table, and the µijare the estimated expected frequencies under independence. The estimated expected frequencies can be computed from the maximum-likelihood estimates for the loglinear model of independence, or they can be computed directly as µij= Yi+Y+j/n. The likelihood-ratio statistic for testing for independence can also be computed from the estimated expected counts as
Both test statistics have (r – 1) (c – 1) degrees of freedom. The two tests are asymptotically equivalent and usually produce similar results. Applying these formulas to the two-way table for voter turnout and intensity of partisan preference in Table 15.4 (page 435), compute both test statistics, verifying that the direct formula for G20produces the same result as given in the text. Do the Pearson and likelihood-ratio tests agree?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here