Concept/Probability and Statistics/No. 0527

Interaction Effect

An interaction effect occurs when the effect of one variable depends on the level of another. Ronald Fisher helped formalize its analysis in statistics through experimental design. Whether an interaction appears can depend on the choice of measurement or modeling scale.

Also called Statistical Interaction

a concept: name it

01You've seen this when…

  1. in life

    You work comfortably with music while sorting laundry. Put the same playlist on while studying a difficult chapter, and you keep rereading the page.

  2. at work

    A shorter signup form lifts completion on phones. On laptops, the old and new forms perform about the same.

  3. out in the world

    The city adds speed bumps to a residential street. Drivers slow down sharply when traffic is light; during rush-hour backups, speeds stay about the same.

02The idea

An average can hide the condition that changes the result. Music’s effect on your productivity can depend on the task. A signup form’s effect can depend on the device. Each pairing raises the same question: how much does one influence change the effect of the other?

To identify an interaction, make two comparisons. Measure the change associated with factor A at one level of factor B. Then measure it at another level of B. The difference between those changes is the interaction on the chosen outcome scale. A level can mean a category, such as phone versus laptop, or an amount, such as a low versus high dose.

A balanced factorial experiment tests combinations of factors. It estimates each factor’s average effect, called its main effect, alongside their interaction. The interaction captures how the effect varies across combinations.

In a simple linear regression, an interaction term often multiplies two variables: A × B. Its coefficient describes how much A’s effect changes for each unit increase in B. This relationship is mathematically symmetric: it also describes how B’s effect changes as A increases. The story may emphasize one direction because that is the decision at hand.

03Why it matters

An interaction can change which action makes sense. Training may help beginners more than experienced staff. An extra safety check may help most during busy shifts. An average effect size can conceal these differences and encourage a uniform response.

It also changes how experiments should be planned. Testing a discount this month and free shipping next month leaves their combined effect uncertain. Testing all four combinations together can show whether the offers reinforce each other or deliver overlapping benefits.

Interactions help explain heterogeneity: variation across people, places or conditions. When a result travels poorly to another setting, a changed mix of conditions is one possibility to investigate. That investigation needs evidence, because a convenient story about context can also explain away an unreliable result.

04A worked example

Consider an invented checkout experiment. A store randomly assigns equal numbers of shoppers to four combinations of a 10% discount and free shipping. These simplified conversion rates illustrate the calculation; they omit sampling uncertainty.

  • Customers get neither offer. 10% complete a purchase.
  • Customers get the discount alone. 14% complete a purchase.
  • Customers get free shipping alone. 15% complete a purchase.
  • Customers get both offers. 16% complete a purchase.

What it looks like The discount raises conversion by an average of 2.5 percentage points across the two shipping conditions. A dashboard showing only that average makes the discount seem broadly useful.

What’s actually going on The discount adds 4 percentage points when shipping is paid, and 1 percentage point when shipping is free. The interaction is 1 minus 4: negative 3 percentage points. Both offers help, but their gains overlap. Adding the separate gains to the 10% baseline would predict 19% conversion; the combined result is 16%.

What would have helped Preserving all four groups in the analysis and estimating the interaction with a confidence interval. The randomized experiment supports a causal comparison. The store would also need enough data to judge the uncertainty and a profit calculation that includes discounted prices and shipping costs. The strongest conversion rate can still yield a weaker business result.

05Where people trip up

  • The scale changes the answer. Imagine a treatment doubles risk from 2% to 4% in one group and from 10% to 20% in another. The risk ratio is identical: twice the baseline risk. The absolute increases differ: 2 versus 10 percentage points. There is interaction on the risk-difference scale and none on the risk-ratio scale. Choose the scale that answers the practical question, and report it explicitly. This scale dependence connects interaction to nonlinearity.
  • Separate tests leave the comparison unanswered. A result that reaches statistical significance in one group and misses it in another does not establish that the effects differ. The second estimate may simply be less precise. Estimate and test the difference between effects directly. Interaction estimates often have lower statistical power than estimates of an overall effect, so an uncertain interaction also leaves room for meaningful differences.
  • Causal stories need a design. An observational interaction describes a conditional pattern. Its causal interpretation depends on how treatments, people and conditions were selected and measured. Confounding concerns other influences that distort the estimated relationship; interaction concerns variation in that relationship. For example, a treatment’s apparent advantage among younger patients may reflect different illness severity or prescribing practices. Specify those possibilities before interpreting age as the cause of the difference.
  • Searching many subgroups creates false alarms. Slicing results by age, region, device, experience and dozens of other attributes creates a multiple comparisons problem. Some differences will look persuasive by chance. Specify the important interactions before inspecting outcomes, report exploratory searches, and seek confirmation in fresh data. Arbitrary cutoffs can add another layer of instability: an apparent difference above and below age 50 may change when the cutoff moves to 45.

06Where it doesn’t require a reversal

An interaction can leave both effects pointing in the same direction. In the checkout example, the discount helps under both shipping conditions; the size of its benefit changes. A reversal, where an intervention helps one group and harms another, is a stronger and more consequential pattern.

Statistical interaction also leaves the underlying mechanism open. Two offers may overlap because either one makes the price acceptable, because customers notice only one, or for another reason. Establishing how the causes work together requires additional evidence.

07Roots

When Ronald Fisher arrived at Rothamsted Experimental Station in England in 1919, the station already held decades of agricultural records. Its long-running wheat plots had received different fertilizer treatments, while weather and growing conditions changed around them. The challenge was to extract dependable comparisons from this uneven record.

Fisher’s work on analysis of variance and experimental design gave researchers a systematic way to separate sources of variation. Factorial designs addressed a particularly useful question: how does a treatment perform in combination with another treatment? Fertilizer and irrigation, for example, can be tested at all combinations of their levels. An interaction measures the departure from the separate effects adding together on the chosen scale.

Fisher presented these methods in The Design of Experiments in 1935. The framework spread from agricultural plots into industrial experiments, medicine and behavioral research. Later work made the scale issue especially explicit: the same outcomes can show interaction when effects are expressed as differences and no interaction when expressed as ratios. The lasting contribution was a way to turn context-dependent effects into comparisons that could be estimated and tested.

08How solid is this?

ContestedMixedUsefulEstablished

Interaction is a well-established mathematical and statistical concept. Evidence for any particular interaction depends on the study design, uncertainty and chosen scale; subgroup differences require direct comparisons.

09Connections

confused withpart ofpart ofincludesInteractionEffectConfoundingHeterogeneityEffect SizeComplementarityStatisticalSignificanceNonlinearityRandomizedExperimentStatisticalPowerConfidenceIntervalMultipleComparisons Problem

+ 1 more in the list

10Origin and sources

Formalized within Ronald A. Fisher’s work on analysis of variance and factorial experimental design in the 1920s and 1930s, including The Design of Experiments (1935).

  1. [1]Fisher, R. A. (1935). The Design of Experiments. Oliver and Boyd.
  2. [2]VanderWeele, T. J., & Knol, M. J. (2014). A Tutorial on Interaction. Epidemiologic Methods, 3(1), 33–72.
  3. [3]Altman, D. G., & Bland, J. M. (2003). Interaction revisited: the difference between two estimates. BMJ, 326(7382), 219.
  4. [4]Box, J. F. (1978). R. A. Fisher: The Life of a Scientist. Wiley.

Updated 2026-10-05