- Introduced by
- Early formalized in clinical research literature; widely used since mid-20th century
- Year
- 1960
- Type
- Within-subject repeated-measures design
What does it do?
A crossover design is an experimental design in which each participant receives all treatments under investigation, one after another in a randomised sequence across separate periods.
Each participant acts as their own control, which reduces between-subject variability and can allow treatment comparisons with fewer participants than a parallel-group design. The methodology is set out in detail in Senn (2002) and Jones & Kenward (2014).
The intuition behind the method
Imagine you want to compare two pain medications. Instead of giving Drug A to one group and Drug B to another, you give every patient Drug A first, then Drug B, or the reverse, with the order assigned at random. Because the same person takes both treatments, individual differences in pain tolerance, metabolism and baseline health are compared against the same person rather than against a different one. The analytical question becomes whether the treatments differ within the same individuals, and whether the order of treatment matters. The gain in precision comes from this within-person comparison, but it holds only if the first treatment does not leave a residual influence on the second period.
History
Crossover trials became established in clinical research during the 20th century, and the two-period AB/BA layout is now a standard design in bioequivalence and pharmacokinetic studies. Senn (2002) and Jones & Kenward (2014) give detailed treatments of the analysis of carryover, period effects and multi-treatment designs, including Williams-type sequences.
When to use it
Choose a crossover design when each participant can receive all treatments in sequence, the condition under study is stable over the course of the study rather than curable by the first treatment, and an adequate washout period can separate the treatment periods. It suits chronic-condition pharmacology, bioequivalence studies and settings in which between-subject variability is large relative to within-subject variability. The analysis assumes that (1) there is no residual carryover between periods, which an adequate washout is intended to secure; (2) period effects are included in the model; (3) the sequence of treatments is randomised; and (4) the treatment effect does not depend on the period in which it is given, beyond any carryover. Sample size should be set by a power calculation that uses the expected treatment difference and the within-participant variability, rather than a fixed minimum number of participants. Do not use a crossover design when the first treatment may cure the condition or alter the participant's baseline, because the second period then no longer measures the same condition.
Limitations and considerations
- Carryover can confound treatment estimates when the washout period is inadequate, and the carryover test has limited power, so an adequate washout is the main safeguard rather than the test.
- The design applies only when the condition is stable across several treatment periods; a condition that is cured or spontaneously resolves during the first period invalidates the comparison.
- Period effects, meaning systematic changes in the outcome over time unrelated to treatment, must be modelled, and the analysis becomes harder if they interact with treatment.
- The F-based analysis described in the statistic step assumes a continuous, approximately normal outcome, so binary or ordinal outcomes need models suited to their type.
- Dropout between periods can bias results, because participants who complete all periods may differ systematically from those who leave.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Each participant serves as their own control, which removes between-subject differences from the treatment comparison and typically gives more power than a parallel-group design of the same size.
- Fewer participants are needed for a given precision, which matters when the population is small, recruitment is costly, or exposing many people to an experimental treatment raises ethical concerns.
- Direct within-person comparison of treatments is available, which is useful in pharmacokinetic work where individual differences in metabolism are large.
- Williams sequences extend the design to three or more treatments while keeping the order of treatments balanced across sequences.
Applications
- Bioequivalence trials comparing a generic drug formulation with a reference product under regulatory requirements.
- Pharmacokinetic studies comparing area-under-the-curve and peak concentration between treatment regimens.
- Chronic-disease research in areas such as asthma, hypertension, diabetes and chronic pain, where stable baselines allow repeated measurement.
- Nutritional and dietary intervention studies comparing the metabolic effects of different diets within the same individuals.
- Sensory evaluation and consumer preference studies in which participants rate several products.
How it works
How it works
The main null hypothesis states that the treatment population means are equal; the alternative states that at least one treatment differs. A second set of null hypotheses tests for carryover, that is, whether the effect of a treatment given in one period persists into the next. Both sets should be addressed before treatment effects are interpreted.
Formula
H_0:\ \mu_A = \mu_B \quad H_1:\ \mu_A \neq \mu_B
The analysis described here uses a mixed model (or a repeated-measures ANOVA) in which subject is a random effect and period and treatment are fixed effects. The model also contains a sequence term and a carryover term; in the two-period AB/BA design, carryover is assessed through the sequence-by-period interaction, with subjects nested within their sequence. The treatment F-statistic is the mean square for treatment divided by the residual mean square after period and subject effects have been removed. This F-test is a parametric procedure that assumes approximately normal residuals with a continuous outcome; binary and ordinal outcomes require models suited to their distribution. For designs with three or more treatments, Williams sequences arrange the treatments so that each treatment follows every other treatment equally often, which keeps the comparisons balanced.
Formula
F = \dfrac{MS_{\text{treatment}}}{MS_{\text{residual}}}, \quad MS_{\text{treatment}} = \dfrac{SS_{\text{treatment}}}{df_{\text{treatment}}}The treatment effect is judged significant if the p-value falls below 0.05 after adjusting for period and subject effects. This verdict is interpreted only when the carryover test is non-significant. A significant carryover effect indicates that the washout period was insufficient and that the treatment estimates may be confounded. In that case the usual fallback is to analyse only the first-period data, which is free of carryover. This turns the comparison into a parallel-group comparison based on a reduced sample, and it therefore has lower power.
Formula
\text{reject } H_0 \text{ if } p < 0.05;\quad \text{also test carryover: } H_0^{\lambda}:\ \lambda_A = \lambda_BCommon pitfalls
- Using a washout period that is too short and then ignoring the carryover test; a significant carryover effect makes the treatment estimates unreliable.
- Analysing a crossover trial as a simple paired or independent-samples test without modelling the period effect.
- Applying the design to acute conditions where the first treatment may cure the condition or change the baseline before the second period.
- Omitting the sequence-by-period interaction, which is the formal test for carryover in the two-period AB/BA design.
Frequently asked questions
What is a washout period, and how long should it be?
A washout period is a deliberate gap between treatment periods during which the residual effect of the previous treatment is allowed to fade. Its required length depends on how long the substance or intervention persists in the body or in the outcome; for drugs this is usually linked to the elimination half-life, and it should be justified from pharmacological or clinical knowledge for the specific treatment. If the washout is too short, carryover effects will confound the treatment comparison.
What is the Williams sequence, and when is it needed?
A Williams sequence is a balanced arrangement of treatment orders used when there are three or more treatments. It ensures that each treatment appears in each period an equal number of times and that each treatment follows every other treatment equally often across sequences. This balance allows carryover and period effects to be estimated and prevents them from systematically favouring one treatment. For two treatments, the simple AB/BA design already provides this balance.
What happens if the carryover test is significant?
A significant sequence-by-period interaction indicates differential carryover, so the treatment comparison is potentially confounded. A common response is to restrict the analysis to first-period data, which is free of carryover, but this discards the within-person information and reduces power, making the analysis effectively a parallel-group comparison. Because the carryover test has limited power, an adequate washout remains the main preventive measure.
How does a crossover design differ from a repeated-measures ANOVA?
Repeated-measures ANOVA is an analysis technique for data collected from the same subjects over time, whereas a crossover design is the experimental structure that determines how treatments are assigned across those time points. In a crossover trial the sequence of treatments is randomised and explicitly modelled, whereas a general repeated-measures study may have no treatment assignment or may have a fixed order.
Related methods
Sources
Senn, S. (2002). Cross-over Trials in Clinical Research (2nd ed.). Wiley.
ISBN: 978-0471496533Jones, B. & Kenward, M. G. (2014). Design and Analysis of Cross-Over Trials (3rd ed.). CRC Press.
ISBN: 978-1439861424