Did the teaching change work? Difference-in-differences for course evaluation
Scores went up after the redesign, so it worked. Or did the whole year go up? Difference-in-differences is a simple way to separate a teaching change from everything else that moved the scores, and it needs less than most module teams think.
Koji for Education
Research & Editorial Team · November 17, 2026
Short answer: A module's evaluation scores going up after a teaching change tells you very little on its own. Scores move from year to year for reasons that have nothing to do with the change: a different cohort, a new timetable, a programme-wide shift in mood, or a module that scored unusually low last year drifting back to normal. Difference-in-differences is a simple way to separate the change from the noise around it. You compare how much your module moved with how much a similar module that did not change moved over the same period. The gap between those two movements is your best estimate of what the change did. It needs a comparison module, at least one measurement before the change, and the same questions asked both times.
Why before-and-after is not enough
Most teaching changes in universities are evaluated the same way. A module leader redesigns the module, the next round of evaluations comes in, and the scores are compared with last year's. If they went up, the change worked. If they went down, it didn't, or students "weren't ready for it".
Methodologists have warned against this design for more than sixty years. Campbell and Stanley's Experimental and Quasi-Experimental Designs for Research (1963), first written for the Handbook of Research on Teaching, files the one-group pretest-posttest design under "pre-experimental" designs, because it can't rule out the obvious rivals. For course evaluation, those rivals are concrete:
- History. Something else happened between the two measurements: a new timetable, a strike, a change in assessment regulations, a cost-of-living crisis that made students tired across the board.
- Selection. This year's cohort is not last year's. Entry grades, the share of international students or the mix of joint-honours students can all shift.
- Regression to the mean. Modules are usually redesigned because they scored badly. A low score is partly bad luck, and bad luck tends not to repeat, so the next score is likely to be higher even if nothing changed.
- Instrumentation. If the questionnaire changed at the same time, the scores are no longer on the same ruler.
Every one of these can produce a rise that looks like success. None of them is about the teaching.
The idea behind difference-in-differences
The best-known example comes from economics. In April 1992, New Jersey raised its minimum wage and neighbouring eastern Pennsylvania did not. David Card and Alan Krueger surveyed fast-food restaurants in both states before and after the rise, about 410 of them, and compared how employment changed in each (Minimum Wages and Employment, American Economic Review, 1994). Pennsylvania was there to show what would have happened to New Jersey without the policy. Whatever moved both states (the economy, the season) cancels out. What's left is the difference in their differences.
The same logic works for a module:
- Measure the redesigned module before and after the change.
- Measure one or more similar modules that didn't change, over the same two periods.
- Subtract each module's "before" from its "after".
- Subtract the comparison modules' change from the redesigned module's change.
That final number is the estimate. It rests on one assumption, called parallel trends: without the change, your module would have moved the same way as the comparison modules. You can't prove that assumption, but you can check whether it looks plausible. If you have two or three years of scores before the change and the modules moved in step during those years, the assumption is more believable. If they were already drifting apart, the method won't rescue you.
A worked example
The numbers here are illustrative. A second-year research methods module in a psychology programme scored 3.6 out of 5 on its overall item last year. Over the summer the module leader replaced weekly lectures with flipped sessions and workshops. This year it scored 4.0. That's a rise of 0.4, and the module leader reports it to the programme board.
Two other second-year modules in the same programme kept their design. They averaged 3.8 last year and 4.1 this year, a rise of 0.3. Something lifted the whole year group: the programme moved to a new building with better rooms, and the second-year timetable lost its 9 a.m. Friday slot.
The difference-in-differences estimate is 0.4 minus 0.3, which is 0.1. The redesign may have helped, but by about a tenth of a point, not four tenths. On a module of 80 students with a typical spread of answers, a tenth of a point is well within what chance can produce. The honest report to the board is: "The redesign coincided with a rise across the whole year. Our module rose slightly more than the others, but not by enough to be sure the redesign caused it."
That's less exciting. It's also much less likely to be overturned next year.

Choosing a comparison module
A comparison only helps if it shares the things you're worried about. In practice that means:
- Same students, or close to it. Modules taken by the same year group in the same programme are the best comparison, because cohort effects hit both.
- Same period. The comparison has to be measured in the same terms as the redesigned module, or history effects don't cancel.
- Same questions. Ask the same items in the same way. Changing the instrument halfway through breaks the comparison as badly as having none.
- Not touched by the change. If the flipped-classroom approach spread informally to the comparison module, the comparison is contaminated and the estimate shrinks towards zero.
When no single module is a good match, an average of several modules usually works better than one. Look at their past years too. If one of them swung wildly from year to year, leave it out.
Measure more than satisfaction
Difference-in-differences works on any outcome measured before and after in both groups. Satisfaction ratings are the easiest to get but the least informative about learning. Pass rates, marks on a common assessment, or performance in the follow-on module all give a second line of evidence. So does asking students directly what changed for them. If students in the comparison modules also mention "the new building" or "better timetable", that's evidence of a shared shock, and it's exactly what the comparison is there to absorb.
The US What Works Clearinghouse, which reviews education studies for the Department of Education, treats comparison-group designs like this with care. In its Procedures and Standards Handbook (version 5.0, 2022), a quasi-experimental study can at best meet its standards "with reservations", and only when the groups are shown to be similar at baseline. That's a reasonable bar for a programme board too: the comparison is only as good as the evidence that the groups started in the same place.
Critics argue this is too much statistics for a module review
The strongest objection is that most modules don't have a clean comparison. Programmes are small, every module is different, and teaching changes are rarely isolated. A module leader who rewrote the assessment, changed the reading list and got a new teaching assistant all in one year can't attribute anything to any one of them, whatever the method. Some critics go further: dressing a module review in the language of econometrics gives a weak estimate the look of rigour it hasn't earned.
Both points are fair. Difference-in-differences with one treated module and two comparison modules is a rough tool, and its margin of error is wide. It can't untangle three changes made at once. And when parallel trends fails, the estimate can be worse than no estimate, because it looks precise.
But the alternative isn't "no method". It is the before-and-after comparison, which is weaker on every one of those counts and is used every year in module reviews to credit or blame teaching changes. A rough comparison that removes a programme-wide rise is better than none. The honest version reports the estimate alongside the doubts: here's the gap, here's the comparison we used, here's what could still explain it.
Where Koji fits
The method stands or falls on asking the same questions in the same way, at the same moments, in both the changed and the unchanged modules. That's what Koji for Education is designed to make easy.
A Koji study can be duplicated with its brief and settings intact, so the redesigned module and its comparison modules get the same questions, and so does next year's round. Structured questions (scales, single and multiple choice, ranking, yes/no) give you the comparable numbers. The AI interviewer asks every student the same core questions and follows up on their answers, so the "what changed for you?" evidence is gathered consistently rather than depending on who happens to write a comment. Because studies run whenever you open them, you can collect a baseline mid-term, before a change takes effect, instead of waiting for the end-of-term survey.
In the report, themes are counted across interviews, and each theme links to the interviews behind it. That's how you spot a shared shock, like students in every module mentioning the new building, before it gets credited to the redesign. Koji reduces the noise around the comparison. It doesn't make one module a valid comparison for another. That judgement stays with the people who know the programme.
If your programme board keeps hearing "scores went up, so it worked", see how Koji for Education runs consistent, repeatable course feedback at edu.koji.so. For the general method behind consistent interview studies, Koji's guide to structured questions explains how the question types compare.