English

Extending Sheldon M. Ross's Method for Efficient Large-Scale Variance Computation

Computation 2026-04-28 v10 Statistics Theory Statistics Theory

Abstract

We introduce Prior Knowledge Acceleration (PKA), a batch-update method for variance that reuses previously computed sufficient statistics to avoid full recomputation. The update identity is algebraically equivalent to the pairwise formula of Chan, Golub, and LeVeque (1983); our contribution is a runtime-cost analysis that derives an explicit acceleration factor τa\tau_a and identifies the data-size regime where batch updating outperforms both na\"ive recomputation and Ross's single-sample method. We prove that Ross's approach is preferable only when the new batch contains a single sample (N2=1N_2 = 1). We further generalise the framework to covariance and other decomposable statistics. Benchmarks against Welford, Chan pairwise, and na\"ive two-pass baselines on synthetic and real-world streaming data confirm the theoretical predictions, with speedups of up to 454×454\times when the prior dataset is large relative to the new batch.

Keywords

Cite

@article{arxiv.2410.21922,
  title  = {Extending Sheldon M. Ross's Method for Efficient Large-Scale Variance Computation},
  author = {Jiawen Li},
  journal= {arXiv preprint arXiv:2410.21922},
  year   = {2026}
}
R2 v1 2026-06-28T19:39:27.109Z