Target Trial Emulation: Causal Claims About Teaching Changes From Evaluation Data
When you ask whether a teaching change improved outcomes, you are making a causal claim from observational data. Target trial emulation is the discipline for making that claim credibly.
Koji Education Team
Product
In brief
Whenever a department asks whether a new format, a flipped classroom, or a revised assessment improved ratings or learning, it is making a causal claim from observational data. Target trial emulation is a design discipline, imported from epidemiology, that forces you to specify the randomised experiment you would ideally have run and then build your observational comparison to match it. It does not manufacture causal certainty, but it exposes the design errors, such as self-selection and misaligned start times, that quietly invalidate most before-and-after teaching evaluations.
What the research says
The framework originates with Hernán and Robins (2016), who proposed that causal inference from large observational databases should be understood as an attempt to emulate a target trial, meaning the randomised experiment that would answer the question if it could be run. Their key move is to make the hypothetical trial explicit. Instead of asking vaguely whether a change was associated with better outcomes, you write the protocol of the ideal trial and then ask, for each component, how the observational data can stand in for it. Where the emulation cannot match the trial, that gap is exactly where bias enters, and naming it is the first step to addressing it.
Hernán, Wang and Leaf (2022) distilled the approach for a general scientific audience, describing target trial emulation as a way to design an observational study so that it preserves the advantages of a randomised trial, while being candid about its limitations. The protocol they specify has a fixed set of components: eligibility criteria, the treatment strategies being compared, the assignment procedure, the start and end of follow-up, the outcome, the causal contrast of interest, and the analysis plan. The discipline is to define each of these before looking at results, which prevents the common practice of letting the available data dictate an under-specified comparison.
Matthews, Danaei, Islam and Kurth (2022) provided an accessible treatment aimed at researchers moving from randomised trials to observational studies. Their central practical contribution is the emphasis on aligning time zero, the single moment at which eligibility is assessed, the treatment strategy is assigned, and follow-up begins. When these are not aligned, the study imports well-known distortions such as immortal time bias, where a period during which the outcome could not yet have occurred is wrongly credited to one group. Their worked examples show how emulating each protocol component in turn makes these errors visible and avoidable.
Why it matters for course evaluation in practice
Teaching-improvement evaluation is full of implicit causal claims built on observational comparisons. A department introduces a flipped classroom and compares this year's ratings to last year's; an instructor offers an optional revision workshop and compares attenders to non-attenders; a programme redesigns an assessment and compares students who completed it to the whole enrolled cohort. Each of these is a target trial waiting to be specified, and each contains a classic bias when it is not. The year-on-year comparison confounds the change with everything else that differed between cohorts. The workshop comparison is contaminated by self-selection, because the students who choose to attend differ systematically from those who do not. The completed-versus-enrolled comparison is a survivorship problem closely related to immortal time bias.
Writing the target trial protocol disciplines all of this. Specifying eligibility forces you to decide which students and sections genuinely could have received either version of the teaching. Specifying treatment strategies forces a precise definition of the intervention rather than a vague label. Specifying time zero forces you to align when students became eligible, when they were exposed to the change, and when their outcomes started being counted, which is where most teaching evaluations silently go wrong. The payoff is not a guarantee of truth but a comparison whose weaknesses are named and, where possible, addressed through the analysis methods already documented for confounding adjustment and quasi-experimental design.
Limitations and honest caveats
The framework carries real limitations that a methodologically literate reader will press on. First and most important, emulation does not remove confounding; it only organises your attack on it. The validity of the causal claim still rests on having measured and adjusted for the variables that drive both exposure and outcome, an assumption that is untestable and often implausible in education data. Second, the positivity requirement, that every type of student could in principle have received either version of the teaching, frequently fails when a change is rolled out to everyone or chosen by a distinctive subgroup. Third, many teaching changes are implemented campus-wide or department-wide with no concurrent comparison group at all, in which case target trial emulation must be paired with interrupted time series or synthetic control approaches rather than a contemporaneous contrast. Fourth, course cohorts are small by epidemiological standards, so even a well-specified emulation may be underpowered to detect the modest effects typical of teaching interventions. The honest framing is that target trial emulation improves the credibility and transparency of a causal claim; it does not license certainty where the data cannot support it.
How Koji incorporates this
Koji is designed to help institutions assemble the ingredients a credible emulation needs, while being explicit that the platform supports the design rather than manufacturing a causal verdict.
- Consistent instruments across cohorts. Because a clean causal contrast requires the outcome to be measured the same way before and after a change, Koji keeps evaluation instruments stable across cohorts so that this year and last year are genuinely comparable rather than differing by measurement.
- Structured capture of eligibility and timing. Koji records which students experienced which version of a course and when a change took effect, which is precisely the information needed to define eligibility and align time zero in a target trial protocol.
- Cohort comparison and triangulation. Koji's reporting can compare cohorts and triangulate across multiple sections or terms, supporting the contrast the emulation specifies while flagging where groups are not comparable.
- Bias-aware reporting. Koji surfaces selection signals, such as who opted into an optional intervention, so analysts can see the self-selection that would otherwise be hidden inside a naive comparison.
- Rich outcome measurement beyond a single number. Koji's AI-moderated interviews capture outcomes that a bare rating misses, giving the causal contrast a more meaningful dependent variable.
The same evaluation engine behind Koji also powers the core research platform at koji.so, where product teams asking did this change cause the improvement face the identical inferential trap. In both cases the Koji stance is to make the target trial specifiable, not to assert causation the data cannot support.
Putting this into practice
A team that wants to make a defensible claim about a teaching change can follow the protocol directly. Before collecting or analysing anything, write the ideal trial you wish you could run: who would be eligible, which two teaching strategies you would compare, how students would be assigned, when follow-up would start and end, what outcome you would measure, and what contrast you care about. Then go through each component and ask how your real data can emulate it, writing down every place where it cannot. Pay special attention to time zero, ensuring that eligibility, exposure to the change, and the start of outcome measurement all refer to the same moment, so that no group is credited with a period in which the outcome could not have happened. Decide the analysis, including which confounders you will adjust for, before seeing the results. Where there is no concurrent comparison group because the change was universal, switch to an interrupted time series or synthetic control design rather than forcing a contemporaneous contrast. Finally, report the emulation honestly, including the gaps, so that readers can judge the causal claim on its design rather than on its conclusion. This turns an informal before-and-after story into a transparent, criticisable piece of evidence.
Frequently asked questions
What is target trial emulation?
It is a design discipline in which you specify the randomised trial you would ideally run to answer a causal question, then build your observational comparison to match that trial component by component. Hernán and Robins (2016) introduced it as a way to make causal inference from observational data explicit about where it falls short of a real experiment.
Why does it apply to course evaluation?
Because most teaching-improvement claims are causal claims built on observational comparisons, such as this year versus last year or attenders versus non-attenders. Each of these is an implicit trial, and writing the explicit protocol exposes the self-selection, confounding and timing errors that otherwise invalidate the comparison.
What is time zero and why does it matter?
Time zero is the single moment at which eligibility is assessed, the teaching strategy is assigned, and outcome measurement begins. Matthews and colleagues (2022) stress aligning these, because when they are not aligned the study imports immortal time bias, crediting one group with a period in which the outcome could not yet have occurred.
Does emulating a trial prove the teaching change worked?
No. Emulation organises the attack on bias but does not remove confounding; the causal claim still depends on having measured and adjusted for the variables that drive both exposure and outcome. Hernán, Wang and Leaf (2022) are explicit that the method has limitations and does not license certainty the data cannot support.
What if the change was rolled out to everyone?
Then there is no concurrent comparison group and the positivity requirement fails, so a straightforward contrast is not available. In that case target trial emulation should be paired with an interrupted time series or synthetic control design that uses the pre-change trajectory or a constructed comparison instead of a contemporaneous group.
How does Koji support this?
Koji keeps evaluation instruments stable across cohorts so outcomes are comparable, records which students experienced which version of a course and when a change took effect to help define eligibility and time zero, compares cohorts while flagging non-comparability, and surfaces selection signals so analysts can see self-selection rather than hiding it inside a naive before-and-after comparison.
References
- Hernán, M. A., & Robins, J. M. (2016). Using big data to emulate a target trial when a randomized trial is not available. American Journal of Epidemiology, 183(8), 758-764. https://doi.org/10.1093/aje/kwv254
- Hernán, M. A., Wang, W., & Leaf, D. E. (2022). Target trial emulation: A framework for causal inference from observational data. JAMA, 328(24), 2446-2447. https://doi.org/10.1001/jama.2022.21383
- Matthews, A. A., Danaei, G., Islam, N., & Kurth, T. (2022). Target trial emulation: Applying principles of randomised trials to observational studies. BMJ, 378, e071108. https://doi.org/10.1136/bmj-2022-071108
Related resources
Related articles
Propensity Score Matching for Course-Evaluation Confounds
How propensity score matching (PSM) adjusts student-evaluation-of-teaching comparisons for confounds like class size, course level, discipline, and grading — and where it honestly falls short.
Did the Teaching Change Cause the Score to Move? Difference-in-Differences for Course Evaluation
Difference-in-differences lets you estimate whether a course redesign actually moved evaluation scores by comparing a treated course against a similar untouched one over time. Here is how the design works, when its parallel-trends assumption holds, and how to use it honestly in quality assurance.
Build a Synthetic Comparison Department: Synthetic Control Methods for a Teaching Change
When one programme redesigns its teaching, you rarely have a clean control group. Synthetic control methods build a weighted "synthetic" comparator from other programmes so you can estimate whether the change actually moved evaluation scores.
Did Crossing the Threshold Change the Rating? Regression Discontinuity for Course-Evaluation Cutoff Effects
When a rule assigns students, instructors, or courses on either side of a sharp cutoff, regression discontinuity turns that arbitrary boundary into near-experimental evidence about what actually moved an evaluation score.