Learn R Programming

⚠️There's a newer version (1.2.1) of this package.Take me there.

robmed (version 1.0.0)

(Robust) Mediation Analysis

Description

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

Copy Link

Version

Install

install.packages('robmed')

Monthly Downloads

305

Version

1.0.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Andreas Alfons

Last Published

August 17th, 2022

Functions in robmed (1.0.0)

coef.test_mediation

Coefficients in (robust) mediation analysis
ellipse_plot

Diagnostic plot with a tolerance ellipse
robmed-package

tools:::Rd_package_title("robmed")
p_value

p-Values from (robust) mediation analysis
setup_density_plot

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

Tuning parameters for MM-regression
m

Create an object of hypothesized mediators or control variables
setup_ci_plot

Set up information for a dot plot with confidence intervals
setup_ellipse_plot

Set up a diagnostic plot with a tolerance ellipse
fit_mediation

(Robustly) fit a mediation model
retest

Retest for mediation
plot-methods

Plot (robust) mediation analysis results
boot_samples

Draw bootstrap samples
test_mediation

(Robust) mediation analysis
sim_mediation

Generate data from a fitted mediation model
weight_plot

Diagnostic plot of robust regression weights
weights.cov_Huber

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

Summary of results from (robust) mediation analysis
setup_weight_plot

Set up a diagnostic plot of robust regression weights
cov_ML

Maximum likelihood estimator of mean vector and covariance matrix
cov_control

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

Huber M-estimator of location and scatter
density_plot

Density plot of the indirect effect(s)
BSG2014

Business simulation game data
confint.test_mediation

Confidence intervals from (robust) mediation analysis
ci_plot

Dot plot with confidence intervals