Top of page
Skip to main content

Interpreting Moderation with Graphs: Simple Slopes, Johnson–Neyman, and Confidence Intervals

A plot does not establish moderation. It interprets an estimated interaction coefficient alongside simple slopes, confidence intervals and the observed data range.

MAIN ARGUMENT

A sound workflow retains main effects, tests X × M first, selects meaningful moderator values, calculates predictions from the same equation and interprets simple slopes or Johnson-Neyman regions only within supported data ranges.

Start reading

Moderation changes the slope of X → Y

  1. Predictor X

    The focal relationship

  2. Outcome Y

    The outcome being explained

  3. Moderator W

    The context of the X → Y relationship

Conceptual diagram. Read the interaction alongside conditional slopes and confidence intervals.

Source: Lê Minh · Conceptual illustration, not software output.

1. Learning objectives and prerequisites

This guide teaches you to interpret interaction coefficients, calculate X's conditional effect on Y, select M values for plotting, tabulate predictions, read simple slopes and determine when Johnson-Neyman regions are meaningful.

The model must include X, M and X × M, estimated using disclosed coding and scales. Without the interaction coefficient, standard errors or coefficient covariance matrix, plots remain descriptive illustrations and cannot support inference (Aiken & West, 1991; Hayes, 2022).

  • The model includes X, M and X × M.
  • Main effects are retained.
  • Coding and the 0 points of X and M are stated.
  • Data support the intended plotted M values.
  • Coefficients and SEs or covariances needed for CIs are available.
  • Covariates are held fixed under a disclosed rule.

2. From the interaction equation to conditional effects

For the linear model Y = b0 + b1X + b2M + b3XM, X's conditional effect on Y at M = m is b1 + b3m. Coefficient b3 tests whether X's slope changes with M. Its sign therefore indicates the direction of slope change, rather than establishing X's significance at every M value (Hayes, 2022).

Main effect b1 is X's effect when M equals 0. Main effect b2 is M's effect when X equals 0. If 0 is out of range or lacks meaning, main effects are difficult to interpret even when the interaction is correctly estimated.

Brambor, Clark and Golder (2006) emphasize retaining relevant lower-order terms in interaction models. Removing X or M because of large p-values changes model restrictions and often complicates b3's interpretation.

The plot evaluates the equation at multiple points

Every plotted line must come from the same estimated model. Do not draw separate group trend lines and call this moderation without testing the interaction coefficient.

3. Centering, scaling and the meaning of 0

Mean-centering M moves 0 to the sample mean and makes b1 easier to interpret. Centering does not remove interactions or change b3 or fitted values in the same linear model when all components are transformed consistently (Aiken & West, 1991).

Centering can reduce nonessential multicollinearity between products and their components, but does not correct poor measurement or restricted M ranges. Standardizing changes coefficient units, so state whether plots use original, z-standardized or centered scores.

For binary moderators coded 0 and 1, b1 is X's slope in reference group M = 0, and b3 is the between-group slope difference. Do not apply mean ± one SD to grouping variables.

Table 1
Form of M0 pointb1Plotting approach
Continuous, original scaleActual value 0X's slope at M = 0Meaningful in-range values
Continuous, mean-centeredSample meanX's slope at mean MPercentiles or supported mean ± SD values
Continuous, z-scoreSample meanSlope on the one-SD scale of MM = -1, 0, 1 if supported by data
Binary 0/1Reference groupGroup 0 slopeOne line per group
Nominal, K groupsReference groupReference-group slopeK lines from K - 1 dummies and interactions

4. Choose moderator levels for plotting

Mean ± one SD is a convention rather than a requirement. For highly skewed or bounded M, these points may be rare or outside the data. Alternatives include percentiles 16, 50 and 84, substantively meaningful benchmarks or actual group values.

Each plotted level needs an observation count or at least a statement of support. Avoid extending lines into X–M combinations that scarcely occur together. Unsupported extrapolation can look attractive without data evidence.

For few-category ordinal M, plot observed or meaningful categories instead of assuming equal spacing without explanation. If continuous M is grouped only for illustration, retain it as continuous in the primary test unless the hypothesis actually concerns categories.

