Free — no account required

Does It Work Through What You Think? Test The Mechanism

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.

24,000+ analyses run
Encrypted & deleted in 7 days
PDF & citation included

Free analyses run on up to 10,000 rows. Larger files are randomly sampled to that size — sign up to analyze your full dataset.

📊
-
Rows
-
Columns
-
Numeric

Running mediation & moderation analysis analysis...

Fitting the path models and bootstrapping the indirect effect...

Your report is ready

Sent to — Path estimates, effect decomposition, the bootstrap distribution of the indirect effect, an explicit assumptions table, R code, and AI insights.

Analyze another file
Sample Output

Every report includes interactive charts, tables, and AI insights

Upload your data to get your own report

View all case studies See all free tools

How it works

Mediation 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

MarketingProductResearchHealthcareEducationOperationsFinance

What data do you need?

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:

customer_id (text) ad_spend (numeric) site_visits (numeric) revenue (numeric) tenure_months (numeric)
C00001 1.87 4.28 15.8 29
C00002 0.87 6.57 15.47 38
C00003 -0.42 5.11 14.62 12

Minimum 30 rows · Best with 200-20,000 rows

What's in the report?

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.

📋

Effect Paths

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.

📊

Effect Decomposition

Total, direct and indirect association side by side, each with an interval — how much of the relationship travels through the mediator.

📉

Bootstrap Distribution

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.

📋

What This Rests On

The assumptions a causal reading would need, and the honest answer to whether this dataset can check any of them.

📋

Methods & Disclosure

Every regression, formula, and setting behind the numbers, including the bootstrap seed.

🤖

AI Insights

Plain-English interpretation — what the numbers mean, what's significant, and what to do next.

The Question This Answers

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.

Questions?

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.

Your data has more stories to tell

Run any analysis on your own data — validated R analyses, interactive reports, AI insights, and PDF export.

Try Free — No Credit Card
Powered by MCP Analytics