Related Experiment Video
Updated: Jul 15, 2026

Improving IV Insulin Administration in a Community Hospital
Published on: June 11, 2012
A comparison of methods for estimating the temporal change in a continuous variable: Example of HbA1c in patients
Therese Sheppard1, Robyn Tamblyn2,3,4, Michal Abrahamowicz2
1Division of Musculoskeletal and Dermatological Sciences, Arthritis Research UK Centre for Epidemiology, School of Biological Sciences, Faculty of Biology, Medicine and Health, The University of Manchester, Manchester Academic Health Science Centre, Manchester, UK.
Purpose:
To compare the more complex technique, functional principal component analysis (FPCA), to simpler methods of estimating values of sparse and irregularly spaced continuous variables at given time points in longitudinal data using a diabetic patient cohort from UK primary care.
Methods:
The setting for this study is the Clinical Practice Research Datalink (CPRD), a UK general practice research database. For 16,034 diabetic patients identified in CPRD, with at least 2 measures in a 30-month period, HbA1c was estimated after temporarily omitting (i) the final and (ii) middle known values using linear interpolation, simple linear regression, arithmetic mean, random effects, and FPCA. Performance of each method was assessed using mean prediction error. The influence on predictive accuracy of (1) more homogeneous populations and (2) number and range of known HbA1c values was explored.
Results:
When estimating the last observation, the predictive accuracy of FPCA was highest with over half of predicted values within 0.4 units, equivalent to laboratory measurement error. Predictive accuracy improved when estimating the middle observation with almost 60% predicted values within 0.4 units for FPCA. These results were marginally better than that achieved by simpler approaches, such as last-occurrence-carried-forward linear interpolation. This pattern persisted with more homogeneous populations as well as when variability in HbA1c measures coupled with frequency of data points were considered.
Conclusions:
When estimating change from baseline to prespecified time points in electronic medical records data, a marginal benefit to using the more complex modelling approach of FPCA exists over more traditional methods.
More Related Videos
Related Concept Videos
Wilcoxon Signed-Ranks Test for Matched Pairs
Diabetes Mellitus: Type 2 and Gestational
Comparing the Survival Analysis of Two or More Groups
Type II Diabetes Mellitus III: Clinical Manifestations and Diagnosis
Hyperglycemia

