- Introduced by
- Donald T. Campbell & Julian C. Stanley (pretest-posttest framework); Stephen Senn (crossover trial methodology)
- Year
- 1963 (Campbell & Stanley framework); crossover methodology formalized 1980s–2000s
- Type
- Within-subjects experimental design
- Family
- Experimental design
What does it do?
A crossover pretest-posttest experimental design is a within-subjects experiment in which each participant receives two or more treatments in a randomized sequence, with outcome measurements taken before and after each treatment period.
Each participant serves as their own control across conditions, so the comparison is made within persons. When outcomes are stable and the washout is adequate, this can reduce the number of participants needed relative to a parallel-group design with the same precision.
The intuition behind the method
Imagine testing two pain-relief medications. Instead of assigning half the participants to Drug A and half to Drug B, every participant takes Drug A first (with a pretest and posttest measurement), undergoes a washout period, and then takes Drug B (again with pretest and posttest measurements). Half the group follows the sequence A-then-B and the other half B-then-A. Because each person's baseline is measured before each treatment, you can see how much each drug changed that person's pain score. Because the same person experiences both drugs, stable individual differences in pain sensitivity are removed from the treatment comparison. The design depends on the first drug's effect having fully worn off before the second is given.
History
The pretest-posttest logic used here is associated with Donald T. Campbell and Julian C. Stanley's work on experimental and quasi-experimental designs, cited in this entry as their 1963 reference. That framework does not itself describe crossover designs. Crossover trials have been used in clinical research for a long time. Stephen Senn's book on cross-over trials (2nd ed., 2002) is cited here as a general reference on the design.
When to use it
Use a crossover pretest-posttest design when the outcome is expected to return to baseline after each treatment ends, that is, when the condition is chronic but stable rather than rapidly progressive. It also suits studies where individual baseline variability is large relative to the expected treatment effect, and where recruiting many participants is difficult. Typical fields include pharmacology, pain research, exercise physiology, and educational studies of stable skills. Do NOT use it when carry-over effects are likely to persist, for example after treatments that permanently alter the participant, surgical interventions, or learning tasks whose gains cannot be unlearned. Avoid it also when the underlying condition changes rapidly or fluctuates erratically over time, or when ethical considerations prevent exposing participants to a control or alternative condition after they have already received an active treatment. Before use, check that the key assumptions are plausible: no treatment-by-period interaction; carry-over that is negligible or can be modelled; an outcome that is stable between the two periods; and period terms that capture time-related changes in the outcome.
Limitations and considerations
- Carry-over effects, the residual influence of the first treatment on the second period, can invalidate the cross-period comparison if the washout is insufficient.
- The design requires a stable, chronic condition; rapidly changing or self-remitting conditions violate its core assumption of return to baseline.
- A longer study duration than a parallel-group design increases participant attrition and the exposure to time-varying confounders.
- If carry-over is detected, the analysis must fall back to period-1 data only, which discards the within-person advantage of the crossover.
- Period effects, such as seasonal variation or practice effects on the outcome measure, must be modelled explicitly.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Each participant serves as their own control, which removes stable between-subject variability from the treatment comparison.
- When carry-over is negligible and outcomes are stable, the within-person comparison can require fewer participants than a parallel-group pretest-posttest design for the same precision.
- The pretest in each period allows period effects and secular trends to be estimated and adjusted for.
- Within-person change scores can separate treatment effects from stable differences between individuals, which a single between-group comparison at one time point cannot.
- Random sequence allocation (AB/BA, or a Latin square for more treatments) balances order and period effects across participants.
Applications
- Pharmacological trials comparing two analgesic agents in chronic-pain patients, with drug-free washout periods between arms.
- Nutritional intervention studies testing two dietary protocols in sequence, using pre-period blood-marker measurements as baselines.
- Exercise science experiments evaluating two training modalities within the same athletes across consecutive training blocks.
- Educational technology research comparing two instructional methods applied to the same students in alternating curriculum units.
- Cognitive psychology studies testing two task conditions within participants, where each session begins with a calibration pretest.
How it works
How it works
Participants are randomly assigned to one of two (or more) treatment sequences. For example, Group 1 receives Treatment A and then Treatment B, while Group 2 receives Treatment B and then Treatment A. Random sequence allocation prevents period effects from being confounded with treatment effects across the group.
Before the first treatment begins, baseline outcome measurements are collected for all participants. This pretest establishes each individual's starting point for the first study period and makes it possible to compute within-period change scores.
All participants receive their assigned first treatment over the designated treatment period. At the end of this period, posttest measurements are taken. The within-period change (posttest minus pretest) is the primary outcome for period 1.
A washout interval separates the two treatment periods. It must be long enough for the first treatment's effects, including any biological, psychological, or pharmacological carry-over, to dissipate before the second period begins. Inadequate washout is a major source of bias in crossover studies, because residual effects from period 1 then contaminate period 2.
A second pretest is administered immediately before the second treatment period. This baseline measurement checks whether the washout was effective and allows a change score for period 2 to be computed, so that secular trends or natural recovery can be taken into account.
Participants now receive the alternative treatment. A posttest at the end of period 2 yields the within-period change score for condition 2. Each participant thus provides two change scores, one per treatment, which permits direct within-person comparison.
The treatment-period change scores are compared using paired or mixed-model approaches. A linear mixed model (or a period-and-sequence ANOVA) partitions variance into treatment effects, period effects, sequence effects, and carry-over. The treatment term estimates the within-person difference between treatments, averaged over the sequences. The period and sequence terms should be inspected for evidence of period effects or imbalance. Carry-over is assessed within the model, but a test for carry-over is an imperfect guide and can itself bias the analysis. The handling of carry-over, such as a fallback to period-1 data only (which reduces the analysis to a parallel-group comparison) or a sensitivity analysis, should therefore be specified before data collection. The model may be written either as a change-score analysis or as an analysis of posttest values adjusted for the corresponding pretest; the chosen form should be stated in the report. If a period's data are missing, a mixed model can use the observations that are available, whereas a paired comparison of change scores requires both periods for each participant.
Common pitfalls
- Inadequate washout period: the washout must be long enough before the second pretest. For pharmacological agents, five or more half-lives is a common rule of thumb; for psychological or skill-based effects, the required interval depends on how durable the change is.
- Ignoring carry-over in the analysis: carry-over should be assessed before the main treatment effect is interpreted. If a carry-over term is substantial, the planned period-2 comparison may not be valid as analysed, and the analytic strategy should be revisited.
- Using the design for irreversible treatments: learning, surgery, or curative interventions make the assumption of return to baseline untenable, so a parallel-group design or another design that does not rely on washout should be considered instead.
- Omitting the period-2 pretest: without a second baseline, secular trends or incomplete washout cannot be separated from treatment effects in period 2.
- Regression to the mean: when participants are selected or stratified on extreme pretest values, their scores tend to move toward the average at posttest irrespective of treatment, which can distort the change scores. Selection on extreme values should be avoided, or its influence modelled.
- Carry-over affecting the period-2 pretest: even when the washout appears adequate, a period-2 baseline that still reflects period-1 treatment shifts the starting point, so the period-2 change score can be biased. Comparing period-2 pretest values across sequences provides a check on this.
Frequently asked questions
How long should the washout period be?
There is no universal answer. The washout must be long enough for all treatment effects, whether biological, pharmacological, or psychological, to return to baseline. In pharmacology, five drug half-lives is a common rule of thumb. For behavioral or educational interventions, the required washout depends on how durable the learning or behavioral change is. A second pretest at the start of period 2 provides empirical evidence on whether the washout was successful.
What if carry-over is detected in the analysis?
If carry-over is suspected, one option is to analyse only the period-1 change scores, in which every participant contributes one comparison. This turns the study into a parallel-group pretest-posttest comparison and gives up the within-person advantage, which is why washout planning before the study matters. Because a test for carry-over is an imperfect guide, the fallback strategy should be pre-specified, and a sensitivity analysis can show how far the conclusions depend on the period-2 data. Period-2 data carry a risk of bias from carry-over, so they should not be relied on alone to estimate the treatment effect when carry-over is present.
How is this different from a simple crossover design without pretests?
A standard crossover design measures outcomes only at the end of each treatment period. Adding a pretest at the start of each period allows within-period change scores to be computed, which controls for residual differences in baseline between the two periods. This can improve precision and makes it possible to detect and adjust for incomplete washout or secular trends.
Can this design be used with more than two treatments?
Yes. With three or more treatments, a Latin square or Williams design assigns participants to balanced treatment sequences so that each treatment appears equally often in each period. The statistical model becomes more complex and the study duration increases, but the within-subject efficiency gain is retained.
What statistical method should I use to analyze the data?
A linear mixed model is the most flexible approach. It can handle unbalanced data and missing observations, and it models period effects, sequence effects, and carry-over alongside the treatment effect. When a period is missing for some participants, the mixed model can use the observations that are available. The treatment term is the within-person difference between treatments averaged over sequences, and the period and sequence terms should be reported alongside it. For a simple two-period, two-treatment design, a classical period-and-sequence ANOVA can also be used, although mixed models are generally preferred in current practice.
Related methods
Sources
Senn, S. (2002). Cross-over Trials in Clinical Research (2nd ed.). Wiley.
ISBN: 978-0471496533Campbell, D. T., & Stanley, J. C. (1963). Experimental and Quasi-Experimental Designs for Research. Rand McNally.
Open publication reference