The ordinary least squares fit estimates the conditional mean of the continuous safety response as a linear function of the income coding:
The regression coefficient for income is positive. Since larger response values mean greater safety, one additional coded income unit corresponds to an estimated increase of safety-scale units in the fitted mean. Following the question's stated units, a unit is a £10,000 income step. The observed coding also uses income bands with open end categories, so this is a linear trend per coded band step; it is not evidence of a known constant effect for every extra pound, especially within the open top band. The output's abbreviated variable label does not override the stated units.
The intercept is the fitted mean at income code zero. It is estimated as , but zero is outside the observed income codes, so that value is an extrapolated model baseline, not an observed estimate for a particular income category. Its small p-value tests a zero intercept; it is not the main test of the income association.
For the income coefficient, the standard error is . The reported test statistic and two-sided test give
providing strong evidence against the null hypothesis of zero linear slope under the stated model assumptions. A Student t confidence interval, using residual statistical degrees of freedom, is
This is an interval for the population linear coefficient under the model, not an interval containing of individual safety scores. The large-sample estimate is precise enough to detect a positive association, but that does not establish substantial individual predictive power.
The coefficient of determination is : the fitted line accounts for about of the in-sample variation about the response sample mean. The adjusted coefficient of determination is about . Thus income alone explains very little of the observed variation, despite the small slope p-value. The residual standard error of response units describes substantial scatter about the fitted line. This is an estimated residual standard deviation, rather than the standard error of the slope or a complete individual prediction interval.
The overall F-test has on statistical degrees of freedom and . With one predictor and an intercept, it tests the same zero-slope hypothesis as the coefficient Student's t-test; , up to rounding. It is not an additional independent confirmation. In this simple linear regression, the Pearson correlation coefficient has the slope's sign and magnitude , another description of the weak linear association.
The regression uses complete observations and estimates two coefficients, giving residual statistical degrees of freedom. The deletion of observations is complete-case analysis; extending its conclusions to the full target population requires suitable assumptions about the missing-data mechanism. Classical reported standard errors also rely on an adequate linear conditional mean, independent errors and homoscedasticity; a normal linear model gives the finite-sample Student t-distribution and F-test calibration, while large-sample approximations can justify similar tests under weaker distributional assumptions. The printed summary alone does not establish these assumptions. Regression diagnostics and, where appropriate, heteroskedasticity-consistent standard errors address different parts of that assessment.
Finally, this unadjusted observational study estimates an association. Other covariates, such as age or experience status, may be related to both income and reported safety. Without additional design or causal identification assumptions, the positive fitted slope does not establish that increasing income would cause an increase in safety.
Conditioning on marital status produces five contingency tables. In each, compare the conditional row percentages. The following differences are the sample proportion with some bad experiences minus the sample proportion without them, in percentage points; negative very-safe differences mean fewer respondents feeling very safe in the former group.
Marital-status stratumDifference: very safeDifference: unsafeReported Pearson's chi-squared test p-valueCramér's VGoodman and Kruskal's gamma
Single
Married
Living with a partner (inconsistent; see below)
Divorced
Widowed
The p-values test independence within the respective strata; the magnitudes and directions come from the conditional percentages and association measures. Differences in the table are calculated from the counts before rounding.
Among single respondents, the very-safe sample proportion changes from to , while the unsafe sample proportion changes from to . The direction resembles the weak pooled pattern, but supplies little evidence against independence in this stratum. This is not evidence that the population association is exactly zero.
Among married respondents, the very-safe sample proportion changes from to and the fairly-safe sample proportion rises from to . Unsafe remains almost unchanged, versus . Thus the within-stratum association again chiefly shifts very safe toward fairly safe. Its is below the significance level, while still indicates a small association.
For respondents living with a partner, very safe changes from to , fairly safe from to , and unsafe from to . The very-safe difference is larger than in the married stratum. The printed p-value would be just below the conventional significance level. However, this particular output is internally inconsistent: recalculating Pearson's chi-squared test from its six displayed counts gives , , and . The reported agrees with the counts, whereas the printed would itself imply for two statistical degrees of freedom, rather than the printed . Using the displayed counts, this stratum does not reject independence at . The source PDF itself contains these incompatible figures; this is not resolved by rounding.
Among divorced respondents, very safe changes from to , but unsafe also decreases, from to , as fairly safe increases from to . This is a redistribution toward the middle category, not a simple shift toward greater unsafety. The near-zero gamma, , reflects the lack of a consistent ordinal direction, while can still register distributional differences without a direction. The p-value does not reject independence.
Among widowed respondents, very safe changes from to , and unsafe from to . The ordinal association is positive on the chosen ordering, with gamma . Its lack of conventional statistical significance, , does not imply a smaller estimated association than in the married group: the widowed stratum has only complete observations, versus in the married stratum, and therefore less precision. All five tables have sufficiently large expected counts for the reported approximations; even the smallest expected count is about .
Figure 1.
Derived safety-category differences and unadjusted uncertainty by marital-status stratum
. Details.
The plot uses large-sample Wald confidence intervals for the difference of independent sample proportions within each stratum. They concern the individual category contrasts, whereas the tabulated Pearson's chi-squared tests compare the full three-category distributions. The intervals are unadjusted for multiple hypothesis testing; the pooled row reuses the stratum observations, so it is not a sixth independent sample.
In the elaboration model, the persistence of a generally weak positive ordinal pattern within four strata is closer to partial replication than to a complete explanation of the pooled association by marital status. The differences in estimated patterns suggest possible specification: the divorced group's shift toward the middle category differs from the widowed group's shift toward unsafe. They do not by themselves establish population effect modification. In particular, significant and nonsignificant results need not differ significantly; compare the effects using an interaction contrast or a fitted model with the appropriate interaction terms, rather than comparing their separate p-values.[ref]
One additional omnibus check can be derived from the supplied tables without assuming a common effect. Recalculating the five statistics from the counts, including the corrected living-with-partner statistic, the joint conditional independence test for stratified contingency tables gives
Under independent-stratum sampling this tests independence within every stratum jointly; it does not test whether the association is homogeneous across strata. It does not reject at , but this alone does not establish that stratification removed the population association: its ten-degree-of-freedom alternative is less focused than the pooled two-degree-of-freedom test, and nonrejection is not proof of equality.
The elaboration model also distinguishes an antecedent confounder from an intervening causal mediator. These cross-sectional tables do not establish the relevant time ordering or identify either role for marital status. Five separate stratum tests further require caution about multiple hypothesis testing: for example a Bonferroni correction at familywise would use per test, below all five individual p-values. That caution changes the interpretation of selected significance labels, not the observed conditional percentages.
The estimated patterns vary across strata, but the tables neither establish a population interaction nor prove that marital status explains away the association.
Each row of the contingency table is a conditional distribution of the safety category among respondents with that experience status. Thus the relevant comparison uses row percentages, rather than interpreting the larger number of respondents with some bad experiences as itself an effect on safety.
The sample proportions reporting feeling very safe are without bad experiences and with some bad experiences: the latter is lower by about percentage points. Feeling fairly safe rises from to , a difference of about percentage points. Feeling unsafe changes only from to , about percentage points. The main descriptive shift is therefore from very safe toward fairly safe, rather than a large increase in the unsafe category.
Pearson's chi-squared test tests the null hypothesis that experience status and safety category are independent. If that were true, the expected cell count would be its row total times column total divided by . The Pearson chi-squared statistic sums squared observed-minus-expected count differences divided by their expected counts. Here
The expected counts are comfortably large, with minimum approximately , so the ordinary large-sample chi-squared distribution approximation is appropriate under the sampling assumptions. There is evidence against independence even at the significance level. The reported likelihood-ratio result gives the same conclusion.
Magnitude is a separate question. Cramér's V gives
which describes a weak statistical association. It does not mean that of safety is explained. Nor does the p-value measure the size of that association.
For ordinal direction, order the experience categories as none, some, and the safety categories from very safe toward unsafe. Goodman and Kruskal's gamma compares concordant pairs with discordant pairs after excluding tied pairs:
Its small positive sign then corresponds to a weak tendency toward less safety among respondents with bad experiences. The sign would reverse if exactly one category ordering were reversed. Because this contingency table has many ties, the response-direction Somers' D, which retains response ties among pairs with different predictor values, is smaller:
These coefficients describe ordered association; the omnibus Pearson's chi-squared test tests any departure from independence and does not supply a separate p-value for gamma.
The column-dependent Goodman and Kruskal's lambda makes the weak predictive improvement tangible. Predicting the overall most frequent safety category makes errors in this table. Using a separate most frequent category within each experience row makes , giving , only about a reduction in those classification errors.
The sample supports a statistically detectable but weak association, chiefly a reduced sample proportion feeling very safe. This observational study does not establish that bad experiences cause the change: reverse direction, reporting differences or confounding could also contribute. The numerical p-value also presumes the sampling and complete-case assumptions appropriate to the observations used.
A null hypothesis specifies the population comparison to be tested, for example equality of the population means for women and their complement. The alternative hypothesis for a two-sided test is a nonzero difference. A Student's t-test measures an estimated difference in units of its estimated standard error:
On the reported calibration, the sampling distribution under the null hypothesis is Student's t-distribution with statistical degrees of freedom. Consequently the two-sided test has p-value
With this many statistical degrees of freedom, the Student t-distribution is close to the standard normal distribution: exceeds the approximate two-sided critical value , but falls short of the value . Using the supplied calibration, reject at the significance level, but not at . The large statistical degrees of freedom justify this comparison; a value need not be significant for an arbitrary very small number of statistical degrees of freedom.
The p-value is the probability, under the specified null hypothesis and sampling assumptions, of a test statistic at least as discrepant as the observed one. It is not the probability that the null hypothesis is true, nor the probability that the observed difference happened “by chance”. A significance level of controls the long-run type I error rate of the testing procedure when its assumptions hold. Failing to reject at does not prove equality. Statistical significance also does not measure the substantive size or importance of a difference.
The reported sample means place the women's mean scale units above the overall mean. The negative test statistic can reflect the order of subtraction; it does not reverse that observed ordering. An appropriate pre-specified directional one-sided test would have a tail p-value approximately on the supplied calibration, but one cannot choose that direction after inspecting the results simply to halve a p-value.
There is a design issue behind the numerical calculation: the women are included in the overall sample. Comparing a subgroup mean with its containing sample mean requires accounting for shared observations. If is the women's sample fraction and the mean for the remaining respondents, then
These two estimates are not independent. An ordinary independent-two-sample Student's t-test of women against the entire respondent sample would therefore use an inappropriate standard error. The interpretation above accepts the supplied test statistic and its stated null calibration; a valid analysis of the underlying data should compare disjoint groups, or calculate the shared-sample covariance correctly. The summary alone cannot establish which calculation was used. Simple random sampling supports sampling inference under the stated design, but an observed gender association does not establish a causal effect.
The fitted simple linear regression is
Its regression slope is a predicted decrease of approximately 0.006314 trust-score units per extra year, or 0.06314 units per decade. This is an estimated statistical association between age and the score. A cross-sectional study does not establish that the same person's trust decreases at this rate as they age.
The estimated standard error of the slope is 0.005427. Testing a zero regression slope gives on 746 residual degrees of freedom and . An approximate 95% confidence interval is
There is insufficient evidence of a nonzero linear age association at the 5% level. The interval includes both small negative and small positive slopes; failure to reject does not establish an exactly zero relationship or rule out a nonlinear one.
The regression intercept 6.388920 predicts the score at age zero. That age is outside the observed 19–89 range, so interpreting it substantively would be extrapolation. Its very small reported p-value tests a zero intercept, rather than the age hypothesis. The 746 residual degrees of freedom correspond to 748 observations minus the intercept and slope.
The coefficient of determination is , so the fitted line explains approximately 0.1811% of the observed centered variation, rather than 18.11%. The adjusted coefficient of determination is approximately 0.0004732. The residual standard error is 2.602 score units, close to the reported response standard deviation; most variation remains unexplained by the fitted line. With one predictor and an intercept, the slope's F-test is the square of its Student's t-test statistic, up to printed rounding, so and agree with the slope test.
Output 6 is a residual-versus-fitted plot: its vertical coordinates should be regression residuals . The fitted values range over only approximately 5.83–6.27, as the weak slope predicts over ages 19–89. The printed scatter shows no obvious strong mean curvature or clear widening funnel, but it has marked horizontal concentrations near its extreme residual levels. An absence of obvious curvature does not prove a correct linear conditional mean, and the plot alone cannot establish homoscedasticity, independent errors or a normal distribution. A normal probability plot and residuals against observation order address different aspects. Large residuals also do not by themselves establish influential observations; regression leverage and Cook's distance matter.
There is an additional inconsistency in the original figure. The descriptive output reports observed responses between zero and ten, so residual constraints from a bounded response require
Yet the printed graphic contains points around , which would imply , above the stated observed maximum. Some lower-edge points likewise imply negative responses. This is present in the original PDF, rather than introduced by the transcription. The graphic therefore cannot be treated as a fully consistent diagnostic of the reported dataset. The observations about its visible shape above describe the supplied picture; reliable model checking would require the actual fitted values and residuals.
The printed code has separate typographical problems. The displayed model call supports the intended formula with ~, and the plot needs one closing parenthesis:
model1 <- lm(t_guard ~ age, data = exam)
plot(fitted(model1), residuals(model1),
     xlab = "Fitted values", ylab = "Residuals")
