Likelihood ratio test (G²)
Does the table fit independence? G² compares counted and expected frequencies through logarithms: two times the sum of counted times ln(counted / expected). It is judged like the Pearson chi-square with df = (rows − 1) · (columns − 1) and is usually close to it in large samples.
Example: Hair colour by eye colour (279 men): Pearson χ² = 41.28, G² = 44.44, both with df = 9 and p < .001.
Caution: In small samples G² is less accurate than the Pearson chi-square; with small expected counts Fisher's exact test applies. Not to be confused with the diagnostic likelihood ratio (LR+, LR−).