Crandore Hub

RMediation

Mediation Analysis Confidence Intervals

Computes confidence intervals for nonlinear functions of model parameters (e.g., product of k coefficients) in single-level and multilevel structural equation models. Methods include the distribution of the product, Monte Carlo simulation, and bootstrap methods. It also performs the Model-Based Constrained Optimization (MBCO) procedure for hypothesis testing of indirect effects. References: Tofighi, D., and MacKinnon, D. P. (2011). RMediation: An R package for mediation analysis confidence intervals. Behavior Research Methods, 43, 692-700. <doi:10.3758/s13428-011-0076-x>; Tofighi, D., and Kelley, K. (2020). Improved inference in mediation analysis: Introducing the model-based constrained optimization procedure. Psychological Methods, 25(4), 496-515. <doi:10.1037/met0000259>; Tofighi, D. (2020). Bootstrap Model-Based Constrained Optimization Tests of Indirect Effects. Frontiers in Psychology, 10, 2989. <doi:10.3389/fpsyg.2019.02989>.

Versions across snapshots

VersionRepositoryFileSize
1.3.0 rolling linux/jammy R-4.5 RMediation_1.3.0.tar.gz 1.7 MiB
1.3.0 rolling linux/noble R-4.5 RMediation_1.3.0.tar.gz 1.7 MiB
1.3.0 rolling source/ R- RMediation_1.3.0.tar.gz 1.6 MiB
1.3.0 latest linux/jammy R-4.5 RMediation_1.3.0.tar.gz 1.7 MiB
1.3.0 latest linux/noble R-4.5 RMediation_1.3.0.tar.gz 1.7 MiB
1.3.0 latest source/ R- RMediation_1.3.0.tar.gz 1.6 MiB
1.3.0 2026-04-26 source/ R- RMediation_1.3.0.tar.gz 1.6 MiB
1.3.0 2026-04-23 source/ R- RMediation_1.3.0.tar.gz 1.6 MiB
1.3.0 2026-04-09 windows/windows R-4.5 RMediation_1.3.0.zip 1.7 MiB
1.2.2 2025-04-20 source/ R- RMediation_1.2.2.tar.gz 25.4 KiB

Dependencies (latest)

Depends

Imports

Suggests