Merge pull request #883 from c-tonneslan/docs/modifized-typo

Fix "modifized" typo on modified_zscores docstring
This commit is contained in:
David Peter authored and GitHub committed 2026-10-05 12:13:07 +02:00
commit 87f3905678
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.
///