For testing independence, most software also reports another chi-squared statistic, called likelihood-ratio chi-squared. It equals G2 =
Question:
G2 = 2 ∑ [observed count × log (observed count / expected count)]
It has similar properties as the X2 statistic, such as
df = (r - 1) × (c - 1).
a. Show that G2 = X2 = 0 when each observed count = expected count.
b. Explain why in practice you would not expect to get exactly G2 = X2 = 0, even if the variables are truly independent.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Statistics The Art And Science Of Learning From Data
ISBN: 9780321755940
3rd Edition
Authors: Alan Agresti, Christine A. Franklin
Question Posted: