Robust estimation demands highly efficient computation, especially in streaming anomaly detection where latency budgets are tight.
While Rousseeuw & Croux's robust estimators ($Q_n$ and $S_n$), and Rousseeuw & Verboven's M-estimators of location and scale for very small samples, provide exceptional reliability, computing them requires intensive math.
robscale 0.1.5 is now on CRAN. It delivers a native C++17/Rcpp implementation designed for absolute speed. The package utilizes SIMD-vectorized $\tanh$ evaluation, Newton-Raphson iteration, and optimal sorting networks for cache-aware median selection.
The result? A 1.6x up to ~28x performance leap over pure-R implementations. The mathematical results remain identical; only the computational underpinnings change.
📦 CRAN: https://cran.r-project.org/package=robscale
💻 Code: https://github.com/davdittrich/robscale

