# Comparison of EWMA, MA, and MQ Under a Unified PBRTQC Framework for Thyroid and Coagulation Tests

**Authors:** Banjiu Zhaxi, Chaochao Ma, Qian Chen, Yingying Hu, Wenyi Ding, Xiaoqi Li, Ling Qiu

PMC · DOI: 10.3390/diagnostics16020288 · Diagnostics · 2026-01-16

## TL;DR

This study compares three statistical methods for real-time quality control in lab tests and finds that EWMA performs best for thyroid hormone measurements.

## Contribution

A unified framework and composite metric are proposed to optimize and evaluate PBRTQC algorithms across different analytes.

## Key findings

- All three SPC algorithms showed high sensitivity and low false-positive rates for most analytes.
- EWMA outperformed MA and MQ for thyroid-stimulating hormone with better sensitivity and faster bias detection.
- The composite metric enabled effective parameter optimization across different algorithms.

## Abstract

Background: Patient-based real-time quality control (PBRTQC) enables continuous analytical monitoring using routine patient results; however, the performance of classical statistical process control (SPC) algorithms varies across analytes, and standardized evaluation and optimization strategies remain limited. To address this gap, this study compared three SPC algorithms—moving average (MA), moving quantile (MQ), and exponentially weighted moving average (EWMA)—within a unified preprocessing framework and proposed a composite performance metric for parameter optimization. Methods: Routine patient results from six laboratory analytes were analyzed using a standardized “transform–truncate–alarm” PBRTQC workflow. Simulated systematic biases were introduced for model training, and algorithm-specific parameters were optimized using a composite metric integrating sensitivity, false-positive rate (FPR), and detection delay. Performance was subsequently evaluated on an independent validation dataset. Results: For most analytes, all three SPC algorithms demonstrated robust PBRTQC performance, achieving high sensitivity (generally ≥0.85), very low false-positive rates (<0.002), and rapid detection of systematic bias. EWMA showed more balanced performance for thyroid-stimulating hormone (TSH), with improved sensitivity and shorter detection delay compared with MA and MQ. The proposed composite metric effectively facilitated clinically meaningful parameter optimization across algorithms. Conclusions: Under a unified preprocessing framework, classical SPC algorithms provided reliable PBRTQC performance across multiple analytes, with EWMA offering advantages for more variable measurements. The proposed composite metric supports standardized, practical, and analyte-adaptive PBRTQC implementation in clinical laboratories.

## Full-text entities

- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12839619/full.md

## Figures

10 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12839619/full.md

## References

36 references — full list in the complete paper: https://tomesphere.com/paper/PMC12839619/full.md

---
Source: https://tomesphere.com/paper/PMC12839619