S
tructural M
issing D
ata I
nvestigations
This package aims to be a helpful addition to routine healthcare database analytics with a focus on structural missing data investigations.
The theoretical backbone of this package is based on a large-scale plasmode simulation performed by the Sentinel Innovation Center workgroup:
Approaches to Handling Partially Observed Confounder Data From Electronic Health Records (EHR) In Non-randomized Studies of Medication Outcomes.
The manuscript is underway and will be referenced here as soon as it becomes available. The cornerstones of this project are outlined below.
::: {style="color:red"} Please note that this version is currently in testing phase and no major decisions should be based on this package. If you encounter any unforeseen errors or have any suggestions, comments or recommendations, please feel free to reach out to [email protected] or open an issue. :::
To install the CRAN version of the package, run the following command:
install.packages("smdi")
You can install the latest GitLab release version of smdi
using the devtools
package via:
devtools::install_git("https://gitlab-scm.partners.org/janickweberpals/smdi.git")
To install the development version, please use the dev
branch:
devtools::install_git("https://gitlab-scm.partners.org/janickweberpals/smdi.git", ref = "dev")
Missing data in important prognostic factors in EHR are frequent. So far, the most frequent data taxonomies are:
- Mechanisms: Missing completely at random (MCAR), at random (MAR) and not at random (MNAR)
- Patterns: Monotone, Non-monotone
However, in an empirical study, it is usually unclear which of the missing data mechanisms and patterns are dominating.
-
Group diagnostic 1: Comparison of distributions between patients with or without an observed value of the partially observed covariate
-
Group diagnostic 2: Assessing the ability to predict missingness based on observed covariates
-
Group diagnostic 3: Estimating if the missingness of a covariate is associated with the outcome (differential missingness)
While the manuscript is underway, in the meantime please refer to the presentation at the 2023 Innovation Day to learn more.
<iframe width="750" height="421.875" src="https://www.youtube.com/embed/Dml_AP0ohTY?start=7376" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>Check out the smdi
pkgdown website:
janickweberpals.gitlab-pages.partners.org/smdi
This project builds up on pivotal work done by several groups and recently published frameworks and guidance papers
Sondhi A$^1$, Weberpals J$^1$, Yerram P, Jiang C, Taylor MD, Samant M, Cherng S. A Systematic Approach Towards Missing Lab Data in Electronic Health Records: A Case Study in Non-Small Cell Lung Cancer and Multiple Myeloma. CPT Pharmacometrics Syst Pharmacol. 2023 Jun 15. doi: 10.1002/psp4.12998. Epub ahead of print. PMID: 37322818.
Lee KJ, Tilling KM, Cornish RP, Little RJA, Bell ML, Goetghebeur E, Hogan JW, Carpenter JR; STRATOS initiative. Framework for the treatment and reporting of missing data in observational studies: The Treatment And Reporting of Missing data in Observational Studies framework. J Clin Epidemiol. 2021 Jun;134:79-88. doi: 10.1016/j.jclinepi.2021.01.008. Epub 2021 Feb 2. PMID: 33539930; PMCID: PMC8168830.
Carpenter JR, Smuk M. Missing data: A statistical framework for practice. Biom J. 2021 Jun;63(5):915-947. doi: 10.1002/bimj.202000196. Epub 2021 Feb 24. PMID: 33624862.