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>.
| Version: | 1.3.0 |
| Depends: | R (≥ 4.1.0), base (≥ 4.1.0), stats (≥ 4.1.0) |
| Imports: | graphics (≥ 4.1.0), lavaan (≥ 0.5-20), e1071 (≥ 1.6-7), OpenMx (≥ 2.13), grDevices (≥ 4.1.0), MASS (≥ 7.3), modelr (≥ 0.1.8), generics (≥ 0.0.2), checkmate (≥ 2.1.0) |
| Suggests: | knitr, rmarkdown, testthat (≥ 3.0.0) |
| Published: | 2025-11-20 |
| DOI: | 10.32614/CRAN.package.RMediation |
| Author: | Davood Tofighi |
| Maintainer: | Davood Tofighi <dtofighi at gmail.com> |
| BugReports: | https://github.com/data-wise/rmediation/issues |
| License: | GPL (≥ 3) | file LICENSE |
| URL: | https://data-wise.github.io/rmediation/, https://github.com/data-wise/rmediation |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | RMediation results |
| Reference manual: | RMediation.html , RMediation.pdf |
| Package source: | RMediation_1.3.0.tar.gz |
| Windows binaries: | r-devel: RMediation_1.3.0.zip, r-release: RMediation_1.3.0.zip, r-oldrel: RMediation_1.2.2.zip |
| macOS binaries: | r-release (arm64): RMediation_1.3.0.tgz, r-oldrel (arm64): RMediation_1.3.0.tgz, r-release (x86_64): RMediation_1.3.0.tgz, r-oldrel (x86_64): RMediation_1.3.0.tgz |
| Old sources: | RMediation archive |
Please use the canonical form https://CRAN.R-project.org/package=RMediation to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.