AdvancedIndependently reviewed, not yet spot-checked by a human

Causal mediation analysis

Putting the mediator into the regression is not a mediation analysis. This page defines the natural direct effect (NDE) and the natural indirect effect (NIE), shows why they add up to the total effect exactly, works through the two places the Baron-Kenny steps fall short, explains why the denominator of the proportion mediated so often collapses, and separates what randomisation buys from what it does not.

This page picks up where the warning stopped

Confounding, DAGs and what to adjust for already covers what not to do: a variable measured after treatment, dropped into the regression, adjusts away part of the very path you wanted to estimate, and what comes out is neither the total effect nor a clean direct effect.

So what should you do instead? The answer is not to leave mediators alone. It is this: if you want to ask how much of a treatment effect travels through X, you first have to define the part that travels through X as a quantity, and only then estimate it. Putting the mediator into the regression fails as a mediation analysis because it skips the defining step — a coefficient does not become a direct effect just because that is what you had in mind.

The moment you are most likely to land here is a Methods section that says mediation analysis was performed using the Baron and Kenny approach, or causal mediation analysis (VanderWeele). After this page you should be able to ask four questions:

  1. Was the mediator measured after treatment? If it was measured at baseline it is not a mediator.
  2. Was mediator-outcome confounding dealt with? Randomising the exposure does not settle this one.
  3. Was exposure-mediator interaction allowed for? Leaving the interaction term out is a stronger assumption, not a safer choice.
  4. Is the denominator of the proportion mediated stable? When the total effect sits near zero, that proportion can be any number at all.

The data: a negative trial, and that is the point

The worked example is medicaldata::opt, the Obstetrics and Periodontal Therapy trial — does treating periodontal disease in pregnancy reduce preterm birth. The released dataset holds 823 women.

  • Exposure Group: T (treatment) versus C (control), randomised
  • Mediator V3.PD.avg: mean periodontal probing depth after treatment, adjusted for the baseline value of the same measure, BL.PD.avg
  • Outcome Preg.ended…37.wk: whether the pregnancy ended before 37 weeks

More people drop out than you expect, and the mediator is why

Reason for exclusionWomen
Mediator V3.PD.avg missing139
Outcome missing9
Both missing (already counted in the two rows above)7
Excluded in total (the union)141
Analysed682

The driver is not the outcome, it is the mediator: only 9 women are missing the outcome, while 139 are missing the post-treatment probing depth.

This is a fragility specific to mediation analysis. An ordinary efficacy analysis needs exposure and outcome; a mediation analysis needs exposure, mediator and outcome all three, so a complete-case analysis necessarily loses more. And the mediator is by construction measured after treatment, so its missingness often tracks the treatment experience itself — nobody measures probing depth for a woman who did not come back — which makes missing-at-random harder to defend. See missing data.

The two arms of the analysis set:

ArmnPreterm birthsRisk
Control (C)354359.9%
Treatment (T)328319.5%

That is 66 preterm births in all, an event rate of 9.7%. The unadjusted risk difference is −0.44 percentage points.

NDE and NIE: turn the question into a quantity first

In counterfactual notation, Y(a,m)Y(a, m) is a person’s outcome when treatment is set to aa and the mediator is set to mm, and M(a)M(a) is the mediator value that person would have when treatment is set to aa.

The natural direct effect (NDE) asks: switch treatment on, but hold the mediator at the value it would have taken without treatment — how much does the outcome move?

NDE=E{Y(1,M(0))}E{Y(0,M(0))}\mathrm{NDE} = E\{Y(1, M(0))\} - E\{Y(0, M(0))\}

The natural indirect effect (NIE) asks: keep treatment switched on throughout, and move only the mediator from its untreated value to its treated value.

NIE=E{Y(1,M(1))}E{Y(1,M(0))}\mathrm{NIE} = E\{Y(1, M(1))\} - E\{Y(1, M(0))\}

Add them and the middle term cancels:

NDE+NIE=E{Y(1,M(1))}E{Y(0,M(0))}=TE\mathrm{NDE} + \mathrm{NIE} = E\{Y(1, M(1))\} - E\{Y(0, M(0))\} = \mathrm{TE}

This is not an approximation, and it is not a property to be tested. On the risk-difference scale it is an identity that falls out of the definitions. The residual actually produced by this page’s decomposition is 0, which is floating point and nothing else.

The three counterfactual risks on this dataset:

