Among the 1629 complete cases, reported blocking is more common in the populist group: 18.44% versus 11.19%, a difference of about 7.26 percentage points. The full three-category response distributions are associated with classification: , 2 statistical degrees of freedom, and Cramér's V about 0.124. This is an association among observed respondents, not a causal effect.
Read the body percentages within the populism rows. There are 50 Yes responses out of 447 Not-populist respondents and 218 out of 1182 Populist respondents. The corresponding No percentages are 76.73% and 75.38%, while Not know falls from 12.08% to 6.18%. The overall distribution therefore changes in more than just the Yes category. The row-total percentages, 27.44% and 72.56%, describe group composition in the complete-case table, not the conditional blocking rates. Their slight difference from Question 2's 28.25% and 71.75% is consistent with different missing-value patterns.
The Pearson chi-squared test of independence compares the two full response distributions. Under the null hypothesis of independence, each cell has expected frequency , andThe minimum expected count is about 34.849, comfortably above the usual sparse-cell concern. With independent observations and a suitable sampling model, the tiny p-value rejects that omnibus null at conventional significance levels. The likelihood-ratio test of independence in a contingency table gives , also on 2 statistical degrees of freedom, with calculated . Its printed 0.000 is a rounded value, not zero.[ref]
Pearson's Chi-squared Test for Count Data in the R documentation. Details: the product-marginal null, expected counts and asymptotic chi-squared calibration
The generalized phi coefficient and Cramér's V both equal because the smaller nontrivial table dimension is one. The contingency coefficient is . These are unsigned magnitude measures, not further significance tests or percentages of explained variation. A modest magnitude can be highly significant with a large sample size.
The omnibus test does not, by itself, identify which response contrast differs. To target reported Yes specifically, an explicitly derived binary table combines No and Not know as non-Yes reports, producing rows and . An uncorrected two-by-two Pearson test gives on one statistical degree of freedom, . A large-sample confidence interval for the difference of reported-Yes proportions is approximately , or 3.59 to 10.92 percentage points. These are additional count-derived calculations under independent binomial sampling, not values printed in the exam. They address the selected Yes contrast and do not pretend that Not know and No are substantively identical in every respect. As aggregation can change a contingency-table independence test explains, the binary and three-category tests have different null hypotheses.
The printed ordinal coefficients, Goodman and Kruskal's gamma 0.295, Somers' D 0.116, Kendall's tau-b 0.117 and Stuart's tau-c 0.093, are arithmetically consistent with the displayed ordering. For example, 134660 concordant and 73239 discordant pairs give . The full tie counts also partition all unordered pairs correctly. However, the three response labels do not establish an ordinal scale. Their arithmetic sign therefore cannot replace the direct Yes comparison or be called the proportion of variation explained. Changing the arbitrary order of Not know and No could change the ordinal summary without changing the nominal association.[ref]
DescTools documentation for gamma, Somers' D and lambda. GoodmanKruskalGamma and SomersDelta, Details: ordinal-variable requirement and tied-pair treatment
Both directional values of Goodman and Kruskal's lambda are zero. No is the modal blocking answer in both populism groups, and Populist is the modal classification within each blocking column. Knowing the other variable therefore changes no modal prediction enough to reduce the number of classification errors. This does not contradict the unequal conditional distributions or the chi-squared result. Before generalizing, missing outcomes, missing classifications, the sampling design and possible confounding must be considered; a p-value does not supply those assumptions.
Past exam of the mathematics course of the University of Cambridge 2018 ii Paper 3 5J Solution Created 2026-09-24 Updated 2026-10-03
Treat the cell counts as independent Poisson random variables. Under independence of Month and Hospital, the independence log-linear model for a two-way contingency table iswith no Month–Hospital interaction. Compare its Poisson deviance with the appropriate upper quantile of a chi-squared distribution. This is the likelihood-ratio test of independence in a contingency table.
The approximation assumes independent counts with correctly specified Poisson means, identifiable parameters, and sufficiently large fitted cell means for the asymptotic chi-squared law to be accurate. Equivalently, one may condition on the margins and use the corresponding multinomial sampling formulation.
For the month table there are cells and independent model parameters, so the residual degrees of freedom areSincemodel 1 does not reject Month–Hospital independence at the level.
After combining months into four quarters, the table is , givingdegrees of freedom. Nowso model 2 rejects Quarter–Hospital independence at the level.
There is no contradiction. Relabelling twelve months as four quarters aggregates the contingency table, changes the null hypothesis, and reduces the degrees of freedom. The quarter-level hospital pattern is coherent enough to cross the much lower six-degree-of-freedom threshold even though the more detailed month-level omnibus test does not. This is an instance of how aggregation can change a contingency-table independence test.