An indirect path in a diagram does not tell you what would happen if you changed an exposure. Interventional mediation makes that question explicit: compare two defined exposure settings, and ask how the expected outcome changes partly through a change in the mediator's distribution.
QuickPLS Pro uses fitted observed-variable equations and averages predictions under the specified settings, a procedure called g-computation. A causal interpretation still depends on the design and assumptions.
Define the change before assigning columns
Use the interventional mediation method guide and the linked observed-workshop.csv, which contains 120 synthetic cases. In this exercise, x is a continuous exposure, m is a single continuous mediator, y is the later continuous outcome and z is a pre-exposure adjustment variable. The contrast sets x to 0 versus 1, in that order. Leave the case identifier, group label, weights and binary outcome outside this setup.
A defensible real-world interpretation needs a clear description of what setting the exposure to 0 or 1 means, how the mediator and outcome are ordered, and why the chosen adjustment set addresses relevant common causes. In the workshop these roles are assumptions, not facts demonstrated by the columns.
Specify the ordered equations in QuickPLS
Open Interventional Mediation and continue to setup. Select Treatment: x, Continuous outcome: y and Treatment contrast: Continuous x0 → x1; enter 0 and 1. Use Observed continuous mediators: m and Required nonempty adjustment set: z. Leave baseline moderators unselected.
In Explicit causal paths, register the route from x through m to y. The documented form is path:exposure-mediator-outcome = treatment_id > mediator_id > outcome_id. Replace the illustrative identifiers with the actual identifiers displayed by the app. They are not necessarily the column labels.
Under Explicit observed-data equations, define the mediator from x and z, and the outcome from x, m and z. Check each Staged equation. The intercept is included automatically and the required terms remain in the equations. Do not use the later outcome to predict the earlier mediator.
Review the identification and positivity declarations carefully. Positivity concerns whether the data provide support for the treatment comparison among relevant covariate patterns. A fitted equation may return a prediction for a treatment setting that is barely represented in a subgroup. A narrow interval does not make that extrapolation more credible. Also consider whether the treatment creates a common cause of mediator and outcome, which this setup excludes. Checking a declaration records your judgement; it does not verify the assumption.
For practice, request 500 Bootstrap replicates and run the analysis. Start reading at Identification assumptions and Positivity diagnostics, then open Interventional mediation effects. Retain the exact contrast, equations, case count, estimates, uncertainty and warnings from the same result.
Separate the three comparisons
The direct contrast changes the treatment from 0 to 1 while retaining the mediator distribution under 0. The joint indirect contrast keeps treatment at 1 and changes the mediator distribution from that under 0 to that under 1. The total compares both starting settings with both ending settings. These are averages over the observed baseline distribution under fitted equations, not three samples the reader must upload.
The workshop guide checks 17 observed cases near 0 and 18 near 1 using a tolerance equal to 5% of the observed x range. Those are marginal counts only. They do not settle whether both settings have support for individual covariate patterns. In a real study, explain what you inspected beyond the overall treatment range.
Compare with the correct reference
The public benchmark uses a different, 140-row fixed synthetic dataset; its results are not the answers for the 120-case workshop. It checked three point estimates from OLS and g-computation using QuickPLS 1.01.20 calculation code:
| Effect in the separate benchmark | Checked point estimate, rounded |
|---|---|
| Interventional direct effect | 0.246514 |
| Joint interventional indirect effect | 0.507079 |
| Total interventional contrast | 0.753593 |
The rounded direct and joint indirect components add to the total in this check. Conceptually, the indirect component compares the change associated with shifting the mediator distribution under the defined treatment settings. The total is the stated overall intervention contrast across the modelled settings. Use the result's actual definitions rather than importing an ordinary path-product calculation. The independent point comparison documents close numerical agreement, but does not independently reproduce the bootstrap refits or demonstrate identification.
Reporting check. Describe the treatment levels and their ordering, the mediator and outcome scales, the adjustment rationale and observed support before interpreting effect sizes. If relevant confounding cannot credibly be addressed, say that the estimates are model-defined contrasts under unverified assumptions. Do not present the numerical decomposition as proof of a causal mechanism.