Counterfactual riskEstimateIn words
E{Y(0, M(0))}9.9%nobody treated
E{Y(1, M(0))}13.0%treated, but the mediator held at its untreated value (cross-world)
E{Y(1, M(1))}9.5%everybody treated

What the decomposition looks like on this trial

Two panels side by side, both with a risk difference in percentage points on the horizontal axis and a dashed line at zero. The left panel is titled A. Total = direct + indirect, with a subtitle noting that this is g-computation with an exposure-mediator interaction term. Its vertical axis lists Direct (NDE), Indirect (NIE) and Total from top to bottom, drawn as a waterfall: the top blue bar runs from zero rightwards to +3.1 percentage points, the middle red bar starts at the right end of the blue bar and runs back leftwards by −3.4 percentage points, and the bottom brown bar runs from zero leftwards to −0.3 percentage points, which is exactly where the red bar ended; two dotted connectors join the bar ends to show that the total is the direct plus the indirect. The right panel is titled B. Every interval crosses zero, with a subtitle noting 2000 resamples and percentile intervals. The same three quantities each carry two horizontal confidence intervals: an upper row of blue squares for the version with the interaction term and a lower row of gold triangles for the version without it, labelled in the legend as with interaction and no interaction. None of the six intervals lies entirely on one side of the zero line: the total effect of −0.35 percentage points spans −4.87 to +4.13, the direct effect of +3.10 spans −3.34 to +10.89, and the indirect effect of −3.45 spans −9.30 to +0.64.
Left: how the total effect splits into a direct and an indirect piece on the risk-difference scale, where the two add up exactly. Right: the same three quantities as 95% percentile intervals, with and without the interaction term — all six cross zero, so this trial did not detect any of them.Plotting script figures/scripts/B6-09-mediation.R

The main analysis is g-computation with the interaction term, on the risk-difference scale (units: percentage points):

EffectEstimate95% CIInterval crosses the null
Natural direct effect (NDE)+3.10−3.34 to +10.89yes
Natural indirect effect (NIE)−3.45−9.30 to +0.64yes
Total effect (TE)−0.35−4.87 to +4.13yes
Proportion mediated9.89-24.67 to 23.33not interpretable (next section)

The intervals are percentile intervals from 2000 resamples, with the mediator model and the outcome model refitted together in every replicate.

So the honest write-up for this trial is: in this analysis set, no indirect effect of periodontal treatment through post-treatment probing depth was detected, and no direct effect was detected either; the total effect likewise did not reach statistical significance.

What randomisation buys, and what it does not

A path diagram with four boxes. On the left, Treatment, annotated Group T vs C, randomised. Top centre, Mediator, annotated V3.PD.avg, probing depth. On the right, Outcome, annotated preterm birth before 37 weeks. Bottom centre, Baseline, annotated BL.PD.avg, adjusted for. Three solid arrows form the mediation skeleton: treatment to mediator, labelled a with the coefficient -0.354 millimetres; mediator to outcome, labelled b with the coefficient 0.416 log-odds per millimetre; and treatment straight to outcome, labelled c prime with the coefficient 0.096 log-odds. Two thinner arrows run from the baseline box to the mediator and to the outcome, marking that it is adjusted for in both models. In the top right corner a circle labelled U sends two red dotted arrows, one to the mediator and one to the outcome; two lines of text beside it read that U is an unmeasured mediator-outcome confounder and that randomising the treatment does not rule it out. A header line gives the scale of the data: medicaldata::opt, 682 analysed, 141 excluded, 66 preterm births. A second header line notes that the coefficients shown come from the models without the interaction term, with a in millimetres and b and c prime on the log odds scale.
The three mediation paths, plus the assumption randomisation cannot buy: U is an unmeasured common cause of mediator and outcome, and neither of its arrows starts at the treatment, which is exactly why randomising the treatment leaves it untouched.Plotting script figures/scripts/B6-09-mediation.R

Identifying NDE and NIE from observed data takes these six assumptions:

  • consistency
  • no exposure-outcome confounding (met by randomisation)
  • no exposure-mediator confounding (met by randomisation)
  • no mediator-outcome confounding (NOT met by randomisation; the assumption this page is about)
  • no exposure-induced mediator-outcome confounder
  • correctly specified mediator and outcome models

Randomisation turns two of them into facts of the design: no exposure-outcome confounding and no exposure-mediator confounding. That is a real purchase, and a clean one — treatment was decided by a coin, so nothing can determine both who was treated and whose probing depth ends up deeper.