Table 2
SituationValues to considerRequired checks
Approximately symmetric distributionMean, mean ± 1 SDAll three points are in range
Skewed distributionPercentiles 16, 50, 84Observation counts near each point
Substantive thresholds existMeaningful low, standard and high benchmarksThresholds were prespecified
Binary moderator0 and 1Reference group and group sizes
Multicategory moderatorEach groupDummy coding and data per group

5. Calculate predictions with consistent covariate handling

For a line at M = m, substitute m and a sequence of X values into the estimated equation. Covariates must be fixed at disclosed values, or marginal predictions averaged across the sample distribution can be used. These approaches answer different questions and may yield different predicted Y levels.

Use interpretable Y-axis units. In linear regression, predicted Y is on the outcome scale. With nonlinear links, distinguish link-scale predictions from probabilities or response-scale predictions.

Line confidence intervals cannot be calculated from b1's or b3's SE alone. They require all variances and covariances of the linear combination. Use interaction-probing software or code to avoid omitting covariance terms (Bauer & Curran, 2005).

Step 1

Record the equation, coding and unstandardized coefficients from the final model.

Step 2

Select supported M levels and justify them.

Step 3

Select X values within the common observed range across M levels.

Step 4

Fix or average covariates under a disclosed rule.

Step 5

Calculate predicted Y and CIs from the complete coefficient covariance matrix.

Step 6

Plot lines, CI ribbons and clear coding legends.

Step 7

Verify selected plot points through hand calculations.

Step 8

Retain plotting data with code or spreadsheets.

6. What question do simple slopes answer?

A simple slope is X's effect on Y at a specific M value. Report its estimate, SE or CI and the probed M value. One slope having a small p-value while another has a large one does not establish a difference between slopes. That evidence comes from b3 or a direct contrast.

Bauer and Curran (2005) explain how probing clarifies interaction patterns after testing the product coefficient. Three slopes are only a summary. Nonlinear slope changes or higher-order interactions need appropriate formulas and plots.

With categorical moderators, simple slopes are group-specific slopes. With continuous moderators, each slope is one point on b1 + b3m. Do not describe slopes at mean ± SD as low and high effects for every individual.

Significant versus nonsignificant does not establish a difference

Do not conclude moderation because one simple slope has p < 0,05 and another p > 0,05. Directly test the interaction coefficient or slope difference.

Three predicted lines at different moderator levels in the source example. Coefficients and variable names belong to that example, separate from the hypothetical hand calculation here.
Original article figure 1. Three predicted lines at different moderator levels in the source example. Coefficients and variable names belong to that example, separate from the hypothetical hand calculation here. Source: amosleminh.com · View full size

7. Johnson-Neyman regions and interpretation limits

Johnson-Neyman identifies M values where X's conditional effect switches between significant and nonsignificant at the chosen alpha. It uses estimates and coefficient variance-covariance information rather than probing only three points (Bauer & Curran, 2005; Preacher, Curran & Bauer, 2006).

Johnson-Neyman boundaries are not natural thresholds for people or organizations. They depend on sample, model, alpha, estimator and standard errors. Do not turn a value such as 3,42 into an exact policy threshold without supporting data and measurement precision.

Interpret only regions with sufficient observed M values. If the boundary lies outside support, the practical conclusion is that significance status does not change within the observed range. Johnson-Neyman is inappropriate for categorical moderators.

Table 3
ToolOutputStrengthLimitation
Simple slopesEffects at selected M valuesEasy to interpret and reportDepends on selected points
Johnson-NeymanM regions by inferential statusUses the full continuumCan suggest false precision
Prediction plotY levels across X and MShows the patternDoes not replace testing
Slope contrastDifference between two slopesDirectly tests group questionsRequires correct coding and covariance
The source Johnson–Neyman plot displays the conditional effect and confidence limits. Interpret it only within the moderator range supported by data.
Original article figure 2. The source Johnson–Neyman plot displays the conditional effect and confidence limits. Interpret it only within the moderator range supported by data. Source: amosleminh.com · View full size

8. Hypothetical numerical example: coefficients to three prediction lines

These simulated values illustrate the calculation. The mean-centered model is Y = 10,00 + 0,40X + 0,25M + 0,20XM. Interaction b3 = 0,20, SE = 0,06, 95% CI [0,08; 0,32]. Each one-unit increase in M raises X's slope by 0,20.

