Function rgsl::statistics::wabsdev [−][src]
pub fn wabsdev(
w: &[f64],
wstride: usize,
data: &[f64],
stride: usize,
n: usize
) -> f64
Expand description
This function computes the weighted absolute deviation from the weighted mean of data. The absolute deviation from the mean is defined as,
absdev = (\sum w_i |x_i - \Hat\mu|) / (\sum w_i)