The fourth one is untouched. The mediator was not randomised: how deep a woman’s probing depth is after treatment happened naturally. Anything that drives both periodontal status and preterm birth — smoking, socioeconomic position, systemic infectious burden — leaves a non-causal component inside the association between probing depth and preterm birth, and that association is precisely path bb. The coin allocated the treatment, not the periodontal status.

The fifth assumption deserves its own sentence: a confounder of the mediator-outcome relationship that is itself affected by the exposure. You can neither adjust nor not adjust for such a variable — leave it out and path bb stays confounded; put it in and, being a descendant of the exposure, it blocks part of the NDE. Under that structure the natural effects stop being identifiable at all, and you have to move to interventional effects, which are beyond this page.

The sixth, correct model specification, is more expensive here than in ordinary regression: both models have to be right, and misspecification of the mediator model propagates through the integral into both effects. Measurement error in the mediator pushes the NIE towards zero in the same way — see measurement error.

Why Baron-Kenny is not enough

The Baron and Kenny steps go like this: fit MAM \sim A for aa, fit YA+MY \sim A + M for bb and cc', then declare the indirect effect to be a×ba \times b, the direct effect cc', and the total c+abc' + ab. In a world of linear models with no interaction, that is correct. Clinical papers usually satisfy neither condition.

First gap: it cannot represent exposure-mediator interaction

The single bb of the stepwise approach means one unit more mediator moves the outcome by this much — the same amount in the treated arm and the control arm. But treatment may change how strongly the mediator acts, and that is an A×MA \times M interaction term.

In these data the interaction term is +0.837 on the log odds scale (95% CI −0.442 to +2.098). The interval crosses zero, so it did not reach statistical significance. That is not a licence to treat it as zero, particularly when the interval is wide enough to have opposite signs at its two ends. Keeping the term versus dropping it moves the decomposition like this:

EffectWith interaction (main)Without interactionShift
NDE+3.10+0.89+2.21
NIE−3.45−1.33−2.11
Total−0.35−0.45+0.10

All in percentage points. The total barely moves (+0.10), but the direct and indirect pieces each shift by more than two percentage points, in opposite directions. That is what an interaction term does: it does not change the sum, it changes the split.

So omitting the interaction term is not the conservative option. It is an extra assertion — that treatment does not change how strongly the mediator acts. Either you have a reason for it, or you report both versions.

Second gap: on a non-linear model, coefficients do not multiply

The derivation of c=c+abc = c' + ab leans on coefficients adding and multiplying, which is a property of linear models. Here the outcome is binary, so the outcome model is logistic regression, and the log odds ratio is non-collapsible: the coefficient from YAY \sim A and the coefficient from YA+MY \sim A + M do not agree even with no confounding whatsoever, because they answer different questions — marginal versus mediator-conditional. The full account is in marginal effects and adjusted risk ratios.

Four routines side by side:

RoutineScaleNDENIETotal
g-computation, with interaction (main)risk difference (pp)+3.10−3.45−0.35
g-computation, without interactionrisk difference (pp)+0.89−1.33−0.45
Baron-Kenny product of coefficientslog OR+0.096−0.147−0.051
VanderWeele closed form (with interaction)log OR+0.324−0.352−0.028

The first two rows and the last two rows are not comparable in size; the scales differ. To see how far the shortcut is off you have to compare on one scale — the last two rows. Both are log odds ratios, both target the same quantity, and the only difference is that the VanderWeele closed form carries the interaction term. Baron-Kenny puts the NIE at −0.147; the closed form puts it at −0.352, which is 2.39 times as large. Same data, same scale: the shortcut shrank the indirect effect to less than half.

Proportion mediated: the trouble is the denominator

The definition is simple enough:

PM=NIETE\mathrm{PM} = \frac{\mathrm{NIE}}{\mathrm{TE}}

On this page the point estimate is 9.89, with a percentile interval of -24.67 to 23.33. A quantity called a proportion, estimated well above 1, with an interval running through negative values — that is not an arithmetic error, it is what this quantity does under these conditions.

The reason is the denominator. The total effect in this trial is −0.35 percentage points, itself short of statistical significance and numerically very close to zero. When the denominator approaches zero, the ratio explodes under any small perturbation of either part, and if the denominator changes sign the ratio flips wholesale.

This page quantifies that rather than describing it. Across 2000 resamples:

BehaviourShare of resamples
Total effect (the denominator) changed sign43.7%
Proportion mediated fell outside 0 to 185.1%

