Abstract
This study introduces MIGEE, an R package that combines multiple imputation strategies, longitudinal data modelling, and visualization within a single streamlined workflow. The package implements six imputation methods (PMM, kNN, norm, RF, norm.nob, and sample) and supports both linear and mixed-effects models for downstream analysis. Unlike conventional workflows that require manual coordination across packages such as mice, lme4, and ggplot2, MIGEE reduces the full impute–model–visualize pipeline to a single function call, eliminating intermediate data reshaping steps (e.g., long-to-wide transformations) and ensuring structural consistency between imputation and modelling outputs. This results in a reduction of more than 80% in user-written code (from more than 50 lines across seven manual steps to approximately 10 lines in a single function call) and consolidates seven conceptually distinct pipeline steps into one, removing multiple preprocessing operations typically required in manual workflows. It was evaluated using a longitudinal clinical dataset comprising 11,761 rows and 12 variables from 2000 patients with repeated measurements over time. Across this dataset, all imputation methods successfully preserved the mean and variability of incomplete variables, with differences in mean below 0.2 units and standard deviation differences below 0.5 units, indicating negligible bias and stable treatment-effect estimates. MIGEE streamlines complex longitudinal workflows, reduces computational burden, and supports reproducible research in biomedical and population health applications. The MIGEE package is publicly available on CRAN at https://doi.org/10.32614/CRAN.package.MIGEE.
| Original language | English |
|---|---|
| Article number | 102906 |
| Journal | Journal of Computational Science |
| Volume | 99 |
| Early online date | 13 Jun 2026 |
| DOIs | |
| Publication status | E-pub ahead of print - 13 Jun 2026 |
Keywords
- Data transformation
- Data visualization
- Generalized linear model
- Linear mixed-effects models
- Longitudinal data analysis
- Missing data imputation
ASJC Scopus subject areas
- Theoretical Computer Science
- General Computer Science
- Modelling and Simulation
Fingerprint
Dive into the research topics of 'MIGEE: A comprehensive package for missing data imputation and longitudinal analysis in large-scale datasets'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver