Within-Subjects Factorial Design

Research
Introduced by
Experimental-design tradition (widely used in social psychology)
Year
2004
Type
Experimental design framework
Family
Experimental design / methodology

What does it do?

A within-subjects factorial design exposes each participant to every combination of two or more manipulated factors, so main effects and interactions are estimated by comparing each person with themselves across conditions.

Because stable person-level differences appear in every condition, they can be separated from the error terms used to test the effects. This generally gives more power per participant than a between-subjects design when those differences are large. The design requires counterbalancing of condition order, which balances order and carryover effects across conditions on average but does not remove them from individual data. It also requires an analysis that accounts for repeated observations from the same people.

The intuition behind the method

If you want to know whether a manipulation works, the cleanest comparison is the same person under different conditions, because stable individual quirks cannot muddy the result. A within-subjects factorial design extends this to several manipulations at once: each person goes through every combination of the factors, so you can see whether each factor matters and whether the factors combine in an interaction. Using each participant as their own baseline removes individual differences from the comparison, so fewer people may be needed to detect an effect. The catch is that one condition can spill over into the next through practice, fatigue, or carried-over mood. Researchers therefore vary the order across participants and analyze the data in a way that accounts for each person contributing to many conditions.

History

The design is an application of repeated-measures analysis of variance, which is widely used across experimental psychology. It has no single originator or original publication, so its origin is described only in general terms. In social psychology the design is common in reaction-time, priming, and judgment paradigms where many trials are collected per participant. Mixed-effects models are now often used to analyze such data because they can include participant and stimulus effects together.

When to use it

Use a within-subjects factorial design when each participant can feasibly experience all combinations of the factors, when statistical power and efficiency are priorities, and when individual differences would otherwise inflate error -- common in reaction-time, perception, judgment, and affect research. It is ideal for detecting interactions with limited samples. It is less appropriate when exposure to one condition irreversibly changes responses to others (strong carryover or learning), when conditions cannot coexist within a person (some manipulations are inherently between-subjects), or when demand characteristics arise from participants seeing all conditions. Careful counterbalancing, attention to carryover, and appropriate repeated-measures or mixed-effects analysis are essential.

Limitations and considerations

  • Order, practice, fatigue, and carryover can confound the factor effects unless order is counterbalanced, and counterbalancing only balances these effects across conditions rather than eliminating them.
  • Manipulations that permanently change a participant cannot be delivered in sequence to the same person, so such factors require a between-subjects or mixed design.
  • Seeing all conditions can reveal the study hypotheses, which creates demand characteristics.
  • The analysis must model the correlation among repeated observations; treating them as independent overstates the effective sample size.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Each participant serves as their own control, so stable person-level differences do not enter the error term used to test the factors.
  • Main effects and interactions of all crossed factors are estimable from the same participants.
  • Fewer participants may be needed to detect a given effect when between-person variability is large relative to the manipulation effect.
  • Suited to paradigms with many trials per condition, where each person contributes enough observations to every cell.

Applications

  • Testing main effects and interactions in reaction-time experiments.
  • Designing priming and implicit-measure studies with crossed factors.
  • Examining affect and judgment across manipulated conditions.
  • Structuring intensive repeated-measures and within-person dynamic studies.
  • Maximizing power in experiments with limited participant pools.

How it works

How it works

1

The researcher specifies two or more independent variables (factors), each with multiple levels, and crosses them so that every combination of levels defines a condition (cell) of the design. Crossing the factors is what allows interactions, not just main effects, to be estimated.

Formula
\text{factors } A (a \text{ levels}), B (b \text{ levels}); \text{crossed } a\times b
2

Each participant is exposed to all cells of the design, providing data in every condition. Because the same people contribute to every condition, comparisons across conditions are made within individuals rather than between different groups.

Formula
\text{each participant experiences all } a\times b \text{ cells}
3

The order in which participants encounter the conditions is counterbalanced (for example, via Latin squares or randomization) so that practice, fatigue, and carryover effects are not confounded with the factors. Counterbalancing balances these effects across conditions on average; it does not remove them from the individual's data.

Formula
\text{order/sequence counterbalanced to control carryover}
4

The model writes each observation as an overall mean plus the effect of factor A, the effect of factor B, their interaction, a participant term S_k, and residual error. The participant main effect is estimated from each person's responses across all cells and is separated out, so it does not enter the error terms used to test the factor effects. In a fully within-subjects factorial, each effect is tested against its own subject-by-effect interaction term: A against A×S, B against B×S, and the A×B interaction against A×B×S. There is no single pooled residual for all tests. Removing stable person differences in this way is the source of the design's power advantage.

Formula
Y = \mu + A_i + B_j + (AB)_{ij} + S_k + \varepsilon;\ \text{remove between-subject var}
5

Main effects and interactions are tested with repeated-measures ANOVA or with mixed-effects models, which treat repeated observations from the same participant as correlated rather than independent. Repeated-measures ANOVA assumes sphericity (equal variances of the differences between levels) for any factor with more than two levels. Check this with Mauchly's test, and apply a Greenhouse-Geisser or Huynh-Feldt correction when it is violated, or use a mixed model that does not require sphericity. Mixed models can also include random effects for stimuli when stimuli are sampled, and they handle unbalanced or missing data more flexibly than standard repeated-measures ANOVA.

Formula
\text{repeated-measures ANOVA / mixed model: main effects + interaction}

Common pitfalls

  • Failing to counterbalance the order, so that one factor level always follows another and order is confounded with the factor.
  • Ignoring carryover that makes later cells differ from their nominal conditions.
  • Analyzing repeated observations as independent, which overstates precision and inflates the chance of false positives.
  • Assigning a manipulation within subjects when first exposure changes how participants respond to later exposures.
  • Ignoring sphericity in repeated-measures ANOVA, which can make p-values too liberal when factors have more than two levels.
  • Interpreting main effects at face value when an interaction is present, instead of examining simple effects first.

Frequently asked questions

Why are within-subjects designs more powerful?

Because each participant serves as their own control, stable individual differences are removed from the error terms rather than inflating them. The gain depends on how strongly a person's responses correlate across conditions and on the number of trials per cell. It is largest when between-person differences are large relative to the manipulation effect, and it can be small or absent when that correlation is low.

What are carryover and order effects?

When participants experience all conditions, doing one can influence responses to later ones through practice, fatigue, or lingering mood, and the order of conditions can become confounded with the factors. Counterbalancing the order across participants and, where possible, spacing conditions limits these effects so that differences reflect the manipulations rather than sequence. Counterbalancing balances such effects on average; it does not remove them from individual data.

Why analyze with repeated-measures or mixed models?

Observations from the same participant are correlated, violating the independence assumption of ordinary analyses. Repeated-measures ANOVA and, more flexibly, mixed-effects models account for this non-independence by including participant (and often stimulus) random effects, yielding correct standard errors and handling unbalanced or missing data while testing main effects and interactions.

Related methods

Sources

  1. Kahneman, D., Krueger, A. B., Schkade, D. A., Schwarz, N., & Stone, A. A. (2004). A survey method for characterizing daily life experience: The Day Reconstruction Method. Science, 306(5702), 1776-1780.

    Open DOI reference
  2. Csikszentmihalyi, M., & Larson, R. (1987). Validity and reliability of the Experience-Sampling Method. Journal of Nervous and Mental Disease, 175(9), 526-536.

    Open DOI reference