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:
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')) |
Bug tracker:https://github.com/aalfons/robmed/issues
- BSG2014 - Business simulation game data
Last updated 21 days agofrom:ab51c9f72b. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 02 2024 |
R-4.5-win | OK | Nov 02 2024 |
R-4.5-linux | OK | Nov 02 2024 |
R-4.4-win | OK | Nov 02 2024 |
R-4.4-mac | OK | Nov 02 2024 |
R-4.3-win | OK | Nov 02 2024 |
R-4.3-mac | OK | Nov 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
Readme and manuals
Help Manual
Help page | Topics |
---|---|
(Robust) Mediation Analysis | robmed-package |
Draw bootstrap samples | boot_samples |
Business simulation game data | BSG2014 |
Dot plot with confidence intervals | ci_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 analysis | coef.boot_test_mediation coef.fit_mediation coef.test_mediation |
Confidence intervals from (robust) mediation analysis | confint.boot_test_mediation confint.sobel_test_mediation confint.test_mediation |
Tuning parameters for Huber M-estimation of location and scatter | cov_control |
Huber M-estimator of location and scatter | cov_Huber print.cov_Huber |
Maximum likelihood estimator of mean vector and covariance matrix | cov_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 ellipse | ellipse_plot ellipse_plot.default ellipse_plot.setup_ellipse_plot |
(Robustly) fit a mediation model | fit_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 variables | covariates m parallel_m serial_m |
p-Values from (robust) mediation analysis | p_value p_value.boot_test_mediation p_value.sobel_test_mediation |
Plot (robust) mediation analysis results | autoplot.fit_mediation autoplot.test_mediation plot-methods plot.fit_mediation plot.test_mediation |
Tuning parameters for MM-regression | reg_control |
Retest for mediation | retest retest.boot_test_mediation retest.sobel_test_mediation |
Set up information for a dot plot with confidence intervals | setup_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 ellipse | setup_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 weights | setup_weight_plot setup_weight_plot.reg_fit_mediation setup_weight_plot.test_mediation |
Generate data from a fitted mediation model | rmediation sim_mediation sim_mediation.fit_mediation sim_mediation.test_mediation |
Summary of results from (robust) mediation analysis | summary.boot_test_mediation summary.sobel_test_mediation summary.test_mediation |
(Robust) mediation analysis | print.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 weights | weight_plot weight_plot.default weight_plot.setup_weight_plot |
Robustness weights of Huber M-estimation of location and scatter | weights.cov_Huber |