robust-rs-core 0.1.0

Core abstractions for robust statistics: loss functions, robust scale and influence-function theory.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Breakdown point of an estimator.

use crate::rho::RhoFunction;

/// Asymptotic breakdown point of a **regression M-estimator** using this loss.
///
/// This is `0`: a single observation with unbounded leverage can carry the fit
/// arbitrarily far, no matter how `ρ` bounds the *residual*. Bounding influence
/// in residual space does not bound it in the design. The high-breakdown
/// estimators (S, MM, LTS) attain up to `0.5` and report their design breakdown
/// instead.
pub fn breakdown_point(rho: &dyn RhoFunction) -> f64 {
    let _ = rho;
    0.0
}