Learn R Programming

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

robmed: (Robust) Mediation Analysis

Perform mediation analysis via a (fast and robust) bootstrap test.

Copy Link

Version

Install

install.packages('robmed')

Monthly Downloads

399

Version

0.6.0

License

GPL (>= 2)

Maintainer

Andreas Alfons

Last Published

February 13th, 2020

Functions in robmed (0.6.0)

coef.test_mediation

Coefficients in (robust) mediation analysis
ellipse_plot

Diagnostic plot with a tolerance ellipse
density_plot

Density plot of the indirect effect(s)
m

Create an object of hypothesized mediators or control variables
setup_density_plot

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

(Robustly) fit a mediation model
BSG2014

Business simulation game data
setup_ellipse_plot

Set up a diagnostic plot with a tolerance ellipse
boot_samples

Draw bootstrap samples
run_shiny_app

Shiny app: simulation for mediation analysis with outliers
setup_ci_plot

Set up information for a dot plot with confidence intervals
weights.cov_Huber

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

Huber M-estimator of location and scatter
confint.test_mediation

Confidence intervals for (robust) mediation analysis
p_value

p-Values for (robust) mediation analysis
plot-methods

Plot (robust) mediation analysis results
cov_ML

Maximum likelihood estimator of mean vector and covariance matrix
summary.test_mediation

Summary of results from (robust) mediation analysis
retest

Retest for mediation
reg_control

Tuning parameters for MM-regression
cov_control

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

(Robust) mediation analysis
ci_plot

Dot plot with confidence intervals
robmed-deprecated

Deprecated functions in package robmed
robmed-package

robmed