# For testing independence, most software also reports another chi-squared statistic, called likelihood-ratio chi-squared. It equals 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 =

For testing independence, most software also reports another chi-squared statistic, called likelihood-ratio chi-squared. It equals

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.

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.

## This problem has been solved!

Do you need an answer to a question different from the above? Ask your question!

**Related Book For**

## Statistics The Art And Science Of Learning From Data

3rd Edition

Authors: Alan Agresti, Christine A. Franklin

ISBN: 9780321755940