From 4917c557e414ed4d43a3ddd933225f48c7f7e78c Mon Sep 17 00:00:00 2001 From: Charlie Tonneslan Date: Sun, 24 May 2026 08:41:50 -0400 Subject: [PATCH] Fix "modifized" typo on modified_zscores docstring Signed-off-by: Charlie Tonneslan --- src/quantity/statistics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quantity/statistics.rs b/src/quantity/statistics.rs index a0657a3..8f26c6e 100644 --- a/src/quantity/statistics.rs +++ b/src/quantity/statistics.rs @@ -106,7 +106,7 @@ pub fn standard_deviation(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. ///