Upload a CSV, map a predictor, a mediator, and an outcome, and get the full path decomposition: the a, b, c and c-prime paths, the indirect effect with a bootstrap confidence interval, the proportion mediated, and a straight answer about what the numbers can and cannot prove. Free.
Free analyses run on up to 10,000 rows. Larger files are randomly sampled to that size — sign up to analyze your full dataset.
Fitting the path models and bootstrapping the indirect effect...
Sent to — Path estimates, effect decomposition, the bootstrap distribution of the indirect effect, an explicit assumptions table, R code, and AI insights.
Analyze another fileMediation is estimated with three ordinary least squares regressions on the same rows and the same covariate set: the mediator on the predictor gives the a path; the outcome on both the predictor and the mediator gives the b path and the direct path c-prime; the outcome on the predictor alone gives the total path c. The indirect effect is a times b, and its 95% confidence interval is a percentile bootstrap — rows resampled with replacement, both regressions refitted on each resample, and the 2.5th and 97.5th percentiles of the resulting products reported, from a fixed seed so the interval is reproducible. The Sobel normal-theory test is computed and reported alongside, with its weakness stated. Moderation is estimated with a single interaction model, and the predictor's conditional slope is evaluated at the mean of the moderator and one standard deviation either side (or within each level of a categorical moderator), each with a standard error from the model's covariance matrix.
Use it when you have a specific third variable in mind and want to know whether the predictor-outcome association runs through it (mediation) or varies across it (moderation), and you want the uncertainty on that claim rather than just a point estimate.
Not a substitute for a randomised experiment or a designed causal study — on observational data the decomposition describes associations under assumptions the data cannot check. Not for a binary mediator or outcome, not for several mediators at once, and not for repeated measures on the same unit, which violate the independence the standard errors assume.
Built for: Analysts, researchers, product and marketing teams testing a mechanism or a conditional effect
Typical data source: Any spreadsheet or CSV with one row per person, customer, store, or period, carrying a predictor, an intermediate variable, and an outcome
One row per unit, with the predictor, the intermediate step, and the outcome measured on it. For example, marketing spend, site traffic, and revenue per customer:
Minimum 30 rows · Best with 200-20,000 rows
Standard-library analysis: does a predictor relate to an outcome through a third variable, or does its relationship with the outcome depend on one? Map a predictor, an outcome, and either a mediator or a moderator (plus optional covariates). Mediation splits the total association into the direct path and the indirect path that runs through the mediator — the a, b, c and c-prime paths with standard errors, the indirect effect a×b with a percentile bootstrap confidence interval, the proportion mediated where it is interpretable, the Sobel test reported alongside with its weakness stated, and the whole path diagram as a table. Moderation fits the interaction model and reports the conditional slope of the predictor at low, mean and high values of the moderator (or within each moderator level). Every narrative states, in your own column names, the assumption set a causal reading would rest on.
Every arrow of the model as a table row: the a path, the b path, the direct path, the total path, and the indirect path with its bootstrap interval.
Total, direct and indirect association side by side, each with an interval — how much of the relationship travels through the mediator.
Where the indirect effect lands across thousands of resamples of your own rows; the skew in this picture is why a bootstrap interval beats the Sobel test.
The assumptions a causal reading would need, and the honest answer to whether this dataset can check any of them.
Every regression, formula, and setting behind the numbers, including the bootstrap seed.
Plain-English interpretation — what the numbers mean, what's significant, and what to do next.
Is the mechanism what I think it is?
You believe more ad spend lifts revenue because it brings more site visits. Map ad spend as the predictor, site visits as the mediator, revenue as the outcome. You get the a path (spend to visits), the b path (visits to revenue among rows with the same spend), the direct path, and the indirect path with a bootstrap confidence interval — plus a plain statement of what would have to be true for this to be the mechanism rather than a pattern.
See our FAQ for details on pricing, data privacy, and how the analysis works. Every report includes a Methodology section showing the statistical test, assumptions checked, and diagnostics run.
Run any analysis on your own data — validated R analyses, interactive reports, AI insights, and PDF export.
Try Free — No Credit CardTell us what went wrong, in your own words. We capture the page you're on automatically, so no need to describe where you are.