Expand description
The ScaleEstimator trait and standard robust scale estimates.
Structs§
- Huber
Proposal2 - Huber’s Proposal 2 scale: solve
(1/n) Σ ψ((rᵢ−μ)/s)² = β(withβ = E_Φ[ψ²]) jointly with the location, by fixed-point iteration. - Mad
- MAD:
s = 1.4826 · median(|rᵢ − median(r)|). The constant1.4826 = 1/Φ⁻¹(¾)makes it consistent for σ at the Gaussian model. - Qn
Qn = c · dₙ · {|rᵢ − rⱼ| : i < j}₍ₖ₎, thek-th order statistic of the pairwise absolute differences withk = C(⌊n/2⌋+1, 2)(≈ the ¼-quantile). The constantc = 2.2219 = 1/(√2·Φ⁻¹(⅝))gives consistency for σ at the Gaussian;dₙis a finite-sample correction (Croux & Rousseeuw 1992).- SScale
- The M-estimate of scale (“S-scale”): the
s > 0solving(1/n) Σ ρ(rᵢ/s) = δ. - Sn
Sn = c · dₙ · med_i { med_j |rᵢ − rⱼ| }: a low-median over points of the per-point high-median of the pairwise absolute differences. The constantc = 1.1926gives consistency for σ at the Gaussian;dₙis a finite-sample correction (Croux & Rousseeuw 1992).
Traits§
- Scale
Estimator - Estimates the scale
sused to standardize residuals asr / s. Without a scale estimate the tuning constants are meaningless.