RMediation: Mediation Analysis Confidence Intervals (original) (raw)
We provide functions to compute confidence intervals for a well-defined nonlinear function of the model parameters (e.g., product of k coefficients) in single–level and multilevel structural equation models. It also computes a chi-square test statistic for a function of indirect effects. '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. (2020). Bootstrap Model-Based Constrained Optimization Tests of Indirect Effects. Frontiers in Psychology, 10, 2989. <doi:10.3389/fpsyg.2019.02989>.
| Version: | 1.2.2 |
|---|---|
| Depends: | R (≥ 3.5.0), base (≥ 3.5.0), stats (≥ 3.5.0), graphics (≥ 3.5.0), methods (≥ 3.5.0), lavaan (≥ 0.5-20), e1071 (≥ 1.6-7), OpenMx (≥ 2.13), MASS (≥ 7.3) |
| Imports: | modelr (≥ 0.1.4), doParallel (≥ 1.0.0), foreach (≥ 1.5.0), iterators (≥ 1.0.0), stringr (≥ 1.4.0), grDevices (≥ 3.5) |
| Suggests: | knitr, rmarkdown |
| Published: | 2023-05-12 |
| DOI: | 10.32614/CRAN.package.RMediation |
| Author: | Davood Tofighi |
| Maintainer: | Davood Tofighi |
| License: | GPL-2 |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | RMediation results [issues need fixing before 2025-11-15] |
Documentation:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=RMediationto link to this page.