Skip to content

aalfons/robmedExtra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

robmedExtra: Extra Functionality for (Robust) Mediation Analysis

This companion package extends the package robmed in various ways. Most notably, it provides:

  • A graphical user interface (GUI) for the robust bootstrap test ROBMED (Alfons, Ates & Groenen, 2022a) to make the method more accessible to less proficient R users, implemented as a shiny app. The GUI allows to easily export results for reporting, including a replication file in the form of an R script.
  • Functions to export the results from mediation analysis as a table in a Microsoft Word or Powerpoint document, or as a LaTeX table.
  • A shiny app to compare various bootstrap procedures for mediation analysis on simulated data.

To cite the robust bootstrap test ROBMED, please use:

Alfons, A., Ates, N.Y., & Groenen, P.J.F. (2022a). A Robust Bootstrap Test for Mediation Analysis. Organizational Research Methods, 25(3), 591--617. doi: 10.1177/1094428121999096.

To cite packages robmed and robmedExtra in publications, please use:

Alfons, A., Ates, N.Y., & Groenen, P.J.F. (2022b). Robust Mediation Analysis: The R Package robmed. Journal of Statistical Software, 103(13), 1--45. doi: 10.18637/jss.v103.i13.

Alfons A., Archimbaud A., & Drenth V. (2023). robmedExtra: Extra Functionality for (Robust) Mediation Analysis. R package, https://CRAN.R-project.org/package=robmedExtra.

About ROBMED

The robust bootstrap test ROBMED for mediation analysis is less sensitive to deviations from model assumptions (such as outliers or heavily tailed distributions) than the standard bootstrap test of Preacher & Hayes (2004, 2008). ROBMED utilizes the robust MM-regression estimator (Yohai, 1987) instead of the OLS estimator for regression, and runs bootstrap tests with the fast and robust bootstrap methodology (Salibián-Barrera & Zamar, 2002; Salibián-Barrera & Van Aelst, 2008).

More information can be found in our article:

Alfons, A., Ates, N.Y., & Groenen, P.J.F. (2022a). A Robust Bootstrap Test for Mediation Analysis. Organizational Research Methods, 25(3), 591--617. doi: 10.1177/1094428121999096.

Installation

Package robmedExtra is on CRAN (The Comprehensive R Archive Network), hence the latest release can be easily installed from the R command line via

install.packages("robmedExtra")

The latest (possibly unstable) development version in this repository can be installed from the R command line via

install.packages("devtools")
devtools::install_github("aalfons/robmedExtra")

If you already have package devtools installed, you can skip the first line.

Report issues and request features

If you experience any bugs or issues or if you have any suggestions for additional features, please submit an issue via the Issues tab of this repository. Please have a look at existing issues first to see if your problem or feature request has already been discussed.

Contribute to the package

If you want to contribute to the package, you can fork this repository and create a pull request after implementing the desired functionality.

Ask for help

If you need help using the package, or if you are interested in collaborations related to this project, please get in touch with the package maintainer.

About

Shiny apps for (robust) mediation analysis via package robmed

Resources

License

Stars

Watchers

Forks

Packages

No packages published