abline(h = 0)
These calls correct the syntax; they cannot be rerun on the original observations because the individual-level dataset is not supplied. The regression interpretation above uses the available numerical summaries and states the diagnostic limitation explicitly.
The association remains positive within each income group, although its estimated size is smaller in the higher-income groups. The two extreme trust categories give the following conditional vaccination percentages and differences:
Annual household incomeLowest trustHighest trustDifference in percentage points
Below £20,00036.36%89.60%53.24
£20,000–£40,00050.00%93.10%43.10
£40,000 and above66.67%91.14%24.47
In the lowest-income group, the intervening percentages are 42.86%, 44.12% and 82.54%, so the increase is monotone. Its Pearson chi-squared statistic is approximately 62.520 on four statistical degrees of freedom, with the printed asymptotic . Cramér's V is approximately 0.441, Goodman and Kruskal's gamma is approximately 0.626 and the column-dependent Somers' D is approximately 0.259. The column-dependent Goodman and Kruskal's lambda is approximately 0.158: trust improves the modal prediction more here than in the pooled table.
In the middle-income group, the intervening vaccination percentages are 61.54%, 81.82% and 92.04%. The printed Pearson chi-squared statistic is approximately 24.033 on four statistical degrees of freedom, with asymptotic . Cramér's V is approximately 0.298, Goodman and Kruskal's gamma approximately 0.454 and column-dependent Somers' D approximately 0.100. Column-dependent Goodman and Kruskal's lambda is zero: vaccinated respondents are the majority in every row, so the modal prediction never changes. A zero lambda does not mean independence.
In the highest-income group, the intermediate vaccination percentages are 71.43%, 76.92% and 94.55%; the final category falls slightly to 91.14%. Thus the observed pattern is broadly positive rather than strictly monotone. The printed Pearson chi-squared statistic is approximately 8.199 on four statistical degrees of freedom, with asymptotic . It does not reject independence at 5%. The corresponding Cramér's V is approximately 0.229, Goodman and Kruskal's gamma approximately 0.281 and column-dependent Somers' D approximately 0.058. The column-dependent Goodman and Kruskal's lambda is again zero.
Small counts limit the asymptotic tests, especially in the middle- and highest-income tables. Their minimum expected counts are approximately 0.644 and 0.306, with respectively 30% and 40% of cells below five. The lowest-income table has one expected count below five, with minimum approximately 3.315. These diagnostics concern expected counts under independence, not just the observed row sizes.
The supplied counts are sufficient to make an exact conditional Pearson test for a binary contingency table, without needing individual records or assuming a chi-squared distribution approximation. Conditioning on the row totals and total unvaccinated count removes the common unknown binomial probability. For each admissible table, sum its multivariate hypergeometric distribution probability when its Pearson chi-squared statistic is at least the observed one. Complete enumeration gives:
Income groupEnumerated tablesExact conditional p-value
Lowest507150
Middle22379
Highest2585
These are new exact conditional calculations, rather than the paper's printed asymptotic p-values. They confirm evidence of association in the first two groups and nonrejection at 5% in the third, while showing the numerical effect of sparse cells. The tail is ordered by the Pearson chi-squared statistic; an exact test with a different ordering need not have the same p-value. Fixed-margin Monte Carlo tests approximate this same Pearson-ordered tail when enumeration is impractical.[ref]
The original count-based figure below includes pointwise approximate 95% Wilson intervals. The very wide intervals for sparsely populated trust categories make the uncertainty visible; they are not simultaneous intervals or a formal test of differences between income groups.
Figure 1.
Recorded vaccination by NHS trust within household-income groups, with pointwise Wilson intervals
. Original plot from the supplied table counts. Connected categories show their order without assuming equal numerical trust increments. The intervals concern conditional proportions, and the figure does not identify causal effects. Details.
In the elaboration model, the positive direction is replicated after conditioning on income: income does not fully explain away the observed trust–vaccination relationship. The decreasing estimated contrasts and ordered coefficients suggest possible specification by income, or effect modification on an explicitly chosen scale. They do not establish it. Different p-values can arise from different sample sizes and standard errors; significant and nonsignificant results need not differ significantly. A formal statistical interaction test or a confidence interval for differences between comparable contrasts would address that question.[ref]
Nor do these conditional tables prove that income is a causal confounder or causal mediator. Those labels require assumptions about causal order, relevant confounding and how variables were measured. This is an observational study of recorded vaccination status, not a randomized change in trust or a test of vaccine effectiveness.
These are row percentages, so the comparisons estimate the conditional probability of recorded vaccination within each NHS trust category. The percentages increase across the ordered trust categories as
The extreme-category difference is approximately 49.31 percentage points, rather than a 49.31% relative increase. The ordinal categorical variable records an order; the categories do not establish equal numerical trust increments.
Under the null hypothesis of independence, the expected count in a cell is its row total times its column total divided by 748. The Pearson chi-squared statistic compares observed and expected counts through
There are statistical degrees of freedom, giving . The minimum expected count is approximately 5.015, so the usual expected-count concern is much less acute here than in the income strata. The table gives strong evidence of a statistical association. The likelihood-ratio test of independence in a contingency table agrees: its statistic is approximately 81.361 on four statistical degrees of freedom, with a very small p-value. The displayed 0.000 is rounding, not a zero probability.
For magnitude, Cramér's V is
It describes the size of the departure from independence without using the category order or giving a direction. Calling it “moderate” is only a rough contextual description; the actual percentage differences are easier to interpret.
The ordered coefficients describe a positive direction. Goodman and Kruskal's gamma uses only concordant pairs and discordant pairs:
It excludes tied pairs, which are frequent when the response has only two categories. It is therefore not a claim that 54.7% of respondents were vaccinated because of their trust. The directional Somers' D for vaccination as response includes pairs tied on that response in its denominator:
The smaller value reflects the retained ties; it does not contradict the positive statistical association.
The small column-dependent Goodman and Kruskal's lambda has a useful prediction interpretation. Without trust information, always predicting the more frequent vaccinated category gives 121 mistakes. Predicting the majority category separately in each trust row gives mistakes. Hence
Trust reduces this particular modal-prediction error by only about 4.13%, despite the strong evidence against independence. Most rows retain the same majority category. Evidence of association, its ordinal direction and improvement in a chosen prediction rule are different questions. None establishes that changing trust would change an individual's vaccination status.
Let and be the population means of the newspaper trust score for the unvaccinated and vaccinated groups. A two-sided hypothesis test compares
The observed difference of sample means is : the vaccinated group has a one-unit higher average trust score. The negative test statistic agrees with subtraction in this order. A Student's t-test scales the estimated difference by its estimated standard error; means that the observed difference is 3.6 estimated standard errors below the equal-mean null hypothesis.
Using the reported reference Student t-distribution with 747 statistical degrees of freedom,
Thus the equal-mean null hypothesis is rejected at a prespecified 5%, 1% or 0.1% significance level, subject to the test's assumptions. A p-value is a probability of a result at least this extreme under the specified null hypothesis and sampling model. It is neither the probability that the null hypothesis is true nor the probability that this particular conclusion is mistaken. A chosen significance level controls the procedure's type I error probability under that model.
The estimated difference is more informative than statistical significance alone. If the reported statistic uses this one-unit contrast, its estimated standard error is . The corresponding approximate 95% confidence interval is
This interval concerns a population mean difference under repeated sampling; it is not a range containing 95% of individual trust scores. Its practical interpretation also depends on the trust scale and the importance of a one-unit difference.
The groups are disjoint, so an independent-samples comparison is appropriate if the sampled observations are independent. The exact pooled Student's t-test additionally assumes common population variance and normal distributions; Welch's t-test permits unequal variances and uses an approximate reference distribution. A bounded or ordinal rating need not be exactly normal, so treating it numerically and using a large-sample approximation also requires judgment about group sizes and the score's meaning.
There is a bookkeeping qualification. The later outputs use 748 observations. If these are also the complete observations for this two-group comparison, the pooled test has statistical degrees of freedom, and the Welch degrees of freedom upper bound is also 746. The printed 747 therefore needs the original test call or a different sample count to reconcile it. The reported-calibration calculation above answers the stated test; it does not invent group sizes or silently change the reference distribution.
The evidence supports an association between higher newspaper trust and recorded vaccination, rather than a causal effect of trust. An observational study does not rule out confounding, selection bias or reverse causation. A statistical hypothesis test cannot supply those missing causal assumptions.
The fitted simple linear regression for the numerical vaccination intention scale is
Here age is measured in years. The fitted mean increases by about 0.01649 score points per year, or 0.16489 points per decade. The regression coefficient is an association across respondents, not an estimate of how an individual would change on ageing or of a causal effect of age.
The standard error of the age regression coefficient is . Dividing gives , with 2,133 residual statistical degrees of freedom, corresponding to fitted residual degrees. The reported two-sided p-value is , so the zero-slope null hypothesis is rejected at a prespecified 5% level, but not at 1%. An approximate 95% confidence interval is
Its positive endpoints are consistent with the test decision; they do not make the slope large.
The coefficient of determination is , so the fitted age trend accounts for only 0.2744% of the observed score variation, compared with an intercept-only prediction. Its adjusted value is . In an intercept-containing simple linear regression, the positive slope implies a positive Pearson correlation coefficient . The reported overall statistic, on one and 2,133 degrees of freedom, agrees with the squared slope test statistic up to printed rounding.
The residual standard deviation estimate is score points, much larger than the fitted decade contrast. At age 50 the fitted value is about , and at 60 it is about . Across the observed ages 19 to 91, the fitted mean changes by only points. Statistical detection with 2,135 observations therefore coexists with weak individual prediction.
The intercept predicts at age zero, outside the observed age range; it should not be given a substantive infant interpretation. Centring age at its observed sample mean, , gives
which agrees with the reported score sample mean of after rounding. The bounded scale and upper quartile at its maximum motivate attention to a possible ceiling effect; they do not establish homoskedasticity, a normal error distribution or a satisfactory linear conditional mean. Five residual quantiles cannot replace a residual plot or checks of the sampling assumptions.
There is also a source consistency problem. The output reports that all 2,135 records have age and score present, that the attained minimum score is one, and that ages lie between 19 and 91. The positive fitted slope therefore places every fitted value between and . By residual extrema when response extrema are attained, the minimum regression residual must satisfy
At the observation with score one, its residual is already at most . The printed minimum residual, , lies outside this necessary interval. Those summaries cannot all describe the same complete sample and fitted model. The discrepancy is too large to be explained by the displayed rounding. It is present in the original PDF; the individual records would be needed to establish which printed item is wrong.
Figure 1. . The left panel uses the reported fitted coefficients over the observed age range, with the numerical response scale shown for context. It contains no reconstructed individual observations. The right panel compares the printed minimum regression residual with necessary algebraic bounds derived from the attained response minimum. That interval is a consistency constraint, not a confidence interval. Details.
For each income band, compare the response distribution within the two gender groups. The table below combines agree and strongly agree only to make one comparable contrast visible. The Pearson chi-squared statistic and its p-value still use all five original response categories, with four statistical degrees of freedom in every band. Income labels are thousands of USD per year; finite upper bounds are excluded.
Income bandMale agreementFemale agreementDifference in percentage pointsCramér's V
Under 10k11738.64%34.25%4.393.4330.48810.171
10k–20k21235.90%35.07%0.825.4570.24350.160
20k–30k24552.17%39.22%12.965.8930.20730.155
30k–40k27854.90%37.50%17.4010.1170.038510.191
40k–50k17854.74%38.55%16.186.6870.15340.194
50k and above110571.16%50.21%20.9563.7650.240
In the lowest-income band, combined agreement differs by only about percentage points. The full distributions still differ descriptively: strong disagreement is in the male group and in the female group. The omnibus Pearson chi-squared test does not reject independence at 5%, but that decision does not prove equal distributions.
In the 10k–20k band, combined agreement is almost the same. Nevertheless, strong agreement is higher in the female group, versus , while the less intense agreement category is higher in the male group, versus . Collapsing the categories hides that distinction. The full-distribution p-value is approximately .
In the 20k–30k band, combined agreement is higher in the male group by about percentage points. Strong agreement alone is versus . The observed difference is therefore larger than in the two lowest bands, despite its full-table p-value remaining above 5%.
In the 30k–40k band, combined agreement differs by about percentage points, with fewer male neutral responses, versus . The full-table p-value of is nominally significant at 5%. In the 40k–50k band, the combined agreement gap is a similar percentage points, but the full-table p-value is . These labels are not a direct comparison between the two effects: significant and nonsignificant results need not differ significantly.
In the highest-income band, strong agreement is in the male group and in the female group. Combined agreement differs by about percentage points. This band has both the largest sample size and the largest Cramér's V of the six tables, with a very small p-value. Its particularly strong evidence reflects both precision and an observed difference in the distribution.
All six minimum expected frequencies exceed five: approximately , , , , and . Thus sparse expected counts do not provide a reason to reject the usual chi-squared distribution approximation here. If the six hypothesis tests form one exploratory family, a Bonferroni correction would use for each test; only the highest-income result crosses that threshold. This qualifies the unadjusted 30k–40k result without turning its observed contrast into zero.
In the elaboration model, the larger agreement gaps in the middle and upper bands provide a descriptive pattern of specification: the conditional contrast varies with income. This is not a Simpson's paradox reversal, because the combined agreement difference has the same sign in every band. Nor is the larger high-income effect size established simply by comparing its p-value with the other p-values. A formal claim of effect modification requires a stated scale and an appropriate comparison of the effects.
The pooled comparison also mixes different income compositions. The highest-income band contains of the male group but of the female group. Average each group's six agreement proportions over the same pooled income weights using standardization with common weights. This gives
The crude difference was percentage points, so common weighting attenuates it by about percentage points but leaves a substantial descriptive contrast. With average-group rather than pooled-person weights, the symmetric decomposition of a stratified mean difference instead gives an exact split into approximately percentage points from conditional contrasts and percentage points from composition. These are different explicitly defined descriptive summaries, not estimates of a causally mediated share.
Figure 1. . Original calculations from the printed aggregate counts. The outcome combines agree and strongly agree; the two gender labels are those recorded in the paper. Error bars are individual approximate 95% Wilson intervals, not simultaneous intervals or a formal test of between-band effect modification. The right panel uses the same pooled income frequencies for both groups. No individual observations were reconstructed. Details.
An antecedent income variable could be considered in a confounding explanation, whereas an income variable on an assumed causal pathway would enter an interpretation through causal mediation. The conditional tables do not distinguish these causal structures. They also do not identify whether any adjustment introduces collider bias. The supported conclusion is income-dependent descriptive association plus a measurable composition difference, with causal interpretation left conditional on additional assumptions.
The displayed percentages use row denominators. The relevant comparison is therefore the conditional probability of each response within each recorded gender group, rather than the gender composition within a response category.
For the male group, strongly agree and agree. For the female group, the corresponding percentages are and . Combining the two agreement categories gives
The female group has more neutral responses, versus , and a higher combined disagreement percentage, versus . Thus the observed distributions differ in more than a single cell.
The Pearson chi-squared test assesses the null hypothesis of independence in the complete contingency table. Under that null, the expected frequency in a cell is its row total times its column total divided by 2,135. Recalculation gives
The reported p-value, approximately , gives very strong evidence against independence under the test's sampling assumptions. The minimum expected frequency is about , so sparse expected cells are not a problem here. The test concerns the full five-category distribution, not just the combined agreement comparison.
Cramér's V summarizes the magnitude without imposing an ordering on the gender labels:
The small p-value does not imply a nearly deterministic relationship. For example, the column-dependent Goodman and Kruskal's lambda is only about : choosing the modal response separately within the two groups reduces prediction errors from 1,546 to 1,506, a relative reduction of .
The positive Goodman and Kruskal's gamma must be interpreted using the table's chosen ordering. The agreement categories run toward less willingness, and gender has no intrinsic ordinal direction. A sign attached to an arbitrary group coding cannot replace the substantive comparison of conditional probabilities.
The NaN displayed for the likelihood-ratio calculation is not a valid p-value and is not evidence of no association. The Pearson chi-squared statistic can be independently recomputed from the positive cell counts. None of these calculations identifies a causal effect; the table has not controlled for income or other possible confounders.
Each frequency table describes a marginal distribution, rather than a relationship among variables. The recorded two-category gender variable has 1,042 male and 1,093 female responses: 48.81% and 51.19%. It is a nominal categorical variable. Its ordering in the table supplies no quantitative ranking; a cumulative percentage over those arbitrarily ordered labels has no invariant substantive meaning.
Household income is an ordinal categorical variable with six bands. Their shares, from the lowest band upward, are , , , , and . The highest band alone contains 1,105 respondents, slightly more than half the sample. The bands are not a numerical income measurement with equal steps: the top band is open-ended, so an exact sample mean income cannot be recovered from these category counts alone.
The agreement item is also an ordinal categorical variable. Combining the first two categories gives
Neutral responses account for ; the two disagreement categories together account for . These percentages describe the measured vaccination intention item, rather than actual vaccination status.
All three tables have 2,135 valid observations and no missing values for these variables, so their percentages and valid percentages coincide. This is different from the seven missing group-indicator values in question 1. The income and agreement columns sum to because the displayed percentages were rounded separately. That rounding is compatible with counts summing exactly to 2,135.
The tables alone cannot show whether the gender composition differs by income, or whether vaccination intention differs between groups. Those are questions about a joint contingency table and its conditional probabilities, not about separate marginal distributions.
Read conditionally, the fitted slope says that a one-point higher skill score is associated with about 0.209 more household devices in the fitted conditional expectation. The printed summary also claims a significant slope and about 28.93% explained sample variation. Those claims cannot be assembled into one valid fitted model: several regression identities fail, so a single verified coefficient-and-uncertainty report is unavailable.
The response is a device count, while the predictor is a skill score. A simple linear regression models , where is the device count and the skill score. Ordinary least squares chooses the intercept and regression slope to minimize the residual sum of squares. The regression slope describes a conditional association, not the causal effect of training or acquiring a device.
The descriptive statistics put the device count between and , with sample mean about and sample standard deviation about among records. Skill scores range from to , with sample mean about and sample standard deviation about among records. Two missing skill values account for the stated two deleted records; because device counts have no missing values, the regression complete-case sample has observations. Estimating two regression coefficients leaves residual statistical degrees of freedom, matching that part of the output. The units of the two standard deviations differ, so comparing with does not establish that skill is more variable in a substantive sense.
If the coefficient estimates are trusted, the fitted values follow . The intercept predicts about devices at a skill score of zero; zero is within the stated score range, but precision and the number of observations near zero are not shown. A five-point increase in score corresponds to about additional fitted devices and a ten-point increase to about . At a score of ten the fitted value is about , and at 24 it is about . Expected counts may be fractional even though individual counts are integers. These are conditional interpretations of the coefficient fields, not reconstructed raw observations or validated individual predictions.
A coefficient's standard error estimates its sampling uncertainty, whereas the residual standard error describes unexplained response variation. For the intercept, , agreeing with the printed and rounded . Conditional on the model assumptions, this would reject a zero intercept at conventional significance levels. The intercept test is not a test of whether skills predict devices. For the slope, the printed would reject at 5% but not 1%; it does not assign a probability to the null hypothesis or measure the usefulness of prediction. The significance stars simply encode thresholds and add no independent evidence.[ref]
The slope row fails its own arithmetic check:
At statistical degrees of freedom the ratio gives a two-sided p-value about , while the printed gives about ; neither is . Thus the choice of which source field is trusted changes the apparent strength of evidence, including the 1% decision. A 95% confidence interval built conditionally from the printed estimate and standard error would be about , but it is not a verified interval from a coherent fitted model. In fact, using the printed residual standard error , the complete predictor sample size and predictor standard deviation gives a slope standard error near , not .
The printed coefficient of determination would mean that the fitted line explains of the complete-case sample's centred device-count sum of squares relative to an intercept-only fit; remains unexplained by that comparison. It is not the percentage of devices caused by skill, the fraction of correctly predicted households, or a measure of future predictive accuracy. The adjusted coefficient of determination is consistent with that and the given sample size, allowing rounding. The small adjustment reflects fitting one slope among many cases; it does not validate the model.
For a one-predictor ordinary least squares fit with an intercept and the usual common-variance standard errors, the simple-regression output identities require
Here the printed slope t gives , the printed F field says , and the printed instead implies . These cannot all hold. Moreover, on and statistical degrees of freedom has p-value about , not . Reading the printed F p-value alone would give a 1% significant test of the zero-slope model, but its reported calibration is incompatible with its statistic. No significance label resolves these identities.
There is also a contradiction that does not depend on tail probabilities. Ordinary least squares with an intercept makes the arithmetic mean of fitted values equal the arithmetic mean of observed responses on the analysed records. The printed coefficients and predictor mean give . Deleting two device counts anywhere in the printed range , and allowing the reported overall mean to be rounded, would leave the complete-case device mean between approximately and . The mean bounds after deleting bounded observations therefore rule out reconciling with the response summary merely by citing those two missing predictor values. This is not the mistaken assumption that full-sample and complete-case sample means must always be identical.
If its own field were trusted, residual standard error estimates the unexplained response standard deviation, in device-count units. It is neither the standard error of the slope nor a guarantee that every prediction is accurate to devices. The residual five-number summary has extremes near and and median near , with central quartiles near and . The roughly central median does not establish normally distributed errors, homoscedasticity, independence or a linear conditional expectation. A residual-versus-fitted plot could check curvature and spread; a normal probability plot could assess an error-shape approximation. Neither diagnostic can be recovered from five residual quantiles alone. Individual prediction intervals include response variation as well as coefficient uncertainty and are wider than confidence intervals for the conditional expectation.
For conventional finite-sample t and F calibration, a normal linear model assumes independent mean-zero normal errors of common variance with an appropriate predictor specification. Mean-zero errors conditional on skill and adequate sampling remain essential even when large-sample approximations relax normality. A bounded count response can have nonconstant conditional variance, so residual diagnostics and a scientifically suitable response model matter; count data do not become normally distributed just because the sample is large. Poisson regression is one possible alternative to investigate, but its own conditional mean–variance assumptions and the bounded device range require assessment, not automatic substitution. Complete-case selection can also bias the fitted association if it depends on the response in a relevant way. The only safe summary is conditional: the printed slope is positive, but the numerical effect, its standard error, t/F evidence and explanatory fit require a corrected, coherent output before a single definitive regression claim is made.
Every displayed age stratum has a higher proportion of employed respondents reporting use at least daily, and each has positive ordinal association. The visible counts do not support the printed claim of a conventional significant omnibus result in any one stratum: several test fields are contradictory, and sparse cells further limit the chi-squared approximation. Age-specific significance labels do not establish interaction or causation.
Conditioning on age means comparing the employment groups within each displayed age category. Each within-row percentage estimates a use distribution for that age–employment combination. This helps assess a marginal association that could reflect different age compositions, but broad age categories do not remove all residual confounding. The relevant conditional-independence null hypothesis is that employment and use are independent within every age stratum. It differs both from marginal independence and from a null hypothesis that the strength of association is identical across ages.
For the 14–24 stratum, . The non-employed group reports use at least daily in of cases, versus of employed cases: an 11.13-percentage-point difference. Daily use alone is versus . This is not a uniform upward shift at every threshold: never-use is also higher among employed respondents, versus , whereas weekly use is lower, versus . The count-based Cramér's V is about and Goodman and Kruskal's gamma about . The cells give on statistical degrees of freedom, with , agreeing qualitatively with the likelihood-ratio result , . The printed Pearson and disagree with the cells and with one another: that printed statistic at statistical degrees of freedom would give about , not . Four of twelve expected frequencies are below five, with minimum about , so an exact conditional test or a Monte Carlo test is preferable for calibrated inference rather than trusting a marginal printed significance label.
For ages 25–44, . At-least-daily use is in the non-employed group and in the employed group, a difference of 11.06 percentage points. Never-use is versus , daily use versus , and more-than-daily use versus . The count-based Cramér's V is about and Goodman and Kruskal's gamma about . The visible cells give , , and , , each with statistical degrees of freedom. These differ materially from the printed Pearson , , and printed likelihood-ratio , . Even the printed Pearson statistic at its stated statistical degrees of freedom gives , not the stated p-value. The minimum expected frequency is about , so the principal difficulty here is corrupted numerical output rather than a listed sparse-cell warning. The recomputed 5% test fails to reject independence, although its p-value is not evidence that the positive descriptive contrast is exactly zero.
For ages 45–54, . At-least-daily use is versus , a difference of 9.03 percentage points. Never-use is versus , and daily use versus . The count-based Cramér's V is about and Goodman and Kruskal's gamma about . The cells give , , consistent with the likelihood-ratio , . The printed Pearson and are incompatible with the cells and with one another: using that statistic at statistical degrees of freedom gives . The smallest expected frequency is about . Thus this is another positive descriptive contrast without a count-supported significant omnibus result at 5%.
For ages 55–64, . At-least-daily use is versus , a difference of 7.89 percentage points. Never-use is versus , and daily use versus . Cramér's V is about and Goodman and Kruskal's gamma about . The printed and count-based Pearson result agrees: , statistical degrees of freedom, . The likelihood-ratio p-value is about . Two of twelve expected frequencies are below five, with minimum about ; the nominal result does not indicate rejection, but a simulation-based check would be prudent if formal calibration mattered. Neither a large p-value nor the smaller sample establishes an absence of association.
For the oldest stratum, labelled 65+ in Figure 8, . At-least-daily use is versus , a difference of 5.61 percentage points. Never-use is versus . Cramér's V is about and Goodman and Kruskal's gamma about , the largest of the five displayed strata. Yet on statistical degrees of freedom gives , while the likelihood-ratio p-value is about . There are four expected frequencies below five, with minimum about . Sampling uncertainty and a sparse distribution therefore matter greatly; the larger descriptive ordinal magnitude is not evidence for a significant age interaction. The zero observed entries do not establish zero population probabilities. An exact conditional test or a Monte Carlo test can retain the six categories without relying on a doubtful asymptotic approximation. Collapsing categories should have a substantive justification; searching for a grouping that produces significance changes the inferential problem.[ref]
The following original analytical plot summarizes a common threshold rather than reproducing any source table. Its overall reference is deliberately separated: the five age strata total , not the in Figure 3, so their percentages cannot be pooled and called the reported overall result.
Figure 1.
At-least-daily use is more common among employed respondents in each displayed age stratum; the printed overall row is a separate, non-reconciling input
. Details.
Across the visible strata, frequent use declines strongly with age in both employment groups, while the at-least-daily employment difference remains positive. This is compatible with age being important to the use distribution and with a positive employment association persisting after age stratification. It is not a demonstrated Simpson's paradox: none of these displayed threshold differences reverses direction. The evidence also does not establish how much age confounds the overall result, because the strata do not reproduce its sample and the oldest age labels disagree across figures. Among young respondents the positive ordinal association coexists with a reversed never-use contrast, so the threshold summary should not be described as stochastic domination of every conditional distribution.
Ordinal measures summarize a different aspect from the omnibus tests. Counting pairs from each visible table gives Goodman and Kruskal's gamma approximately in age order. For use as response, the corresponding Somers' D values are about ; Kendall's tau-b values are ; and Stuart's tau-c values are . They are all positive and modest, but not interchangeable. Gamma discards pairs tied on either variable; Somers' D includes response ties separated by employment; Kendall's tau-b adjusts for ties in both variables; Stuart's tau-c adjusts for table dimensions. The printed second-variable tie counts violate the unordered-pair partition for ordinal data in all five strata, so the printed Somers and tau-b values should not be accepted as independently verified numbers.[ref]
Goodman and Kruskal's lambda for predicting the use category from employment is zero in all five visible strata: each employment row has the same modal use category as its stratum overall. This does not contradict their nonzero gamma or V, because the rest of each category distribution can change without its mode changing. Reversing the prediction target gives about for predicting employment from use. In the original display these are the second lambda values; identify the target directly rather than relying on ambiguous row/column-dependent labels. The contingency coefficient, another unsigned transformation of the Pearson statistic, adds no new direction and cannot repair a corrupted test statistic.
Even if all printed p-values were trusted, a significant result in one age group and a nonsignificant result in another would not prove that their effects differ. A statistical interaction needs a direct comparison of effects on a specified scale, not a comparison of significance labels. Five separate tests also create a multiple-testing issue if the aim is to claim at least one association; choosing categories or a threshold after inspection adds further selection. A joint conditional independence test for stratified contingency tables or an appropriate categorical-response model can target a clear combined hypothesis, with exact or simulation-based calibration where needed. Such a model would require coherent input tables before it could resolve the source discrepancies. The sound conclusion is a consistent positive descriptive tendency within the five shown strata, with no count-supported nominal 5% omnibus rejection in an individual stratum, and insufficient coherent output for a claimed causal or precisely quantified age-adjusted effect.
Within the 1424 complete records displayed here, employed respondents report more frequent use on average in the ordinal sense of positive pairwise association. The overall independence test is significant, but its sample association magnitude is modest and the result is observational. Some printed ordinal summaries are internally inconsistent.
Compare row percentages because employment groups have different sizes. Never-use is reported by of the non-employed group and of the employed group. Daily use is versus ; more-than-daily use is versus . Combining the last two categories gives versus , an employed-minus-non-employed difference of about 11.26 percentage points. That threshold comparison is a descriptive summary of the six-category table, not a replacement for the original omnibus test or a newly declared prespecified endpoint. It does not assign equal spacing to the six frequency categories.
Here the row counts, column counts and grand total are additive. Under the null hypothesis of employment–use independence, a contingency table has statistical degrees of freedom. The Pearson chi-squared statistic recomputed from the cells is , agreeing with the printed value, and its p-value is about . The likelihood-ratio test statistic gives . Both reject independence at the conventional 5% and 1% significance levels under the sampling assumptions. The minimum expected frequency, about , gives no sparse-cell warning for this table. The tests compare whole category distributions; they do not by themselves identify one category as the source of the association or establish its causal direction.
Cramér's V is . The generalized phi coefficient coincides with it for this two-row table, while the contingency coefficient is about . These are modest magnitudes; a small p-value does not make the relationship large or useful for individual prediction. The employment–use association could change after conditioning on age or other covariates, and the sample excludes cases without recorded use. Relative to the employment margins in Figure 1, the omitted complete-case counts are non-employed and employed, or about and of those groups. Different missing fractions alone do not identify the missing-data mechanism, but they rule out treating complete records as automatically representative of everyone.
The count-based Goodman and Kruskal's gamma is
With the employment categories ordered non-employed then employed and use ordered from never to more than daily, this positive value means concordant pairs outnumber discordant pairs among pairs untied on both variables. It is not a 16.9% increase in a person's use and is not a causal effect. Reversing one ordering reverses its sign. Excluding ties can make gamma appreciably larger than tie-adjusted measures.
For use as response and employment as predictor, the cells give Somers' D about , Kendall's tau-b about and Stuart's tau-c about . The printed Somers value and tau-b should not be presented as verified calculations: the table prints second-variable-only ties, whereas its cells give . The other four pair classes agree with the cells; the printed five classes sum to , not . The source does not establish an alternative tie convention that repairs those ordinary identities. The direction remains a weak positive association under either description, but the exact measures require coherent pair counts.
Modal prediction provides another perspective. Without employment information, predicting the globally most frequent use category, never, makes errors. Predicting a separate modal use category in each employment group makes errors. Thus Goodman and Kruskal's lambda for use given employment is : about a 1.97% reduction in modal-classification errors. For employment given use the corresponding reduction is . These identify the targets explicitly; the source's row-dependent/column-dependent labels should not be used to reverse the target interpretation. The two small numbers show why an independence test can be significant while coarse modal prediction improves very little. The supported overall finding is a modest positive association among observed respondents, requiring conditional analysis and a missing-data qualification before broader claims.

Pinned article: Introduction to the OurBigBook Project

Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
We have two killer features:
  1. topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculus
    Articles of different users are sorted by upvote within each article page. This feature is a bit like:
    • a Wikipedia where each user can have their own version of each article
    • a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
    This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.
    Figure 1.
    Screenshot of the "Derivative" topic page
    . View it live at: ourbigbook.com/go/topic/derivative
  2. local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:
    This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
    Figure 5. . You can also edit articles on the Web editor without installing anything locally.
    Video 3.
    Edit locally and publish demo
    . Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension.
  3. https://raw.githubusercontent.com/ourbigbook/ourbigbook-media/master/feature/x/hilbert-space-arrow.png
  4. Infinitely deep tables of contents:
    Figure 6.
    Dynamic article tree with infinitely deep table of contents
    .
    Descendant pages can also show up as toplevel e.g.: ourbigbook.com/cirosantilli/chordate-subclade
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact