Estimand Created 2026-10-07 Updated 2026-10-14
An estimand is the population quantity an analysis seeks to learn, as distinct from an estimator calculated from a sample. In a randomized controlled trial, the causal effect of treatment assignment and the effect of actual treatment receipt are different estimands when adherence is imperfect.
Gaussian regression toward the mean 2026-10-14
Take the original synthetic model and , mutually independent random variables, with the second argument denoting variance. The pair has a multivariate normal distribution with mean zero, unit marginal variances, and Pearson correlation coefficient . Its conditional multivariate normal distribution isFor a first reading , the second reading has conditional expectation and conditional variance , hence standard deviation . There is still conditional probability of , a movement farther from zero, where is the standard normal distribution function. The line describes a conditional mean, not an individual trajectory.
A short derivation isolates . Its covariance with is zero and its variance is . Because has a multivariate normal distribution, zero covariance implies independence: independently of . This also explains why reversing the two measurements gives . The statistical association does not identify a direction of causal effect.
Intention-to-treat analysis Created 2026-10-07 Updated 2026-10-14
An intention-to-treat analysis compares participants according to their randomized assignment, retaining that assignment even when they do not use the assigned intervention. Its causal effect is the effect of assignment under the study's actual adherence pattern, rather than the effect of perfect adherence. Randomization protects this comparison from baseline confounding; missing data can still require assumptions or additional analysis.
Linear regression Created 2026-09-24 Updated 2026-10-14
Linear regression models a response's conditional expectation as a linear combination of specified predictors. In matrix form,where the design matrix describes the observations, contains the regression coefficients, and contains the errors. The fitted values estimate the response means. The model is linear in its regression coefficients; its columns may include powers, interactions, or other transformed predictors, so polynomial regression can fit curved relationships using the same machinery.
For a concrete example, take five constructed observationsAn ordinary least squares fit with an intercept gives the line . Its regression residuals are and its residual sum of squares is . A one-unit increase in the predictor corresponds to a one-unit increase in the fitted response. This is a description of this fitted association; interpreting a change as a causal effect requires the assumptions of a causal inference problem.
A five-point least-squares fit separates the fitted trend from residual deviations
. Details. The geometric reason for the fit is simple. The possible mean vectors form the column space of . Ordinary least squares chooses the orthogonal projection of the data vector onto that vector subspace, so the remaining regression residual is orthogonal to every permitted fitted direction. The least-squares normal equations express this orthogonality as . The data's explained component and unexplained component are therefore separated by the same geometry used in a Hilbert space.
The optimization definition makes sense for any observed data. Quantifying the uncertainty of the regression coefficients needs additional assumptions about the sampling and errors. With fixed of full column rank and mean-zero errors with covariance matrix , ordinary least squares is unbiased and has covariance ; the Gauss-Markov theorem compares it with other linear unbiased estimators. A normal linear model additionally makes Student t-distribution intervals and tests exact in finite samples. Model adequacy and predictive assessment remain relevant even when these calculations are available.
Two historical settings help explain the subject's appeal. Adrien-Marie Legendre's Nouvelles méthodes pour la détermination des orbites des comètes (1805) includes an appendix on the method of least squares: observations give more equations than unknowns, and squared errors provide a criterion for reconciling them. Its astronomical setting shows the motivation for combining imperfect measurements. [ref]
https://www.e-rara.ch/zut/content/titleinfo/10838079. Legendre, Nouvelles méthodes pour la détermination des orbites des comètes, 1805, appendix pp. 72–80
Francis Galton's Regression Towards Mediocrity in Hereditary Stature (1886) examines the association between parental and offspring heights and the tendency of group averages toward the population average. This is a historical use of the regression name; the modern linear model is a general statistical formulation. [ref]https://zenodo.org/records/1449548. Galton, Regression Towards Mediocrity in Hereditary Stature, 1886, original article
Local average treatment effect Created 2026-09-28 Updated 2026-10-03
The local average treatment effect is the average causal effect among compliers, the units whose treatment status changes in the direction encouraged by the instrument.
Meta-regression 2026-10-07
Meta-regression relates study effect estimates to study-level explanatory variables. A common random-effects meta-analysis extension is , where and . For log odds ratios, is a ratio of underlying odds ratios per unit of . Few studies, correlated design changes and exploratory variable selection limit interpretation; a study-level association does not identify an individual-level causal effect. The interpretation of study-level predictors is also discussed in the Cochrane methods handbook, section 10.11.
Migraine Created 2026-10-05 Updated 2026-10-13
Migraine is a neurological disorder that can be an outcome in a clinical trial or an observational study. Its statistical association with an exposure does not alone establish a causal effect.
MR-Egger regression 2026-10-05
MR-Egger regression fits genetic outcome associations to genetic exposure associations with a free intercept. Its slope estimates a causal effect under the InSIDE assumption and appropriate instrument-strength assumptions; its intercept assesses average directional horizontal pleiotropy. A nonsignificant intercept, especially with few genetic variants, does not prove the exclusion restriction for every instrument.
Multiple linear regression 2026-10-14
Multiple linear regression models a scalar response by an intercept and several predictors. It is linear in the regression coefficients, even when predictors include transformed variables or interactions. In an observational study, adjustment can address measured confounding, but does not automatically identify a causal effect. Improvements in fitted coefficient of determination require external predictive assessment rather than being treated as proof of improved future prediction.
Past exam of the mathematics course of the University of Cambridge 2001 iii Paper 28 2 i Solution Created 2026-10-03 Updated 2026-10-14
The missing output is needed to identify the actual regression formula, response column, transformations and coefficient estimates. A useful possible analysis regresses the maintained-school percentage among acceptances on the corresponding percentage among applications, allowing for year; it must be described as a model of college-level composition, not a direct estimate of individual acceptance probabilities.
For instance, if and are these two percentages, a normal linear model might specify , with a slope-by-year interaction term if needed. The intercept is the expected response at zero predictor, often an extrapolation; the slope is a percentage-point change in acceptance composition per percentage-point change in application composition. A slope of one is not by itself evidence of equal acceptance chances: equal chances within every college would give the entire relation , including zero intercept and no year shift. A fit with positive slope mainly confirms that applicant composition helps predict acceptance composition.
Regression diagnostics should include residuals versus fitted values and predictors, a residual normal Q-Q plot, checks of heteroscedasticity, regression leverage, studentized residuals and Cook's distance. The aggregate mature-college category merits an influence check and a sensitivity analysis: combining several colleges can conceal different within-college patterns. Repeated observations from the same college across years may have correlated errors, so treating them as independent needs justification. Check nonlinearity, the year interaction and the effects of excluding no observation except with a substantive reason.
Percentages are bounded, and their precision depends on their denominators. A simple weighted least squares or binomial analysis requires the underlying numbers accepted, not merely percentages. For a proportion based on people, the working variance is under independent sampling, rather than constant across colleges. If the predictor percentage is itself estimated, an ordinary regression also ignores its uncertainty. The supplied summaries cannot recover all four cells of each college contingency table or the actual fitted numerical output.
The published Cambridge percentage table nevertheless allows a descriptive comparison of acceptance rates. Write for the maintained-school proportion among applicants and for its proportion among acceptances. The relative risk from group compositions givesThe overall acceptance probability cancels by Bayes' theorem. This risk ratio compares acceptance probabilities; it is not the acceptance odds ratio, which also needs the overall acceptance probability.
For Christ's, the two published application/acceptance pairs give risk ratios and . If the displayed percentages were rounded to the nearest whole percentage point, the relative risk bounds from rounded group compositions give ranges approximately and . Thus both comparisons remain below one under that rounding assumption. These are descriptive comparisons of observed groups, without adjustment for applicant qualifications or a causal effect interpretation. The published compositions determine approximate relative acceptance rates, but not their standard errors or the original regression results.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 44 4 a Solution Created 2026-10-03 Updated 2026-10-14
A court-based randomized controlled trial would assign eligible offenders between the two sentencing policies using randomization, ideally stratified by court and important prespecified risk factors. With allocation concealment, the next assignment cannot be selected to suit an offender's prognosis. Baseline characteristics, both recorded and unrecorded, are balanced in distribution rather than confounded with judges' sentencing preferences. This makes a comparison of outcomes interpretable as a causal effect of assignment, subject to complete and comparable follow-up, whereas separate historical cohorts can differ in severity, social circumstances or calendar period.
The commission should compare both specified outcomes over the same 360-day period from sentencing, using an intention-to-treat analysis. An offender initially assigned community service remains in that group even if the order is later revoked and prison follows. Revocation is part of the policy's consequences; restricting the comparison to completers would select on a post-assignment outcome and lose the protection of randomization.
Within-court individual randomization also provides an objective allocation procedure and valid uncertainty estimates. It does not guarantee identical characteristics in a particular finite sample or eliminate loss to follow-up, unequal outcome ascertainment or limited generalizability. Eligibility, genuine uncertainty about the two policies, and a feasible authorized allocation mechanism would need agreement before the trial. If whole courts rather than individuals were assigned, that would be a cluster-randomized trial and its correlation structure would require a different sample size calculation.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 44 5 c Solution Created 2026-10-03 Updated 2026-10-14
Use the original PDF's value ; the TeX aid misreads its last digit. In the fitted conditional mixture, means that about 57.5% are assigned to the structural-zero, or modelled cured, component. Its asymptotic 95% confidence interval of shows substantial uncertainty about that fraction. An observed post-treatment zero alone is not proof of cure, since the non-cured Poisson distribution can also produce zero.
The parameter is a conditional allocation probability, not the ratio of post-treatment to pre-treatment means. That ratio among non-cured patients is . HenceThe map is strictly increasing, so transform the endpoints of the supplied 95% confidence interval:No change in the non-cured mean is , equivalently , which lies in this interval. Thus the point estimate suggests a reduction, but this interval does not firmly establish one among the non-cured patients at the corresponding two-sided 5% level. It is not correct to describe itself as a 61.4% reduction in their mean count.
Under a full pre-conditioning mixture with cure independent of the baseline rate, the population mean ratio would be , whose plug-in value is about . This combines disappearance of counts in one component with a change of rate in the other; it is distinct from the conditional estimate's direct interpretation. The two marginal confidence intervals cannot simply be multiplied to obtain a calibrated joint 95% interval for this derived quantity.
Only 12 patients were observed, so the asymptotic intervals, particularly for a mixture parameter near a boundary, should be interpreted cautiously. The data describe one-minute counts and do not establish permanent cure. Nor does an uncontrolled before-and-after comparison alone prove a causal effect of the drug: natural count variability, secular changes and regression to the mean remain possible. The structural-zero interpretation and the reduction among non-cured patients are conclusions within the specified statistical model.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 34 2 d Solution Created 2026-10-03 Updated 2026-10-14
On the stipulated figures, a 20% decline from 200 cocaine-related deaths means about 40 fewer deaths, against about 10 attributed to mephedrone:That bookkeeping is relevant to a population-harm assessment only if the avoided deaths really result from substitution, the new deaths are counted comparably, and overlapping drug attributions are not counted twice. A change in the legality of one drug is an intervention affecting behaviour; the before-and-after association alone does not identify its causal effect.
Distinguish per-user danger from total population harm. More use can raise total deaths even for a less dangerous drug, and an increase can involve new users who would otherwise use no drug. Conversely, restricting a substitute may move users back to more dangerous alternatives. The relative fatality risks do not mechanically determine legal classification: nonfatal harm, dependence, dosage and purity, co-use, the composition of users, enforcement and supply effects, and uncertainty in the estimates all matter. Any policy assessment should compare plausible behavioural responses to the alternatives, including displacement of both cocaine and MDMA, rather than extrapolate from ten deaths alone.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 206 4 c Solution Created 2026-10-03 Updated 2026-10-06
This is a sequential analysis of deviance for nested generalized linear models. Adding age to the intercept-only logistic regression reduces deviance by , with approximate p-value . Adding frailty to the age model reduces it by another , with p-value . Thus both variables have evidence of association with surgical success, under the model assumptions, and neither should be dropped solely on these results.
The second test assesses frailty adjusted for age, whereas the first assesses age before frailty is included. Sequential tests depend on term order. Evidence for age adjusted for frailty is additionally provided by its full-model Wald test, . Both fitted coefficients are negative: age and frailty are associated with lower fitted success probabilities. On the odds scale, one extra year at fixed frailty multiplies the odds by , and frailty at fixed age multiplies them by . These are odds ratios, not risk ratios, and an observational statistical association does not by itself establish a causal effect.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 206 1 c Solution Created 2026-10-03 Updated 2026-10-05
The negative binomial regression assumes independent random variables conditional on their recorded days, withThe logarithmic link function applies to the conditional expectation, not to the observed count. The displayed maximum-likelihood estimates areand the dispersion parameter for the fitted family is one. Thus the fitted variance is , practically the Poisson distribution variance at these means.
Increasing the day by one multiplies the conditional expectation by , a decrease of about . Comparing days 365 and 1 gives . The negative slope has Wald statistic approximately , so under the stated model assumptions there is very strong evidence of a decreasing conditional mean:This is an association with calendar day, not a causal effect established by the regression. The printed negative-binomial residual deviance is on residual degrees of freedom, which is a reason to investigate the adequacy of the assumed count model and dependence structure. In particular, the small reported slope standard error cannot make a misspecified model reliable.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 207 3 a Solution Created 2026-10-03 Updated 2026-10-05
Let and be the potential outcomes for the same individual under well-defined interventions setting the binary exposure to 1 and 0. The average treatment effect, also called the average causal effect on the additive scale, isThe average is over the target population. This compares hypothetical outcomes under two interventions, rather than the observed difference , which can be distorted by confounding. For binary , the displayed contrast is a causal risk difference. Consistency in causal inference and a well-defined intervention, including an appropriate no-interference in causal inference assumption, give these potential outcomes their meaning.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 2 5J a Solution Created 2026-09-24 Updated 2026-10-07
For participants with the same recorded history, the first linear regression estimates that one additional average mile cycled per week is associated with fewer asthma episodes. The corresponding -value is , giving evidence against a zero conditional association.
The second model estimates that, among participants with the same history, receiving the incentive is associated with more episodes. The third estimates that receiving the incentive is associated with more miles cycled per week. Both incentive coefficients have very small p-values. Because the incentive was assigned in a randomized controlled trial, these last two comparisons estimate a causal effect of the incentive.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 207 1 1 Solution 2026-09-28
Vitamin D is a causal determinant of mortality risk if an intervention that changes vitamin-D status changes the distribution of the corresponding potential outcome for mortality. This is a claim about a causal effect, rather than merely an observed association.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 221 4 i Solution 2026-09-28
The administrative data include only encounters with . Conditioning on the stop indicator selects on the colliderwhich opens the noncausal path and creates collider bias. The equal entries estimate only the selected risks . They ignore racial differences in the probability of being stopped and therefore do not identify the total causal effect of race on violence. This is also selection bias, because encounters with never enter the dataset.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 207 1 b Solution Created 2026-09-24 Updated 2026-09-25
The raw difference is generally not a causal effect. Existing UTCs may differ systematically from non-UTCs in location, admissions, pupil composition, prior attainment, resources, and the local apprenticeship market. These are possible confounders of school type and outcome. The comparison also weights the 43 UTCs and roughly 3500 controls very differently from a clearly defined target population. Without conditional exchangeability, positivity, and consistency, the difference mixes the effect of UTC status with selection bias.

