Solution

ID: past-exam-of-the-probability-statistics-and-options-i-course-of-the-university-of-oxford/2010/o/3/b/solution

Let be the observed cell counts, the row totals, the column totals and . The fitted expected frequencies under independence are . For example the three-child, one-boy cell has expected count .
The Pearson chi-squared statistic is
Under it has asymptotically a chi-squared distribution with degrees of freedom, assuming the multinomial sampling model and sufficiently large expected counts. All expected counts here are large. The distribution is an asymptotic approximation, rather than an exact finite-sample identity.

New to topics? Read the docs here!