Nearly half the resamples flip the sign of the denominator, and more than four fifths produce a proportion that is not between 0 and 1. The interval above therefore cannot be read as a range for a mediated share — it is not a proportion at all.

How to compute it

library(medicaldata)
data(opt, package = "medicaldata")

# The column is Preg.ended...37.wk, with THREE dots. A typo does not error:
# opt$Preg.ends returns NULL and sum(is.na(NULL)) is 0, which reads as "no
# missing values". This line is load-bearing.
stopifnot("Preg.ended...37.wk" %in% names(opt))

# The factor levels are padded: "   ", "No ", "Yes". A `== "No"` without
# trimws() matches nothing at all, silently and with no warning.
yraw <- trimws(as.character(opt[["Preg.ended...37.wk"]]))

d <- data.frame(
  a  = as.integer(opt$Group == "T"),                            # exposure, randomised
  y  = ifelse(yraw == "Yes", 1L, ifelse(yraw == "No", 0L, NA)), # outcome
  m  = opt$V3.PD.avg,                                           # post-treatment mediator
  bl = opt$BL.PD.avg                                            # baseline of the same measure
)
d <- d[complete.cases(d), ]

# Two models. The outcome model carries the a:m term -- dropping it is an extra
# assumption, not a safer default.
mfit <- lm(m ~ a + bl, data = d)
ofit <- glm(y ~ a * m + bl, data = d, family = binomial())

# g-computation: integrate the mediator distribution away to get counterfactual
# risks directly. `astar` picks which arm's mediator distribution to draw from,
# `a` picks which arm the outcome model is evaluated under. They are allowed to
# differ, and that mismatch IS the cross-world quantity E{Y(1, M(0))}.
set.seed(20260823)
R <- 500
ey <- function(a, astar) {
  mu <- predict(mfit, newdata = transform(d, a = astar))
  md <- rnorm(R * nrow(d), rep(mu, R), sigma(mfit))
  mean(predict(ofit, type = "response",
               newdata = data.frame(a = a, m = md, bl = rep(d$bl, R))))
}

y11 <- ey(1, 1); y10 <- ey(1, 0); y00 <- ey(0, 0)
c(NDE = y10 - y00, NIE = y11 - y10, TE = y11 - y00)   # first two add to the third

# There is no closed form for the intervals, so bootstrap. Every replicate must
# refit BOTH models: refitting only the outcome model understates the variance,
# because uncertainty in the mediator model propagates into the NIE.
# The script behind this page integrates with 30-node Gauss-Hermite quadrature
# instead of the random draws above, so the bootstrap resamples the data only
# and no Monte Carlo noise is layered on top.

Verified on R 4.6.0 with medicaldata 0.2.0. Nothing beyond medicaldata is needed — the mediation package is deliberately not installed, because writing the formulas out is the point of the page.

Sensitivity analysis: the mediator at a different time point

The same trial measured probing depth again at a later visit, V5.PD.avg. Rerunning the identical analysis on it:

EffectV3.PD.avg (main)V5.PD.avg (sensitivity)
NDE+3.10+2.63
NIE−3.45−1.77
Total−0.35+0.86
Analysis set n682659

In percentage points. NDE and NIE point the same way as in the main analysis and are smaller (the indirect effect is about half the size), and all three again fall short of statistical significance — the indirect effect spans −6.96 to +2.27.

The total effect, however, changes sign: −0.35 percentage points in the main analysis against +0.86 here. These are not two contradictory conclusions. They are the previous section seen from another angle — when the total effect hugs zero, even its sign is unstable, and swapping in a mediator from a different visit is enough to turn it over. It also shows again why the proportion mediated cannot be reported on these data: the sign of the denominator is not yet settled.

How to read the report

A published mediation analysis usually gives you a path diagram plus one table holding NDE, NIE, total effect and proportion mediated. Each of the four opening questions maps onto a specific place in that report:

  1. When the mediator was measured. The Methods should say which post-treatment visit. A mediator measured at baseline cannot be a mediator; a mediator measured over a window that overlaps the outcome may be reverse causation instead.
  2. Mediator-outcome confounding. Look for a sentence about adjustment in the mediator-outcome relationship, and for a sensitivity analysis for unmeasured confounding. This study was randomised is not an answer, for the reason set out above.
  3. Whether an interaction term is present. The modern approach assumes it by default; a paper reporting only a×ba \times b is asserting that the interaction is zero. Where both are given, look at how far apart they are.
  4. The denominator behind the proportion mediated. If the total effect’s interval crosses the null, that percentage should not be quoted. When you read that some percentage of the effect was mediated by Y, go back to the total-effect row first.

