Under the independence log-linear model for a two-way contingency table, the six cell probabilities factor as
The row distribution has one free parameter and the column distribution two, giving three free parameters under . Under the unrestricted alternative, six cell probabilities sum to one, giving five free parameters under . The difference is two, which is the degrees of freedom of the resulting chi-squared test.
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.
The observed statistic exceeds the supplied quantile for two degrees of freedom. Thus reject independence, with .
For one child of each sex among the first two, the three-child count is , below its independence expectation . Equivalently, the two-child count is , above its expectation . These departures have exactly the direction predicted by the suggestion. Thus the data support the proposed association: mixed-sex first pairs are associated with a greater tendency to stop at two children.

Articles by others on the same topic (0)

There are currently no matching articles.