Relationship

Interaction plot

Shows response changes across one factor for different levels of another.

  • Plot
  • Relationship
  • Interaction

What it answers

Does one factor's effect depend on another?

Shape
Response lines across factor levels
What it shows
Differential response and possible interaction.

Example

The question

Does the effect of a discount depend on the channel?

Average order value by discount and channel (interaction plot, EUR)

Average order value by discount and channel (interaction plot, EUR)Two lines, one per channel. Online orders rise from 52 to 61 euros with a discount; store orders stay flat (48 to 47). The lines are not parallel, so the discount effect depends on the channel.Average order value (EUR)No discount10% discountOnline 5261 OnlineStores 4847 Stores
Average order value by discount and channel (interaction plot, EUR)Two lines, one per channel. Online orders rise from 52 to 61 euros with a discount; store orders stay flat (48 to 47). The lines are not parallel, so the discount effect depends on the channel.Average order value (EUR)No discount10% discount52614847OnlineStores
Two lines, one per channel. Online orders rise from 52 to 61 euros with a discount; store orders stay flat (48 to 47). The lines are not parallel, so the discount effect depends on the channel.

Illustrative data. It belongs to no company.

When to use it

Use it when

Exploring factorial or model-estimated interactions.

Avoid it when

Confusing visual nonparallelism with a confirmed statistical test.

How to read it

Compare response-line slopes across factor levels.

Note

Nonparallel lines do not establish statistical significance.

The data you need

Layout
Long table
Fields
FactorA: category; FactorB: category; Response: number
One row is
One raw response for a combination of two factors. What is the grain?
Rules
Retain replicates and aggregate with a stated statistic. Model-adjusted estimates require a fitted model.
Optional
Precomputed alternative: FactorA,FactorB,Estimate,Lower,Upper.
Preparation
Calculate response summaries or model-adjusted predictions for each factor combination and retain sample sizes/intervals.
Units
Use the measured variable's stated unit consistently. No denominator is implied unless the value is a rate or proportion.
Example of the input layout: Long tableA long table: one row per observation, few columns. New data adds rows.FactorAFactorBResponseAABBC
A long table: one row per observation, few columns. New data adds rows.

Worked example

GroupA rises 10 to 20; GroupB15 to 18 from Low to High. Changes 10 and 3 differ by 7, suggesting an interaction to assess with a model.

FactorAFactorBResponse
LowA10
HighA20
LowB15
HighB18