One more thing that is easy to miss: the scale. NDE and NIE on the risk-difference, risk-ratio and log odds ratio scales are three different sets of numbers, and so is the proportion mediated. A table that does not name its scale cannot be reproduced and cannot be compared with anyone else’s.

Common misuses

MisuseWhy it is wrong
Calling a regression with the mediator in it a mediation analysisThat coefficient estimates the direct effect, and nothing about identifiability was argued — see the DAG page
Using a baseline-measured variable as the mediatorA mediator has to be determined after the exposure, or path aa does not exist
Skipping mediator-outcome confounding because the study is an RCTRandomisation governs arrows leaving the exposure; neither arrow of this confounder does
Taking a×ba \times b as the indirect effect when the outcome model is logisticThe log odds ratio is non-collapsible, so coefficients do not multiply; the two NIEs here differ by a factor of 2.39
Leaving the interaction term out and calling it conservativeIt is an extra assumption, and on this page it moves NDE and NIE by more than two percentage points each
Reporting a proportion mediated when the total effect is not significantThe denominator sits near zero; nearly half the resamples here flip its sign
Writing an indirect effect that crosses the null as does not act through this pathwayNot detected is not absent; equivalence needs a non-inferiority margin fixed in advance
Reporting point estimates with no bootstrap intervalsNatural effects have no closed-form standard error, so a bare point estimate cannot be judged
Bootstrapping the outcome model onlyUncertainty in the mediator model also propagates into the NIE, so refitting one model understates the variance
Trying several mediators or several time points and reporting oneThis is where selective reporting enters mediation analysis, which is what the sensitivity section above exists to expose

How this page relates to the others

  • The what-not-to-do lives next door — see confounding, DAGs and what to adjust for. That page covers what happens when the mediator goes into the regression; this one covers what to do instead.
  • The interaction term itself — see interaction. The A×MA \times M term here is the same object, except that what it changes is how the effect splits.
  • Why coefficients do not multiply — see logistic regression and marginal effects. Non-collapsibility is the technical reason Baron-Kenny is not the main analysis on this page.
  • g-computation in general — see marginal effects and target trial emulation. This page only applies it to an estimand with a cross-world term in it.
  • Missing data — see missing data. A mediation analysis needs three variables present at once, so complete cases always cost more here.
  • Measurement error in the mediator — see measurement error. It pushes the NIE towards zero, so part of an undetected indirect effect may simply be imprecise measurement.
  • The clinical setting of these data — see the design chapter on randomised controlled trials.

Rerunning every number on this page

/opt/homebrew/bin/Rscript figures/scripts/B6-09-mediation.R

Read the figure

The answer comes from the same statistical output that produced this page's figures, not from a number typed in beside them.

The trial has 823 participants and 682 of them enter the mediation analysis. What drove the exclusions?

Show the answer and why

Correct answer: The 139 with a missing mediator. A mediation analysis needs exposure, mediator and outcome all present, and the mediator is measured after treatment, so its missingness often tracks the treatment experience itself

Few were missing the outcome; 139 were missing post-treatment probing depth, so the mediator drove the exclusions rather than the outcome. This is the fragility specific to mediation analysis: an ordinary efficacy analysis needs only exposure and outcome, a mediation analysis needs all three, and complete-case analysis necessarily loses more. The mediator is also measured after treatment - no return visit, no measurement - so its missingness is tied to the treatment experience and is harder to assume missing at random. As for those missing both, they are already counted inside the first two rows, and treating that row as the driver means looking only at the intersection.

Treatment was randomised. What does that buy among the six assumptions a mediation analysis needs?

Show the answer and why

Correct answer: It does not buy the mediator-to-outcome path: probing depth was not drawn by lot, so the coefficient of 0.416 may carry smoking, socioeconomic position and anything else that affects both periodontal status and preterm birth

Randomisation governs the arrows leaving the exposure, so it genuinely buys two assumptions: no exposure-outcome confounding and no exposure-mediator confounding. The path worth -0.354 really is clean. But a confounder of the mediator and the outcome has one arrow into the mediator and one into the outcome, and neither leaves the exposure, so randomisation never touches it - and 0.416 is exactly the coefficient it contaminates. Which means 0.096 cannot be read causally either: identifying the natural direct effect leans on the same unbought assumption. In practice, a mediation analysis inside a randomised trial still has to list and adjust for mediator-outcome confounders the way an observational study would, and still needs a sensitivity analysis for unmeasured confounding.

