MedModr X M Y W
Mediation, Moderation & Conditional Process Tool
Initializing modules...
Path Diagram
Simple Slopes

Categorical Variable Encoding

Loading categorical variables...
Statistical Software

Mediation, Moderation &
Conditional Process Analysis
done right.

A free, user-friendly, open-source application for mediation, moderation, and conditional process analysis. Runs entirely in your web browser with no installation required and no internet connection needed. Use it offline on any device, anywhere.

15
Analysis Types
OLS + Logistic
Regression
b + β
Both Coefficients
Bootstrap
Percentile + BC
Key Features
Automatic Logistic Regression
When the outcome variable (Y) is binary (0/1), the system automatically switches to logistic regression with log-odds coefficients, model fit statistics (McFadden R², Cox-Snell, Nagelkerke), and χ² test.
Data Screening & Diagnostics
Outlier detection (Z-score, IQR, MAD, Percentile), normality tests (skewness, kurtosis), correlation matrix (Pearson, Spearman, Kendall), sample size recommendations, histograms, and Q-Q plots.
Missing Data Handling
Multiple Imputation (PMM), Mean/Median/Mode imputation, Hot Deck, Regression imputation, EM Algorithm, and Listwise deletion.
Categorical Variable Encoding
Automatic detection and dummy coding of categorical variables with user-selectable reference categories.
Data Import & Export
CSV/Excel import, multiple sheet support for Excel, data preview with summary statistics, export cleaned data as CSV, export results as Word, PDF, and HTML.
Data Editor with Recode
Edit data directly in the browser. Reverse code variables (e.g., 1↔5, 2↔4) and recode values (text or numeric) into new columns or replace existing data.
Bootstrap Confidence Intervals
Percentile and Bias-Corrected (BC) bootstrap methods for indirect effects. Adjustable number of bootstrap samples (1,000, 5000, and 10,000).
Path Diagrams
Interactive SVG path diagrams for analysis types. Customizable node shapes, line thickness, colors, and export as PNG/SVG.
Simple Slopes Plots
Simple slopes plots for moderation and moderated mediation. Customizable colors, labels, legend, and high-resolution download.
Publication-Ready Tables
Regression tables include unstandardized (b) and standardized (β) coefficients, SE, t/z, p-values, confidence intervals, and VIF for multicollinearity diagnostics.
Mean Centering Options
Choose between No centering, Continuous-only centering (preserves binary variables), or All variables centered.
Multiple Mediators Support
Parallel mediation supports multiple mediators simultaneously with individual and total indirect effects.
Offline & Mobile Ready
Works completely offline. Responsive design works on desktop, tablet, and mobile devices.
Available Analysis Types
Simple Mediation (Model 4)
Tests whether X → M → Y transmits effect through a single mediator. Includes Sobel test.
Parallel Mediation (Model 4)
Tests multiple independent mediators X → {M₁...Mₖ} → Y simultaneously. Supports up to multiple mediators.
Serial Mediation (Model 6)
Tests causal chain X → M₁ → M₂ → Y with three indirect paths.
Simple Moderation (Model 1)
Tests if X→Y relationship depends on moderator W (X×W interaction). Includes simple slopes plot and conditional effects.
Double Moderation (Model 2)
Tests if two moderators (W and Z) jointly moderate the X→Y relationship (X×W + X×Z interactions).
Moderated Moderation (Model 3)
Tests three-way interaction X × W × Z → Y. Includes all two-way interactions.
Mediation with Moderated Direct (Model 5)
Tests mediation with moderator W affecting only the direct X→Y path (c'-path).
First Stage Moderated Mediation (Model 7)
Tests if indirect effect depends on W moderating the X→M path (a-path).
X→M & X→Y Moderated Mediation (Model 8)
Tests if indirect effect depends on W moderating both X→M and direct X→Y paths.
Two Moderators (Model 9)
W moderates X→M path, Z moderates M→Y path. Two-stage moderated mediation with separate moderators.
Second Stage Moderated Mediation (Model 14)
Tests if indirect effect depends on W moderating the M→Y path (b-path).
M→Y & X→Y Moderated Mediation (Model 15)
Tests if W moderates both the M→Y path and the direct X→Y path.
Both Stages Moderated Mediation (Model 58)
Tests if indirect effect depends on W moderating both X→M and M→Y paths.
All Three Paths Moderated Mediation (Model 59)
Tests if all three paths (X→M, M→Y, and X→Y) are moderated by W. Full moderated mediation model.
Moderated Serial Mediation (Model 83)
Tests if serial indirect effect (X→M₁→M₂→Y) is moderated by W (first stage moderation).

Data Processing

Upload your data, handle missing values, and prepare for analysis.

1
Upload
2
Select Vars
3
Preview
4
Missing Data
5
Impute
6
Screening
7
Finalize
Step 1: Upload Data File
Drag & Drop or Click to Browse
Supports CSV and Excel files (.csv, .xlsx, .xls)
CSV works offline · Excel requires internet
Missing Values Configuration (optional)
Define custom missing values

Statistical Analysis

Select variables, assign to roles, and run analysis.

Variable Assignment
Available Variables Click to select, then use buttons below
Independent (X)
No variables assigned
Mediator (M)
No variables assigned
Mediator (M2)
For serial mediation
Outcome (Y)
No variables assigned
Moderator (W)
For moderation/modmed
Covariates
No variables assigned
Analysis Type: Confidence level: Bootstrap samples: Bootstrap method:
Categorical Vars: No categorical variables detected

Author

Connect with the creator of MedModr.

👨‍💻
Mudasir Mohammed Ibrahim

Mudasir Mohammed Ibrahim is a Ghanaian nurse, researcher, data analyst, and open-source advocate 🇬🇭. He is the creator of MedModr, a free tool designed to make commonly used mediation, moderation, and conditional process analysis methods accessible to researchers, students, educators, and practitioners worldwide. His work promotes open science, reproducible research, and equitable access to high-quality statistical tools, especially in underfunded and resource-limited settings.

Connect with me