Data Quality as a Causal Variable in Smartphone Health Monitoring

Abdulrahman A. Aloyayri, Max A Little, Nawfal ZakarUK AI 2026 Asfullpaper 2026

TL;DR

Data quality filtering in smartphone health studies isn't just a neutral cleanup step—it can introduce severe selection bias. By analyzing Parkinson's disease data, this paper demonstrates that common quality checks (like removing short or flat signals) preferentially delete data from either patients or healthy controls, meaning data quality must be treated as a variable inside the causal model rather than a preprocessing step.

What Problem Does This Paper Address?

Remote health monitoring via smartphones allows researchers to collect massive, longitudinal datasets from participants in their own homes. However, without clinical supervision, data quality varies wildly: participants might cut a task short, fail to complete sessions, or leave the phone stationary.

The standard response in literature is simple: define quality criteria, filter out the "bad" data, and proceed with the analysis. The authors challenge the hidden assumption that this filtering is a neutral step. If data quality is causally linked to the disease outcome itself (e.g., a patient can't complete a full 30-second task because their symptoms are severe), conditioning on data quality introduces selection bias. This alters the composition of the sample and can fundamentally distort downstream clinical or machine learning conclusions.

Methods

The authors propose bringing data quality explicitly into the causal framework using Directed Acyclic Graphs (DAGs).

Figure 1. DAG for smartphone-based Parkinson’s disease monitoring. Eight nodes: gender (G), age, time of day (T), individual change (N), medication state (M), symptoms (P), data quality (Q), and accelerometer data (Acc). Q is inside the model as a node that affects Acc, and symptoms P are drawn as a cause of Q (P →Q), making Q a mediator between P and Acc. Section 4.2 provides evidence consistent with this edge for the duration check, but not for the other two components of Q. Section 5 discusses why the single node shown here is not supportable.

They evaluate an automated quality assessment framework across three distinct levels of data collection:

  1. Study-level (Session completion): Flagging participants who completed tasks on fewer than 10 days per quarter.
  2. Task-level (Duration adherence): Flagging resting tremor recordings that fell outside the expected 28–32 second window.
  3. Signal-level (Flat signal detection): Flagging recordings where more than 10% of 1-second windows fell below a rolling standard deviation threshold (indicating near-zero variation).

They use Logistic Generalized Estimating Equations (GEE), clustered by participant, to test how each of these quality checks associates with a Parkinson's disease diagnosis. Finally, they evaluate the impact of duration filtering on downstream diagnostic machine learning classifiers using record-wise and subject-wise cross-validation.

Datasets

The study evaluates the mPower 2.0 dataset, specifically focusing on resting tremor accelerometer data. After preprocessing, the dataset contained 15,398 tremor recordings from 81 age-matched participants (57 with Parkinson's disease and 24 healthy controls).

Key Insights and Ideas

  • Quality filtering is not neutral: Filtering changes the dataset's clinical composition in unpredictable directions depending on the specific check applied.
  • The "Flat Signal" Paradox: In signal processing, a flat, low-variance signal is typically flagged as a measurement failure (e.g., the phone was left on a table). However, during a resting tremor task, a healthy control is supposed to produce a flat signal. Filtering out low-variance signals accidentally deletes the clearest examples of healthy behavior, removing actual clinical signal rather than noise.
Figure 3. (a) A flat tremor signal: brief spikes at the start followed by near-zero variation across the recording. The check flags this as poor quality, on the assumption that near-zero variation indicates a device left still rather than a task performed. (b) A non-flat tremor signal: sustained oscillation at approximately 5–6 Hz, consistent with resting tremor during the intended task. Section 4.2 shows that on a resting tremor task the assumption behind (a) does not hold in general, because a participant without tremor also produces low variation.
  • Duration as a symptom mediator: Parkinson's disease participants were significantly more likely to submit short recordings. This indicates that symptom severity directly interferes with a participant's ability to sustain a task, confirming that data quality acts as a mediator ($P \rightarrow Q$) on the causal path.
  • A single "Quality" node is a trap: Combining different quality metrics into a single aggregate variable cancels out opposing effects (since some checks remove patients and others remove controls), masking the true bias.

Key Results

  • Duration Filtering: This check removed 9,657 recordings. PD participants supplied 74% of the excluded recordings compared to a 67% baseline in the full dataset, yielding a clustered odds ratio (OR) for exclusion of 2.23 (95% CI 1.50–3.32).
Diagnosis distribution before and after duration check
  • Flat Signal Filtering: This check removed 2,187 recordings. Healthy controls were heavily over-represented in the exclusions (median flat rate per participant was 7.1% for controls vs 1.3% for PD), resulting in an OR of 0.52 (95% CI 0.23–1.19).
  • Session Completion: While initially appearing biased, once the length of follow-up was accounted for, the association disappeared (OR 1.13, 95% CI 0.53–2.37).
  • Downstream ML Stability: Interestingly, while duration filtering significantly altered the class balance, the structural performance and relative ordering of the diagnostic machine learning models remained stable.

Limitations and Future Work

  • DAG Respecification: The paper proves that a single "Data Quality ($Q$)" node is insufficient because different checks have opposing causal directions. Future work must respecify the DAG with three distinct quality nodes and re-derive causal identifiability.
  • Confounding Factors: The causal link between symptoms and task duration ($P \rightarrow Q$) needs further isolation to ensure it is a direct effect of motor difficulty rather than unmeasured shared causes like participant engagement.
  • Task Scope: This analysis was restricted to resting tremor data. The authors note that the validity of signal-level quality rules depends heavily on whether a task expects movement (like walking/tapping) or stillness (like resting tremor), necessitating further validation across other motor tasks.

Summary updated

Abstract

Smartphone-based health monitoring studies commonly treat data quality as a preprocessing step: flag or remove low-quality recordings, then proceed with the remainder. This places data quality outside the model when it belongs inside, as part of the data-generating process if it is associated with the outcome of interest, filtering on it changes what the remaining data represent. We test this on the mPower~2.0 Parkinson's disease dataset (81 participants, 15,398 resting tremor recordings), applying an automated assessment framework at three levels -- study-level session completion, task-level recording duration, and signal-level flat-segment detection -- and testing each check against diagnosis at the participant level. The three behave differently. Duration filtering removes recordings from Parkinson's disease participants (clustered odds ratio 2.23, 95\% CI 1.50--3.32); flat signal filtering removes control recordings (OR 0.52, 0.23--1.19), because on a resting tremor task low signal variation is the expected observation for a participant without tremor rather than a measurement failure; session completion shows no association once follow-up length is accounted for (OR 1.13, 0.53--2.37). Filtering on data quality is therefore not neutral, and its direction cannot be assumed. The main classification results are nonetheless stable after duration filtering. Data quality belongs inside the causal model as separate variables, each tested against the outcome before it is filtered on.
BibTeX
@inproceedings{aloyayri2026data,
  author = {Abdulrahman A. Aloyayri and Max A Little and Nawfal Zakar},
  title = {{Data Quality as a Causal Variable in Smartphone Health Monitoring}},
  booktitle = {UK AI 2026 Asfullpaper},
  year = {2026},
  url = {https://openreview.net/forum?id=fSpjFOr0f7},
}
Figure