Keeping or dropping the exposure-mediator interaction barely moves the total effect, yet the direct and indirect effects each shift by more than two percentage points. What does that show?

Show the answer and why

Correct answer: The indirect effect shifts by -0.0211, opposite in sign to the direct one: the interaction term does not change how much effect there is, it changes how the effect is split, so dropping it is an extra assumption rather than caution

The total moves by 0.0010 while direct and indirect each move more than two percentage points in opposite directions, which is exactly what the interaction term does: it leaves the total alone and changes how the total is divided between the two paths. Leaving the interaction out is therefore not the conservative option but an extra claim - that treatment does not change how strongly the mediator acts. The value 0.8370 is that interaction term; its interval crosses zero, but not statistically significant is no licence to treat it as zero, least of all when the interval is wide enough for its two ends to have opposite signs. The value -0.0211 is how far the indirect effect moves, and setting it beside the total's 0.0010 shows that this decision governs the decomposition, not the total.

On the same data and the same log odds ratio scale, the Baron-Kenny product of coefficients and the VanderWeele closed form give two different indirect effects. What does that gap show?

Show the answer and why

Correct answer: The closed form's -0.352 counts the interaction in; on the same data and the same scale, the shortcut shrinks the indirect effect to less than half

The stepwise derivation assumes coefficients can be added and multiplied, which is a property of linear models. The outcome here is binary, a log odds ratio is not collapsible, and the product also cannot carry an exposure-mediator interaction. Both figures compute the same thing on the same scale, -0.147 against -0.352, so the shortcut shrinks the indirect effect to less than half. The value 0.003 is the other quantity often used to defend the shortcut: the gap between the total-effect model's coefficient and the direct effect plus the product of the two paths. It is small because every effect in these data sits close to zero, and two near-zero numbers are naturally alike; it is not evidence that the scale happens to be collapsible here, and it would widen on data with a real effect. The quantitative evidence to look at is those two indirect effects.

The proportion mediated on this page has a point estimate of 9.89 and a percentile interval running from -24.67 to 23.33. How should it be read?

Show the answer and why

Correct answer: Not as a proportion at all. A share of 0.85 of the bootstrap replicates lands outside zero and one, because the denominator is a total effect close to zero that changes sign

Proportion mediated is a ratio whose denominator is the total effect. This trial's total effect is itself not statistically significant and numerically very close to zero, and once the denominator approaches zero the ratio explodes under any perturbation of either part - and a change of sign in the denominator flips the whole ratio. This page quantifies it: the denominator changes sign in nearly half the bootstrap replicates, and 0.85 of them land outside zero and one. So neither the point estimate of 9.89 nor the interval from -24.67 to 23.33 can be read as a mediated proportion; it is not a proportion at all. Rereading the same number as a percentage does not rescue it either: the quantity is defined as the indirect effect divided by the total effect, not as a percentage, and something whose limits run from -24.67 to 23.33 is no share of anything however it is scaled. The right move here is to report the direct and indirect effects as two absolute quantities with their own intervals.

The indirect effect in the main analysis has a 95% percentile interval that crosses zero. Which wording is right?

Show the answer and why

Correct answer: In this analysis set no indirect effect through probing depth was detected - reported together with the interval, which runs from a substantial reduction all the way up to 0.0064

An interval crossing zero means these data did not detect the effect, not that the effect is absent. The width shows how much difference that makes: from -0.0930 up to 0.0064, which rules out neither a reduction in preterm risk of nearly nine percentage points through the indirect path nor a small increase through it. The value -0.0345 is the point estimate, and pairing it with so it can be taken as zero reads non-significance as equivalence; claiming equivalence needs a pre-specified non-inferiority margin, not an interval that crosses zero. The correct wording reports the failure to detect alongside the whole interval, so the reader can judge whether this is no effect or a sample too small to tell.

Sources and licences

This page is original writing

Report a content problem

The statistics on this site are written by AI and reviewed by AI; a human only spot-checks. What you can see may be what we cannot.

The more specific, the more fixable — e.g. which sentence disagrees with which textbook or paper.

Needed only if you want a reply; reports without it are still read.

Sent along with your report

These are attached automatically. You can drop any of them.