smdi: an R package to perform structural missing data investigations on partially observed confounders in real-world evidence studies. Academic Article uri icon

abstract

  • OBJECTIVES: Partially observed confounder data pose a major challenge in statistical analyses aimed to inform causal inference using electronic health records (EHRs). While analytic approaches such as imputation are available, assumptions on underlying missingness patterns and mechanisms must be verified. We aimed to develop a toolkit to streamline missing data diagnostics to guide choice of analytic approaches based on meeting necessary assumptions. MATERIALS AND METHODS: We developed the smdi (structural missing data investigations) R package based on results of a previous simulation study which considered structural assumptions of common missing data mechanisms in EHR. RESULTS: smdi enables users to run principled missing data investigations on partially observed confounders and implement functions to visualize, describe, and infer potential missingness patterns and mechanisms based on observed data. CONCLUSIONS: The smdi R package is freely available on CRAN and can provide valuable insights into underlying missingness patterns and mechanisms and thereby help improve the robustness of real-world evidence studies.

published proceedings

  • JAMIA Open

author list (cited authors)

  • Weberpals, J., Raman, S. R., Shaw, P. A., Lee, H., Hammill, B. G., Toh, S., ... Desai, R. J.

complete list of authors

  • Weberpals, Janick||Raman, Sudha R||Shaw, Pamela A||Lee, Hana||Hammill, Bradley G||Toh, Sengwee||Connolly, John G||Dandreo, Kimberly J||Tian, Fang||Liu, Wei||Li, Jie||Hernández-Muñoz, José J||Glynn, Robert J||Desai, Rishi J

publication date

  • April 2024