Skip to content

RMediation

Mediation Analysis Confidence Intervals

v1.3.0 · Nov 20, 2025 · GPL (>= 3) | file LICENSE

Description

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>.

Downloads

713

Last 30 days

5164th

2K

Last 90 days

26.2K

Last year

Trend: +7.4% (30d vs prior 30d)

CRAN Check Status

1 ERROR
13 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 ERROR
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (1 non-OK)
ERROR r-oldrel-windows-x86_64

package dependencies

Package required but not available: 'OpenMx'

See section 'The DESCRIPTION file' in the 'Writing R Extensions'
manual.

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-oldrel-windows-x86_64

package dependencies

Package required but not available: 'OpenMx'

See section 'The DESCRIPTION file' in the 'Writing R Extensions'
manual.

Dependency Network

Dependencies Reverse dependencies lavaan e1071 OpenMx MASS modelr generics checkmate RMediation

Version History

new 1.3.0 Mar 10, 2026
updated 1.3.0 ← 1.2.2 diff Nov 19, 2025
updated 1.2.2 ← 1.2.1 diff May 11, 2023
updated 1.2.1 ← 1.2.0 diff May 2, 2023
updated 1.2.0 ← 1.1.4 diff Jul 8, 2022
updated 1.1.4 ← 1.1.3 diff Mar 13, 2016
updated 1.1.3 ← 1.1.2 diff Mar 6, 2014
updated 1.1.2 ← 1.1 diff Sep 11, 2013
updated 1.1 ← 1.0 diff Oct 9, 2011
new 1.0 Feb 7, 2011