Genetic risk score 2026-10-05
A genetic risk score combines allele counts from several genetic variants, usually using specified weights. In Mendelian randomization it can act as a combined instrumental variable for an exposure; interpretation still requires instrument relevance, instrumental-variable independence, and the exclusion restriction.
Horizontal pleiotropy Created 2026-09-28 Updated 2026-10-05
Horizontal pleiotropy occurs when a genetic instrument affects an outcome through a pathway other than the exposure under study. It violates the exclusion restriction in Mendelian randomization.
Instrumental variable 2026-09-28
An instrumental variable changes an exposure or treatment but affects the outcome only through that exposure. Together, instrument relevance, instrumental-variable independence, and the exclusion restriction identify causal effects under suitable structural assumptions.
Mendelian randomization 2026-09-28
Mendelian randomization uses inherited genetic variants associated with an exposure as instrumental variables. Its causal interpretation requires instrument relevance, instrumental-variable independence, and the exclusion restriction.
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.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 207 3 b Solution Created 2026-10-03 Updated 2026-10-05
An instrumental variable supplies variation in an exposure that can be used for causal inference about its effect on . Its three core requirements are:
- Instrument relevance: changes the distribution of ; in a simple linear model this requires a nonzero first-stage association.
- Instrumental-variable independence: is independent of unmeasured common causes of and , or independent of the relevant potential outcomes conditional on specified measured covariates.
- Exclusion restriction: interventions on affect only through , with no other causal pathway. In potential outcomes notation, .
Relevance, independence, and exclusion are the core instrumental-variable assumptions. They do not by themselves identify an arbitrary population-average effect. For a binary instrument and treatment, instrumental-variable monotonicity and the usual consistency in causal inference assumptions can identify a local average treatment effect; stronger effect-homogeneity or structural-model assumptions are needed for other effect interpretations.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 207 3 c Solution Created 2026-10-03 Updated 2026-10-05
Under the displayed causal directed acyclic graphs, with nonzero effects along the relevant arrows and no exact cancellation of the effects on , the valid instrumental variables are scenarios (i), (ii), and (iv). The path arguments are:
- In (i), supplies instrument relevance, and every directed path from to goes through . The unmeasured does not cause , so instrumental-variable independence holds.
- In (ii), supplies instrument relevance. Although is unmeasured, every directed path from to still passes through . The path is blocked at its collider without conditioning, so it does not violate instrumental-variable independence.
- In (iii), bypasses , violating the exclusion restriction. There is also no directed effect of on , so instrument relevance is absent in this graph.
- In (iv), both and affect , and all directed paths to still pass through . The unconditioned collider blocks the route to , so both instrumental-variable independence and the exclusion restriction hold. Conditioning on could introduce collider bias, but is not being conditioned on here.
- In (v), bypasses , so the exclusion restriction fails despite the additional arrow.
- In (vi), bypasses , and affects the unmeasured common cause . Thus the exclusion restriction and the stated instrumental-variable independence requirement fail.
An upstream intermediate variable need not invalidate an instrumental variable if its routes to the outcome all pass through the target exposure; an outcome intermediate reached without that exposure does invalidate it.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 207 3 e Solution Created 2026-10-03 Updated 2026-10-05
For the electronic-record observational study, three strengths are:
- The large dataset improves precision of the estimated statistical association and allows detection of associations too small for a modest study.
- Adjusting for age, sex, and ancestry addresses specified measured sources of confounding.
- Routinely collected hypercalcaemia and migraine diagnoses give evidence from clinical practice, rather than depending solely on recalled calcium intake.
Three weaknesses are:
- Residual confounding remains possible: for example, other diseases, medicines, or health behaviours may affect both serum calcium and migraine.
- Co-occurrence does not establish temporal order, leaving reverse causality possible. Migraine, its management, or the decision to investigate it may alter recorded serum calcium.
- Selection bias and diagnostic misclassification can arise because patients enter health records and receive testing nonrandomly. Moreover, hypercalcaemia is not a direct measure of dietary calcium intake, limiting the claimed intervention's interpretation.
For two-sample Mendelian randomization, three strengths are:
- Genetic variants are inherited before adult migraine develops, making ordinary disease-to-genotype reverse causality implausible.
- Under instrumental-variable independence, genetic assignment reduces the environmental confounding that undermines a conventional observational study.
- The large outcome sample and combined genetic risk score improve precision, while concordant weighted-median Mendelian randomization estimator and MR-Egger regression results offer checks under different assumptions about horizontal pleiotropy.
Three weaknesses are:
- Horizontal pleiotropy can violate the exclusion restriction, while population stratification or inherited family effects can violate instrumental-variable independence. In the supplied figure, one variant has a much larger serum calcium association than the others, motivating a check for dependence on that single variant.
- The score explains only 1.25% of serum calcium variance, so instrument strength must be assessed rather than assumed. Different populations in the two samples can also undermine transport of genetic associations. A small variance fraction is not itself proof of a weak instrument in a large sample.
- A lifelong genetically influenced shift in serum calcium is not equivalent to changing dietary calcium intake. The robustness methods also need assumptions: the weighted-median Mendelian randomization estimator needs more than half of the weight from valid instruments, and MR-Egger regression needs the InSIDE assumption. The nonsignificant MR-Egger regression intercept is compatible with zero average directional horizontal pleiotropy, but with eight variants it cannot prove all instruments valid.
Thus the agreement supports the hypothesis, but does not establish the effect of a dietary intervention.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 207 2 c Solution 2026-09-28
The core instrumental variable assumptions are:
- Instrument relevance: the genetic variant changes educational attainment.
- Instrumental-variable independence: it is independent of unmeasured common causes of education and myopia, after any justified ancestry adjustment.
- The exclusion restriction: it affects myopia only through education, with no horizontal pleiotropy.
For a local average effect one additionally uses instrumental-variable monotonicity. Because the valid instrument supplies variation in education independent of the confounders and has no direct route to the outcome, the instrument-outcome association can be attributed to the education changed by the instrument without measuring every confounder.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 221 2 a Solution 2026-09-28
- Instrument relevance: changes the conditional distribution of , for example on a set of positive probability.
- Instrumental-variable independence: is independent of latent outcome causes and the relevant potential outcomes, for example .
- The exclusion restriction: affects only through , written .
Together with consistency of potential outcomes and positivity in causal inference, these assumptions make variation in induced by causally interpretable. In the displayed graph, relevance is the edge , independence is the absence of a path from to after conditioning on , and exclusion is the absence of a direct edge.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 207 1 1 3 Solution 2026-09-28
The plots test the plausibility of the instrumental-variable independence and exclusion restriction assumptions. Both candidate instruments are strongly associated with 25(OH)D, supporting instrument relevance. The focused instrument has estimates near zero for the other measured traits. The polygenic instrument is strongly associated with LDL cholesterol and triglycerides, suggesting horizontal pleiotropy: it may influence mortality through lipid pathways that do not pass through vitamin D.
I would therefore prefer the focused instrument. Its use of fewer biologically understood variants may reduce precision, but its cleaner associations make the causal assumptions more credible.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 221 1 i Solution 2026-09-28
- Instrument relevance: the conditional law of changes with .
- Instrumental-variable independence: is independent of the joint collection of potential treatments and outcomes, such as .
- The exclusion restriction: , so can affect only through .
- Consistency of potential outcomes and no interference in causal inference connect the potential variables to the observations.
In the graph, has open noncausal paths to that do not pass through , includingEquivalently, these paths remain after deleting the causal edge . Thus is associated with potential outcomes through the latent variables and , violating instrumental-variable independence; it is not a valid marginal instrument.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 207 1 1 2 Solution 2026-09-28
The assumptions are plausible only approximately. First, birthday timing can correlate with age, household composition, season, holidays, local epidemic phase, testing, or health-care use. Any such common cause of and violates instrumental-variable independence. Second, a birthday may alter contacts, deliveries, travel, or testing even without the intended party exposure; those pathways violate the exclusion restriction. The instrument may also be weak where restrictions or low local prevalence suppress gatherings.
Two useful assessments are:
- Check covariate balance across birthday-event groups, including age, household size, calendar time, local prevalence, and pre-event infection or testing. Repeat the analysis at placebo dates and for negative control outcomes.
- Measure a first-stage proxy for gatherings, such as mobility, restaurant visits, or contact reports, and verify instrument relevance. An event-study around the birthday can test for pre-existing trends and for an effect concentrated after, rather than before, the birthday.
These checks cannot prove independence or exclusion, but failures directly falsify implications of those assumptions.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 207 1 1 Solution 2026-09-28
Let indicate a recent birthday event, indicate a social gathering, and denote subsequent household COVID-19 infection. The standard instrumental variable conditions are:
- Instrument relevance: changes the probability or intensity of .
- Instrumental-variable independence: conditional on chosen baseline covariates, birthday timing is independent of unmeasured causes of infection and of the relevant potential outcomes.
- The exclusion restriction: affects only through the social gathering .
- For a local average treatment effect, instrumental-variable monotonicity excludes households that would hold a gathering without a birthday event but would suppress it because of one.
The usual consistency in causal inference, well-defined exposure, and absence of relevant interference in causal inference are also needed to interpret the result causally.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 221 4 i Solution 2026-09-28
In potential outcome notation, a valid instrument requires:
- Instrumental-variable independence: , strengthened to all relevant joint potential outcomes as needed. Coin flipping makes the incentive assignment independent of quitting behavior and blood pressure under either assignment.
- Exclusion restriction: . The incentive can affect blood pressure only by changing whether the subject quits, not through stress, income, or another direct route.
- Instrument relevance: , or at least . The monetary incentive must change quitting probability.
- Consistency of potential outcomes and no interference: observed quitting and blood pressure equal the potential values under the assigned encouragement and received exposure, and one subject's assignment does not affect another's outcome.
Within-family Mendelian randomization 2026-10-05
Within-family Mendelian randomization uses genetic contrasts within families, such as differences between siblings. Conditioning on shared parental background can reduce population stratification and family-level sources of confounding, although the exclusion restriction and sufficient instrument relevance remain necessary.