Introduction
Functional Data Analysis (FDA) is a powerful framework for modeling relationships between continuous trajectories—such as a patient's physiological readings over time—and specific outcomes. While FDA typically assumes that data is observed densely and regularly, real-world longitudinal data, particularly from Electronic Health Records (EHR), is often sparse and irregularly sampled. This sparsity creates significant challenges for traditional FDA methods, which struggle to reconstruct smooth underlying curves from limited observations.
The Challenge of Sparse Functional Data
In clinical settings, patients frequently miss appointments or have varying intervals between check-ups, leading to massive gaps in longitudinal records. The current standard for addressing this is Principal Analysis by Conditional Estimation (PACE). However, PACE is a single imputation method that ignores statistical uncertainty and fails to incorporate the response variable during the imputation process. This often leads to biased downstream modeling, especially in non-linear scenarios. Conversely, standard multivariate imputation methods like MICE or MissForest often produce jagged, noisy reconstructions because they do not account for the inherent smoothness of functional data.
Proposed Methodology: MLLF and Binning
To address these limitations, this research introduces the Missing Local Linear Forest (MLLF) algorithm. MLLF enhances the MissForest framework by utilizing Local Linear Forests, which are better suited for modeling continuous signals and reducing bias.
Two key innovations are introduced to optimize these methods for functional data:
- Binning: The time domain is divided into discrete intervals. Values within these bins are averaged before interpolation, effectively acting as a smoothing kernel. This ensures the imputed curves remain smooth while significantly reducing the computational burden.
- Smart Initialization: Rather than starting with a simple mean, the iterative process is initialized using PACE (denoted as MFP and MLLFP), providing a more accurate starting point for the algorithm.
Experimental Results
The proposed methods were evaluated using both synthetic simulations and real-world EHR data from the Penn State PaTH to Health network.
Simulation Studies
The authors tested linear and non-linear scalar-on-function regressions across varying sample sizes and sparsity levels. The results demonstrated that binned methods, such as MF_B and MLLF_B, consistently achieved the lowest Root Mean Square Error (RMSE) for curve imputation, parameter estimation ($\beta$), and final prediction.
As shown in the performance table below, in high-sparsity linear simulations ($n=500, s=High$), traditional methods like MICE and unbinned MLLF exhibited extreme prediction errors (9.840 and 58.010, respectively). In contrast, MissForest with binning (MF_B) maintained a remarkably low error of 0.117.
Real-World EHR Application
The task involved predicting smoking relapse based on sparse Diastolic Blood Pressure (BP) readings. Binned methods again outperformed the competition, with MF_B achieving a prediction error of 0.28, compared to 0.39 for PACE and 0.38 for MICE. Qualitatively, the binned approaches produced smoother and more clinically interpretable patient trajectories.
Conclusion
The integration of binning and response-aware imputation represents a significant advancement in Functional Data Analysis. By enforcing smoothness and accounting for the relationship between functional predictors and outcomes, methods like MF_B and MLLF_B provide more robust and accurate reconstructions of sparse longitudinal data. Future work will focus on automated bin selection and the explicit modeling of measurement noise within these complex imputation frameworks.
Summary updated