pub struct Huber {
pub c: f64,
pub tol: f64,
pub maxiter: usize,
}Expand description
Huber’s “proposal 2” joint location/scale estimator (Huber).
Estimates location μ and scale σ simultaneously for a 1-d sample by the
fixed-point scheme of Venables & Ripley §5.5, using the one-step clipped-mean
location update (norm = None in the reference).
Fields§
§c: f64Clipping threshold c (default 1.5).
tol: f64Convergence tolerance.
maxiter: usizeMaximum number of iterations.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Huber
impl RefUnwindSafe for Huber
impl Send for Huber
impl Sync for Huber
impl Unpin for Huber
impl UnsafeUnpin for Huber
impl UnwindSafe for Huber
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more