Separating Statistical Inference from Experimental Runtime: An Architecture for Sequential Scientific Analysis
Alexander Stepanov, Andrej Novikov
Abstract
Sequential statistical procedures are increasingly embedded in scientific systems in which observations arrive incrementally from heterogeneous sources. In such systems the statistical update is only one part of the computation: observations must also be acquired, aligned across inputs, ordered, delivered, persisted, and replayed, and results must be passed to systems that display them or act on them. Sequential methods are nevertheless missing from the general software toolkit. They run inside proprietary experimentation platforms and commercial statistical packages, or exist as offline functions over complete data, and the batch fit interface that dominates machine-learning libraries has no place for a procedure that listens, keeps state, and decides when to stop. We propose an architecture that separates statistical inference from data topology, execution runtime, run lifecycle, persistence, and external action. Its central abstraction is the Sequential Procedure: a state-transition function that maps an inferential state, a valid statistical input, and a statistical random state to a new state and a scientific output. The procedure does not define how observations are acquired, paired, scheduled, stored, or acted upon. We specify the architecture semantically rather than through an object model, derive seven conformance invariants that any implementation can be tested against (among them synchronous/asynchronous, checkpoint, replay, and batch equivalence), and describe a dependency-free reference implementation in which all seven hold bitwise. Lorden's 2-SPRT for the Kiefer-Weiss problem serves as the reference procedure; the same contract accommodates sequential estimators, Bayesian filters, change-point detectors, and stateful predictive models.
Create a lesson
Related papers
Repairing covariance functions on metric trees through a Hausdorff-type distance
Alfredo Alegría
Fisher Information and Differentiability for r-Largest Generalized Extreme-Value Models
Jihong Park, Yire Shin, Jeong-Soo Park
Multiscale Sequential Auditing of Quantile Regression with Point Masses
Asad Ullah
Adaptive Confidence Sets for Nonparametric Density Estimation under Local Differential Privacy
Aditya Khan, Thibault Randrianarisoa
Robust Nonparametric Methods for α-Mixing Sequences via Median-of-Means
Attila Lovas, Marcell Tukora
Sub-Gaussian Confidence Intervals for Heavy-Tailed Data: Characterizing the Limits of Inference
Ilyes Hammouda, Stanislav Minsker, Mohamed Ndaoud