Learn R Programming

robmed (version 1.2.1)

(Robust) Mediation Analysis

Description

Perform mediation analysis via the fast-and-robust bootstrap test ROBMED (Alfons, Ates & Groenen, 2022a; ), as well as various other methods. Details on the implementation and code examples can be found in Alfons, Ates, and Groenen (2022b) . Further discussion on robust mediation analysis can be found in Alfons & Schley (2024) .

Copy Link

Version

Install

install.packages('robmed')

Monthly Downloads

433

Version

1.2.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Andreas Alfons

Last Published

February 8th, 2025

Functions in robmed (1.2.1)

fit_mediation

(Robustly) fit a mediation model
setup_ci_plot

Set up information for a dot plot with confidence intervals
robmed-package

tools:::Rd_package_title("robmed")
setup_density_plot

Set up information for a density plot of the indirect effect(s)
reg_control

Tuning parameters for robust regression
setup_ellipse_plot

Set up a diagnostic plot with a tolerance ellipse
plot-methods

Plot (robust) mediation analysis results
p_value

p-Values from (robust) mediation analysis
m

Create an object of hypothesized mediators or control variables
retest

Retest for mediation
weight_plot

Diagnostic plot of robust regression weights
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
weights.cov_Huber

Robustness weights of Huber M-estimation of location and scatter
test_mediation

(Robust) mediation analysis
cov_ML

Maximum likelihood estimator of mean vector and covariance matrix
BSG2014

Business simulation game data
cov_control

Tuning parameters for Huber M-estimation of location and scatter
ellipse_plot

Diagnostic plot with a tolerance ellipse
density_plot

Density plot of the indirect effect(s)
confint.test_mediation

Confidence intervals from (robust) mediation analysis
ci_plot

Dot plot with confidence intervals
cov_Huber

Huber M-estimator of location and scatter
coef.test_mediation

Coefficients in (robust) mediation analysis
boot_samples

Draw bootstrap samples