At M = -1, the simple slope is 0,40 + 0,20(-1) = 0,20. At M = 0, it is 0,40. At M = 1, it is 0,60. Suppose probing software gives SEs of 0,08; 0,07 and 0,09; corresponding 95% CIs are [0,04; 0,36], [0,26; 0,54] and [0,42; 0,78].

All three example slopes are positive but increase with M. Plot the common observed X range at the three M levels with CI ribbons. Do not infer that all high-M individuals have higher Y: moderation concerns conditional slopes, not only mean levels.

Table 4
MFormulaX-to-Y slopeHypothetical SEHypothetical 95% CI
-10,40 - 0,200,200,08[0,04; 0,36]
00,400,400,07[0,26; 0,54]
10,40 + 0,200,600,09[0,42; 0,78]

9. Designing an auditable plot

Label axes with variable names, units and ranges. Legends must identify each M level and the selection rule. Use contrasting colors plus line styles so plots remain readable in black and white.

Specify whether ribbons or error bars represent CIs for predicted means or prediction intervals for new observations. These differ. CIs for predicted means or conditional effects often better match moderation inference.

Do not truncate Y merely to exaggerate line differences. If truncation improves detail, disclose it and consider an additional full-range plot. Raw data or partial residuals can be added when sensitive information remains protected.

  • X and Y axes include units.
  • M levels and coding are explicit.
  • The X range remains within support.
  • CIs are shown and their type is labeled.
  • Colors and line styles are distinguishable.
  • Visual intersections are not treated as tests.
  • Plotting data are retained.
  • Plot values match the simple-slopes table.
Simple slopes in the original SmartPLS interface. Inspect axes, moderator levels and scale; visually different slopes do not replace an interaction test.
Application screenshot 3. Simple slopes in the original SmartPLS interface. Inspect axes, moderator levels and scale; visually different slopes do not replace an interaction test. Source: amosleminh.com · View full size

10. Common interpretation and presentation mistakes

Table 5
Weak practiceProblemResponse
Two crossing lines establish moderationVisual crossing is not a statistical testReport b3 and its CI
One slope significant, the other nonsignificantDoes not test their differenceUse the interaction or a contrast
Always use mean ± 1 SDMay fall outside support or lack interpretabilityChoose justified M values
Remove main effects with large p-valuesImposes inappropriate model restrictionsRetain lower-order terms
Dichotomize continuous M into high and lowLoses information and powerKeep M continuous for the main test
Extend lines beyond the observed rangeUnsupported extrapolationRestrict X and M ranges
Omit plot CIsConceals uncertaintyAdd ribbons or report a CI table
Treat J-N boundaries as real cutoffsCreates false precisionReport uncertainty and support

11. APA 7 reporting template and completion checklist

The template uses hypothetical values from Section 8. Replace every coefficient, M level and covariate rule with actual results.

Example reporting paragraph

The model included mean-centered X and M and their product X × M. The unstandardized interaction was b = .20, SE = .06, 95% CI [.08, .32], indicating that X's slope increased with M. X's simple slopes at M = -1, 0 and 1 were b = .20, 95% CI [.04, .36]; b = .40, 95% CI [.26, .54]; and b = .60, 95% CI [.42, .78], respectively. The plot shows predicted Y over the common observed X range at these M levels; covariates were held at [rule]. Johnson-Neyman analysis [was/was not] used because of [reason and support].
  • Report the interaction coefficient, SE and CI.
  • Retain X and M in the model.
  • Describe centering or standardization.
  • Explain the 0 points of X and M.
  • Moderator levels lie within the data.
  • Report simple-slope estimates and CIs.
  • Do not infer differences from separate p-values.
  • Use Johnson-Neyman only for suitable continuous M.
  • Limit J-N boundaries to supported ranges.
  • Apply clear covariate rules.
  • Show CIs and axis units.
  • Retain data and plotting code for reproduction.

Conclusion

A good moderation plot visualizes the interaction model rather than providing independent evidence. X × M tests whether slopes change; simple slopes and Johnson-Neyman explain where changes occur.

Trustworthy presentation preserves coding, avoids extrapolation, discloses uncertainty and distinguishes statistical boundaries from practically meaningful thresholds.

References

Academic note: Example values were constructed to illustrate calculations. Plots and Johnson-Neyman regions cannot correct misspecification, endogeneity, measurement error or observations outside supported ranges.