Package: robmed 1.1.0

robmed: (Robust) Mediation Analysis

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>.

Authors:Andreas Alfons [aut, cre], Nufer Y. Ates [ctb]

robmed_1.1.0.tar.gz
robmed_1.1.0.zip(r-4.5)robmed_1.1.0.zip(r-4.4)robmed_1.1.0.zip(r-4.3)
robmed_1.1.0.tgz(r-4.4-any)robmed_1.1.0.tgz(r-4.3-any)
robmed_1.1.0.tar.gz(r-4.5-noble)robmed_1.1.0.tar.gz(r-4.4-noble)
robmed_1.1.0.tgz(r-4.4-emscripten)robmed_1.1.0.tgz(r-4.3-emscripten)
robmed.pdf |robmed.html
robmed/json (API)
NEWS

# Install 'robmed' in R:
install.packages('robmed', repos = c('https://aalfons.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/aalfons/robmed/issues

Datasets:
  • BSG2014 - Business simulation game data

On CRAN:

5.43 score 6 stars 1 packages 30 scripts 372 downloads 24 exports 38 dependencies

Last updated 21 days agofrom:ab51c9f72b. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 02 2024
R-4.5-winOKNov 02 2024
R-4.5-linuxOKNov 02 2024
R-4.4-winOKNov 02 2024
R-4.4-macOKNov 02 2024
R-4.3-winOKNov 02 2024
R-4.3-macOKNov 02 2024

Exports:boot_samplesci_plotcov_controlcov_Hubercov_MLcovariatesdensity_plotellipse_plotfit_mediationmp_valueparallel_mreg_controlretestrmediationrobmedserial_msetup_ci_plotsetup_density_plotsetup_ellipse_plotsetup_weight_plotsim_mediationtest_mediationweight_plot

Dependencies:bootclicolorspaceDEoptimRfansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixMatrixModelsmgcvmnormtmunsellnlmenumDerivpillarpkgconfigquantregR6RColorBrewerrlangrobustbasescalessnSparseMsurvivaltibbleutf8vctrsviridisLitewithr

Robust Mediation Analysis: The R Package robmed

Rendered fromrobmed-intro.Rnwusingknitr::knitron Nov 02 2024.

Last update: 2024-11-02
Started: 2022-02-18

Readme and manuals

Help Manual

Help pageTopics
(Robust) Mediation Analysisrobmed-package
Draw bootstrap samplesboot_samples
Business simulation game dataBSG2014
Dot plot with confidence intervalsci_plot ci_plot.boot_test_mediation ci_plot.default ci_plot.list ci_plot.setup_ci_plot ci_plot.sobel_test_mediation
Coefficients in (robust) mediation analysiscoef.boot_test_mediation coef.fit_mediation coef.test_mediation
Confidence intervals from (robust) mediation analysisconfint.boot_test_mediation confint.sobel_test_mediation confint.test_mediation
Tuning parameters for Huber M-estimation of location and scattercov_control
Huber M-estimator of location and scattercov_Huber print.cov_Huber
Maximum likelihood estimator of mean vector and covariance matrixcov_ML print.cov_ML
Density plot of the indirect effect(s)density_plot density_plot.default density_plot.list density_plot.setup_density_plot density_plot.sobel_test_mediation
Diagnostic plot with a tolerance ellipseellipse_plot ellipse_plot.default ellipse_plot.setup_ellipse_plot
(Robustly) fit a mediation modelfit_mediation fit_mediation.default fit_mediation.formula print.fit_mediation summary.cov_fit_mediation summary.reg_fit_mediation
Create an object of hypothesized mediators or control variablescovariates m parallel_m serial_m
p-Values from (robust) mediation analysisp_value p_value.boot_test_mediation p_value.sobel_test_mediation
Plot (robust) mediation analysis resultsautoplot.fit_mediation autoplot.test_mediation plot-methods plot.fit_mediation plot.test_mediation
Tuning parameters for MM-regressionreg_control
Retest for mediationretest retest.boot_test_mediation retest.sobel_test_mediation
Set up information for a dot plot with confidence intervalssetup_ci_plot setup_ci_plot.boot_test_mediation setup_ci_plot.list setup_ci_plot.sobel_test_mediation
Set up information for a density plot of the indirect effect(s)setup_density_plot setup_density_plot.boot_test_mediation setup_density_plot.list setup_density_plot.sobel_test_mediation
Set up a diagnostic plot with a tolerance ellipsesetup_ellipse_plot setup_ellipse_plot.cov_fit_mediation setup_ellipse_plot.list setup_ellipse_plot.reg_fit_mediation setup_ellipse_plot.test_mediation
Set up a diagnostic plot of robust regression weightssetup_weight_plot setup_weight_plot.reg_fit_mediation setup_weight_plot.test_mediation
Generate data from a fitted mediation modelrmediation sim_mediation sim_mediation.fit_mediation sim_mediation.test_mediation
Summary of results from (robust) mediation analysissummary.boot_test_mediation summary.sobel_test_mediation summary.test_mediation
(Robust) mediation analysisprint.boot_test_mediation print.sobel_test_mediation robmed test_mediation test_mediation.default test_mediation.fit_mediation test_mediation.formula
Diagnostic plot of robust regression weightsweight_plot weight_plot.default weight_plot.setup_weight_plot
Robustness weights of Huber M-estimation of location and scatterweights.cov_Huber