Tests for the independence of 2 categorical variables and their properties and assumptions.
Uses the score statistic and computes an asymptotic p-value.
Uses the likelihood ratio statistic and computes an asymptotic p-value. Pearson X² usually converges to the chi-squared distribution more quickly than G². The likelihood ratio test is often used in statistical modeling as the G² statistic is easier to compare between different models.