https://github.com/aalfons/robmed
Perform mediation analysis via a fast-and-robust bootstrap test, as well as various other methods.
Science Score: 39.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 24 DOI reference(s) in README -
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.6%) to scientific vocabulary
Repository
Perform mediation analysis via a fast-and-robust bootstrap test, as well as various other methods.
Basic Info
Statistics
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 8
- Releases: 0
Metadata Files
README.md
robmed: (Robust) Mediation Analysis
Perform mediation analysis via the robust bootstrap test ROBMED (Alfons, Ates & Groenen, 2022a). In addition to ROBMED, various other methods for mediation analysis are implemented.
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 package robmed 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.
Further discussion on robust mediation analysis can be found in:
A. Alfons and D.R. Schley (2025). Robust Mediation Analysis: What We Talk About When We Talk About Robustness. PsyArXiv. doi: 10.31234/osf.io/2hqdy.
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.
Note that the defaults in robmed have since changed to use simple percentile bootstrap confidence intervals for the indirect effects (starting with version 1.1.0).
Installation
Package robmed is on CRAN (The Comprehensive R Archive Network), hence the latest release can be easily installed from the R command line via
install.packages("robmed")
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.
Owner
- Name: Andreas Alfons
- Login: aalfons
- Kind: user
- Location: Rotterdam, Netherlands
- Company: Erasmus University Rotterdam
- Website: https://personal.eur.nl/alfons/
- Repositories: 11
- Profile: https://github.com/aalfons
GitHub Events
Total
- Issues event: 1
- Issue comment event: 2
- Push event: 22
- Create event: 3
Last Year
- Issues event: 1
- Issue comment event: 2
- Push event: 22
- Create event: 3
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Andreas Alfons | a****s@e****l | 477 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 40
- Total pull requests: 0
- Average time to close issues: 7 months
- Average time to close pull requests: N/A
- Total issue authors: 6
- Total pull request authors: 0
- Average comments per issue: 1.18
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: about 1 month
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 2.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- aalfons (35)
- K-Username (1)
- dengxuebin (1)
- ReichYang (1)
- akgraham89 (1)
- Joseph020304 (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 238 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 20
- Total maintainers: 1
cran.r-project.org: robmed
(Robust) Mediation Analysis
- Homepage: https://github.com/aalfons/robmed
- Documentation: http://cran.r-project.org/web/packages/robmed/robmed.pdf
- License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
-
Latest release: 1.2.2
published 10 months ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.5.0 depends
- ggplot2 >= 3.3.0 depends
- robustbase >= 0.92 depends
- boot >= 1.3 imports
- grid * imports
- methods * imports
- quantreg >= 5.36 imports
- sn >= 1.5 imports
- utils * imports
- knitr * suggests
- testthat * suggests
- actions/checkout v3 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- r-lib/actions/setup-tinytex v2 composite