TL;DR
This paper investigates how different methods for filling in missing heart rate variability (HRV) data, common in wearable sensors due to motion artifacts, affect the accuracy of HRV feature estimations. The key finding is that interpolating based on the timing of heartbeats (timestamps) is significantly more reliable than interpolating based on the duration between heartbeats, especially when a large percentage of data is missing.
What Problem Does This Paper Address?
Wearable devices are increasingly used for continuous health monitoring, collecting data like heart rate variability (HRV). HRV, derived from the time intervals between heartbeats (RR-intervals), offers insights into autonomic nervous system function and overall health. However, a major challenge with wearable sensors is data loss due to motion and mechanical artifacts, leading to missing RR-intervals. These gaps can severely distort HRV analysis, potentially leading to incorrect health assessments. Existing methods for handling missing data, primarily interpolation, have not been thoroughly evaluated for their impact on various HRV features, especially when dealing with the high percentages of missing data typical of real-world wearable sensor use. This paper aims to quantify the error introduced by different interpolation strategies and identify the most robust approach.
Methods
The study compares several interpolation methods for handling missing RR-intervals: no interpolation, nearest neighbor, linear, quadratic, and cubic spline. Crucially, it investigates two distinct approaches for applying these methods:
- On-duration approach: This is the traditional method where RR-intervals are first converted into durations, and then interpolation is applied to these durations.
- On-time approach: This novel approach applies interpolation directly to the timestamps of the heartbeats. The conversion to durations is performed after the interpolation step.
Missing RR-intervals were simulated using a Gilbert burst model, mimicking the clustered nature of artifacts from motion. The study then evaluated the impact of these interpolation methods on various time-domain, frequency-domain, and non-linear HRV features using Root Mean Squared Error (RMSE) and Relative Error (RE) as metrics.
Datasets
The study utilized the nsr2db (Normal Sinus Rhythm RR Interval Database) from PhysioNet. This dataset contains 23 hours of ECG recordings from 54 healthy subjects, with manually reviewed beat annotations. For the analysis, 5-minute windows of RR-intervals were extracted from these recordings.
Key Insights and Ideas
- Time vs. Duration Interpolation is Critical: The most significant finding is that interpolating based on heartbeat timestamps (on-time) consistently yields more reliable HRV estimations than interpolating based on the duration between beats (on-duration).
- Duration Interpolation Distorts the Signal: Interpolating on duration appears to act like a low-pass filter, altering the power spectrum of the RR-interval signal. This distortion negatively impacts HRV feature estimation, especially as the percentage of missing data increases.
- No Interpolation is Often Best (for some features): For certain HRV features (like RMSSD and PNN50), no interpolation at all resulted in the lowest error, suggesting that for features sensitive to rapid changes, preserving the original data structure without imputation is preferable.
- Quadratic Interpolation on Time is a Strong Performer: When interpolation is necessary, quadratic interpolation applied to timestamps emerged as a robust method for many HRV features, offering a good balance between accuracy and handling missing data.
- High Missing Data Percentage Amplifies Errors: As expected, the higher the percentage of missing RR-intervals (up to 70% in this study), the greater the estimation error for HRV features, regardless of the interpolation method.
Key Results
- The study found that the on-time approach consistently produced lower relative errors (RE) and RMSE for most HRV features compared to the on-duration approach.
- For 30% missing values, no interpolation was best for RMSSD, SDNN, PNN50, SD1, and SD2. For other features, time-based interpolation (quadratic or cubic) performed best.
- For 50% missing values, no interpolation was still optimal for RMSSD, SDNN, and SD1. Quadratic interpolation on time was the best for SD2, VLF, LF, and total power.
- For 70% missing values, no interpolation was best for RMSSD and SD1. Quadratic interpolation on time was the best for SDNN, SD2, VLF, LF, and total power. Cubic spline on time was best for LF/HF.
- The paper highlights that interpolation on duration consistently yielded the worst results across various HRV features and missing data percentages.
Limitations and Future Work
- Healthy Subjects Only: The study focused exclusively on healthy subjects with normal heart activity. The findings might differ for individuals with arrhythmias or other physiological conditions.
- Motion Artifacts Focus: While motion artifacts are a primary concern for wearables, the study did not explicitly investigate the impact of other types of artifacts or physiological phenomena like ectopic beats.
- Short Time Series: Future work is suggested to investigate the influence of missing values on shorter RR-interval time series (e.g., 1-2 minutes) and to identify the minimum time required for accurate HRV estimation.
- Real-World Artifacts: Further research could simulate missing data more realistically based on actual motion and mechanical artifacts from specific wearable devices.
Summary updated