Searcharxiv⌕ Search

arXiv · 2611.26852

Exact Online $Q_n$ Estimation: Exploiting Sliding-Window Rank Invariance

Abstract

The $Q_n$ scale estimator (Rousseeuw and Croux, 1993) combines a 50% finite-sample breakdown point with high Gaussian efficiency, but its computation requires selecting an order statistic among the $\binom{n}{2}$ pairwise distances. We study exact online $Q_n$ computation in a sliding window by exploiting temporal rank coherence between consecutive windows. Formalizing the multiset decomposition of surviving pairwise distances in terms of strict and weak rank counts, we derive a tie-exact dual-rank update that verifies whether the previous unscaled estimate remains valid in $\mathcal{O}(\log n)$ comparisons while maintaining the sorted window in $\mathcal{O}(n)$ time. When the target rank shifts by $m$ positions, a localized row-heap procedure initialized via a monotonic two-pointer frontier scan extracts the new exact order statistic in $\mathcal{O}(n + m\log n)$ comparisons without materializing the difference matrix, complemented by a hybrid fallback that executes frontier-guided implicit matrix selection in $\mathcal{O}(n\log n)$ time for larger rank shifts. On deterministic multi-regime stress streams, our implementation matches the offline batch reference. In repeated same-platform benchmarks on a synthetic Gaussian stream, our implementation achieves median internal throughputs from 2,220,000 updates/s ($n=25$) and 1,140,000 updates/s ($n=51$) to 127,000 updates/s ($n=201$), outperforming both the exact FQN baseline ($2.5\times$ to $6.4\times$) and the approximate AFQN sketch ($1.3\times$ to $2.7\times$) across all tested window sizes.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Robin Nunkesser. 2026-11-19. Exact Online $Q_n$ Estimation: Exploiting Sliding-Window Rank Invariance. https://searcharxiv.com/abs/2611.26852

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Searcharxiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

graphMTP: An R Shiny Interface for Graphical Multiple Testing and Interim Monitoring

Graphical multiple testing procedures provide a framework for controlling the family-wise error rate across endpoints, treatment comparisons, and patient populations in confirmatory clinical trials. Interim monitoring requires analysts to track changing local significance levels together with hypothesis-specific testing schedules. We present graphMTP, an R application built with shiny, for constructing hypothesis graphs, specifying per-hypothesis group-sequential plans, and inspecting alpha recycling. The application uses TrialSimulator for graph updates, gsDesign for spending profiles, and rpact for boundary calculations. It records the local levels, boundaries, and decisions used for each submitted test and exports designs and histories as JSON files. Worked examples cover fixed-design reallocation, fixed-sequence gatekeeping, delayed activation, and retesting a previously monitored recipient of alpha. Replication code checks graph updates, normal crossing probabilities, and saved-session replay. Sequential tests use a prespecified information schedule and reconstruct the complete local boundary family at the current allocation, including after recycling. Historical event records retain the boundaries actually used. An installable package and standalone sources accompany the article.

stat.CO↗

dapper: Data Augmentation for Private Posterior Estimation in R

This paper serves as a reference and introduction to using the R package dapper. dapper encodes a sampling framework which allows exact Markov chain Monte Carlo simulation of parameters and latent variables in a statistical model given privatized data. The goal of this package is to fill an urgent need by providing applied researchers with a flexible tool to perform valid Bayesian inference on data protected by differential privacy, allowing them to properly account for the noise introduced for privacy protection in their statistical analysis. dapper offers a significant step forward in providing general-purpose statistical inference tools for privatized data.

stat.CO↗

WAIVES: Weak-form Asymptotically-unbiased Instrumental-Variable Estimation for SDEs

Weak-form methods have transformed inference for deterministic dynamical systems. By integrating the governing equations against smooth, compactly supported test functions, they trade noise-amplifying differentiation for noise-attenuating integration, yielding fast and robust estimates. Extending this idea to stochastic differential equations (SDEs) has proven harder, and a consistent single-trajectory formulation in the time domain has remained out of reach. Applied naively in the time domain, the weak form makes the regressors and the errors functionals of the same noise, creating endogeneity that leaves weak-form least squares biased and inconsistent. We resolve it with instrumental variables, a classical idea from econometrics. Weak-form integrals over nearby disjoint time windows prove to be valid instruments, correlated with the regressors yet uncorrelated with the error, restoring consistency and asymptotic normality. The resulting generalized-method-of-moments estimator, WAIVES (Weak-form Asymptotically-unbiased Instrumental-Variable Estimation for SDEs), requires only a linear solve, with no likelihood evaluations, filtering, or simulation. It is therefore an order of magnitude faster than exact-likelihood methods where those exist, and it applies unchanged where they do not, with standard errors and calibrated confidence intervals supplied by the moment conditions. It also separates measurement noise from the intrinsic randomness of the dynamics. Across nine example systems, spanning linear, bistable, chaotic, excitable, state-dependent-diffusion, non-polynomial, hypoelliptic, and high-dimensional regimes (up to 120 dimensions), WAIVES recovers nonlinear drift and diffusion with negligible bias and near-nominal interval coverage. We close with two real-data illustrations: a 167-year North Atlantic sea-surface-temperature record and an optical-tweezer calibration.

stat.CO↗