Statistical process control via $p$-values
Hien Duy Nguyen, Dan Wang
TL;DR
This work proposes a model-free statistical process control framework that monitors processes using sequences of valid $p$-values under the in-control hypothesis via the super-uniformity property. It derives universal lower bounds for the average run length (ARL) and its multialarm generalisation (the $k$-ARL) that hold without dependence assumptions, and sharpens them to $1/\alpha$ and $k/\alpha$ under conditional super-uniformity. The authors introduce EWMA-like charts built from merging functions of $p$-values, providing smoothing without ad hoc control limits, and extend the approach to KS-based nonparametric monitoring and to multivariate directional localisation via closed testing with strong FWER control. The framework offers distribution-free calibration and modular extensions for smoothing and localisation, demonstrated through elementary, KS-based, and multivariate examples, with an accompanying open-source codebase. This p-value charting paradigm enables robust, interpretable SPC across VSI/VSS settings and heavy-tailed data, reducing reliance on parametric models and simulation-based calibration.
Abstract
We study statistical process control (SPC) through charting of $p$-values. When in control (IC), any valid sequence $(P_{t})_{t}$ is super-uniform, a requirement that can hold in nonparametric and two-phase designs without parametric modelling of the monitored process. Within this framework, we analyse the Shewhart rule that signals when $P_{t}\leα$. Under super-uniformity alone, and with no assumptions on temporal dependence, we derive universal IC lower bounds for the average run length (ARL) and for the expected time to the $k$th false alarm ($k$-ARL). When conditional super-uniformity holds, these bounds sharpen to the familiar $α^{-1}$ and $kα^{-1}$ rates, giving simple, distribution-free calibration for $p$-value charts. Beyond thresholding, we use merging functions for dependent $p$-values to build EWMA-like schemes that output, at each time $t$, a valid $p$-value for the hypothesis that the process has remained IC up to $t$, enabling smoothing without ad hoc control limits. We also study uniform EWMA processes, giving explicit distribution formulas and left-tail guarantees. Finally, we propose a modular approach to directional and coordinate localisation in multivariate SPC via closed testing, controlling the family-wise error rate at the time of alarm. Numerical examples illustrate the utility and variety of our approach.
