Package: missingmed 0.10.0

missingmed: Mediation Analysis with Multiple Imputation for Missing Data
Mediation analysis with incomplete data. Fits the mediator and outcome regressions on each dataset imputed with 'mice' (through 'medfit'), pools them with Rubin's rules, and infers the indirect effect with a Monte Carlo confidence interval ('RMediation') or a D4-stacked model-based constrained optimization (MBCO) likelihood-ratio test. Also provides an inverse probability weighting estimator, treatment-by-mediator interaction models, and a delta-adjustment sensitivity analysis for departures from missing at random. Structural equation models, including a latent mediator, are fit with 'lavaan'.
Authors:
missingmed_0.10.0.tar.gz
missingmed_0.10.0.zip(r-4.7-any)missingmed_0.10.0.zip(r-4.6-any)missingmed_0.10.0.zip(r-4.5-any)
missingmed_0.10.0.tgz(r-4.6-any)missingmed_0.10.0.tgz(r-4.5-any)
missingmed_0.10.0.tar.gz(r-4.7-any)missingmed_0.10.0.tar.gz(r-4.6-any)
missingmed_0.10.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
missingmed/json (API)
| # Install 'missingmed' in R: |
| install.packages('missingmed', repos = c('https://data-wise.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/data-wise/missingmed/issues
Pkgdown/docs site:https://data-wise.github.io
Last updated from:ed28304c22 (on main). Checks:7 OK, 2 ERROR. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 218 | ||
| source / vignettes | OK | 282 | ||
| linux-release | OK | 225 | ||
| macos-release | ERROR | 241 | ||
| macos-oldrel | ERROR | 284 | ||
| windows-devel | OK | 208 | ||
| windows-release | OK | 207 | ||
| windows-oldrel | OK | 146 | ||
| wasm-release | OK | 112 |
Exports:infermbco_d4MbcoMIResultMDMediationDataMDMediationFitMDMediationResultMDSensitivityResultn_impn_imputationsper_imputation_listpoolrunsensitivity_mnarset_md_mediationtidy
Dependencies:backportsbitbit64bootbroomcheckmateclicliprcodetoolscpp11crayoncubaturedplyrforcatsforeachgenericsglmnetgluehavenhmsiteratorsjomolatticelavaanlifecyclelme4magrittrMASSMatrixmedfitmiceminqamitmlmnormtnlmenloptrnnetnumDerivordinalpanpbivnormpillarpkgconfigprettyunitsprogresspurrrquadprogR6rbibutilsRcppRcppEigenRdpackreadrreformulasrlangRMediationrpartS7sandwichshapestringistringrsurvivaltibbletidyrtidyselecttzdbucminfutf8vctrsvroomwithrzoo
Last update: 2026-10-14
Started: 2026-06-12
Last update: 2026-10-10
Started: 2026-06-12
Last update: 2026-10-09
Started: 2026-06-12
Last update: 2026-10-08
Started: 2026-10-08
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Inference on the indirect effect under multiple imputation | infer |
| D4-stacked MBCO test of an indirect effect across imputed datasets | mbco_d4 |
| MbcoMIResult: D4-stacked MBCO test result (S7) | MbcoMIResult |
| MDMediationData: imputed data + mediation specification (S7) | MDMediationData |
| MDMediationFit: per-imputation mediation fits (S7) | MDMediationFit |
| MDMediationResult: pooled mediation result (S7) | MDMediationResult |
| MDSensitivityResult: MNAR sensitivity curve (S7) | MDSensitivityResult |
| Get the number of imputations from a mids object | n_imp |
| Number of imputations | n_imputations |
| Access the per-imputation mediation fits (for MBCO) | per_imputation_list |
| Pool per-imputation mediation fits with Rubin's rules | pool |
| Fit the mediation model across imputations | run |
| MNAR sensitivity analysis by delta-adjusted imputation | sensitivity_mnar |
| Set up a mediation analysis with missing data (MI or IPW) | set_md_mediation |