robmed-package {robmed}R Documentation

(Robust) Mediation Analysis

Description

Perform mediation analysis via the fast-and-robust bootstrap test ROBMED (Alfons, Ates & Groenen, 2022a; <doi:10.1177/1094428121999096>), as well as various other methods. Details on the implementation and code examples can be found in Alfons, Ates, and Groenen (2022b) <doi:10.18637/jss.v103.i13>.

Details

The DESCRIPTION file:

Package: robmed
Type: Package
Title: (Robust) Mediation Analysis
Version: 1.0.2
Date: 2023-06-16
Depends: R (>= 3.5.0), ggplot2 (>= 3.3.0), robustbase (>= 0.92-7)
Imports: boot (>= 1.3-20), grid, methods, quantreg (>= 5.36), sn (>= 1.5-4), utils
Suggests: knitr, testthat
Description: Perform mediation analysis via the fast-and-robust bootstrap test ROBMED (Alfons, Ates & Groenen, 2022a; <doi:10.1177/1094428121999096>), as well as various other methods. Details on the implementation and code examples can be found in Alfons, Ates, and Groenen (2022b) <doi:10.18637/jss.v103.i13>.
License: GPL (>= 2)
URL: https://github.com/aalfons/robmed
BugReports: https://github.com/aalfons/robmed/issues
LazyData: yes
VignetteBuilder: knitr
Authors@R: c(person("Andreas", "Alfons", email = "alfons@ese.eur.nl", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-2513-3788")), person("Nufer Y.", "Ates", role = "ctb", comment = c(ORCID = "0000-0003-4572-4101", "provided the BSG2014 data")))
Author: Andreas Alfons [aut, cre] (<https://orcid.org/0000-0002-2513-3788>), Nufer Y. Ates [ctb] (<https://orcid.org/0000-0003-4572-4101>, provided the BSG2014 data)
Maintainer: Andreas Alfons <alfons@ese.eur.nl>
Encoding: UTF-8
RoxygenNote: 7.2.3

Index of help topics:

BSG2014                 Business simulation game data
boot_samples            Draw bootstrap samples
ci_plot                 Dot plot with confidence intervals
coef.test_mediation     Coefficients in (robust) mediation analysis
confint.test_mediation
                        Confidence intervals from (robust) mediation
                        analysis
cov_Huber               Huber M-estimator of location and scatter
cov_ML                  Maximum likelihood estimator of mean vector and
                        covariance matrix
cov_control             Tuning parameters for Huber M-estimation of
                        location and scatter
density_plot            Density plot of the indirect effect(s)
ellipse_plot            Diagnostic plot with a tolerance ellipse
fit_mediation           (Robustly) fit a mediation model
m                       Create an object of hypothesized mediators or
                        control variables
p_value                 p-Values from (robust) mediation analysis
plot-methods            Plot (robust) mediation analysis results
reg_control             Tuning parameters for MM-regression
retest                  Retest for mediation
robmed-package          (Robust) Mediation Analysis
setup_ci_plot           Set up information for a dot plot with
                        confidence intervals
setup_density_plot      Set up information for a density plot of the
                        indirect effect(s)
setup_ellipse_plot      Set up a diagnostic plot with a tolerance
                        ellipse
setup_weight_plot       Set up a diagnostic plot of robust regression
                        weights
sim_mediation           Generate data from a fitted mediation model
summary.test_mediation
                        Summary of results from (robust) mediation
                        analysis
test_mediation          (Robust) mediation analysis
weight_plot             Diagnostic plot of robust regression weights
weights.cov_Huber       Robustness weights of Huber M-estimation of
                        location and scatter

Author(s)

Andreas Alfons [aut, cre] (<https://orcid.org/0000-0002-2513-3788>), Nufer Y. Ates [ctb] (<https://orcid.org/0000-0003-4572-4101>, provided the BSG2014 data)

Maintainer: Andreas Alfons <alfons@ese.eur.nl>

References

Alfons, A., Ates, N.Y. and Groenen, P.J.F. (2022a) A Robust Bootstrap Test for Mediation Analysis. Organizational Research Methods, 25(3), 591–617. doi:10.1177/1094428121999096.

Alfons, A., Ates, N.Y. and Groenen, P.J.F. (2022b) Robust mediation analysis: The R package robmed. Journal of Statistical Software, 103(13), 1–45. doi:10.18637/jss.v103.i13.


[Package robmed version 1.0.2 Index]