Solution

ID: past-exam-of-the-options-i-course-of-the-university-of-oxford/2008/o/o1/i/solution

For a two-way contingency table, Pearson's statistic is
Here are the observed margins and their grand total. Under the independence null, its usual large-sample reference distribution has degrees of freedom for an -by- table.

New to topics? Read the docs here!