Fix "modifized" typo on modified_zscores docstring

Signed-off-by: Charlie Tonneslan <cst0520@gmail.com>
This commit is contained in:
Charlie Tonneslan authored and David Peter committed 2026-10-05 12:09:44 +02:00
1 parent a2d7094282
commit 4917c557e4
1 file changed
+1 -1
+1 -1
View File
@@ -106,7 +106,7 @@ pub fn standard_deviation<Q: UnsafeRawValue>(values: &[Q], mean: Q) -> Q {
Q::unsafe_from_raw_value((sum / (values.len() as f64 - 1.0)).sqrt())
}
/// Compute modifized Z-scores for a given sample. A (unmodified) Z-score is defined by
/// Compute modified Z-scores for a given sample. A (unmodified) Z-score is defined by
/// `(x_i - x_mean)/x_stddev` whereas the modified Z-score is defined by `(x_i - x_median)/MAD`
/// where MAD is the median absolute deviation.
///