Calibration of P-values for calibration and for deviation of a subpopulation from the full population
Mark Tygert
TL;DR
This work addresses calibrating P-values for two related problems: calibration of probabilistic predictions and deviation of a subpopulation from the full population under a conditioning covariate. It develops a Brownian-motion–based framework to calibrate KS- and Kuiper-type statistics, deriving computable CDFs for the range and the maximum absolute value of standard Brownian motion on $[0,1]$ and providing Corollaries that yield P-values in closed form as $1 - D(G/oldsymbol{\sigma})$ and $1 - F(H/oldsymbol{\sigma})$. The methodology handles ties via weighted samples, and offers two equivalent formulations that avoid random tie-breaking. The approach is validated numerically and demonstrated on real census data, with open-source software making the methods readily usable for calibration of probabilistic predictions and covariate-conditioned deviations in practice. The results enable reliable, efficient significance testing for calibration and subpopulation analysis in diverse applications.
Abstract
The author's recent research papers, "Cumulative deviation of a subpopulation from the full population" and "A graphical method of cumulative differences between two subpopulations" (both published in volume 8 of Springer's open-access "Journal of Big Data" during 2021), propose graphical methods and summary statistics, without extensively calibrating formal significance tests. The summary metrics and methods can measure the calibration of probabilistic predictions and can assess differences in responses between a subpopulation and the full population while controlling for a covariate or score via conditioning on it. These recently published papers construct significance tests based on the scalar summary statistics, but only sketch how to calibrate the attained significance levels (also known as "P-values") for the tests. The present article reviews and synthesizes work spanning many decades in order to detail how to calibrate the P-values. The present paper presents computationally efficient, easily implemented numerical methods for evaluating properly calibrated P-values, together with rigorous mathematical proofs guaranteeing their accuracy, and illustrates and validates the methods with open-source software and numerical examples.
