]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Update potentially confusing note for mean. (GH-30174) (GH-30220)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 21 Dec 2021 14:15:39 +0000 (06:15 -0800)
committerGitHub <noreply@github.com>
Tue, 21 Dec 2021 14:15:39 +0000 (14:15 +0000)
(cherry picked from commit e9a01e231aae19fd1249368e477a60bc033b2646)

Doc/library/statistics.rst

index 3c3f9d2df585852990f4e626021c8def8b6eaab2..fd486191c019003dd6da0f0fc01e19e690b89832 100644 (file)
@@ -116,10 +116,11 @@ However, for reading convenience, most of the examples show sorted sequences.
 
    .. note::
 
-      The mean is strongly affected by outliers and is not a robust estimator
-      for central location: the mean is not necessarily a typical example of
-      the data points.  For more robust measures of central location, see
-      :func:`median` and :func:`mode`.
+      The mean is strongly affected by `outliers
+      <https://en.wikipedia.org/wiki/Outlier>`_ and is not necessarily a
+      typical example of the data points. For a more robust, although less
+      efficient, measure of `central tendency
+      <https://en.wikipedia.org/wiki/Central_tendency>`_, see :func:`median`.
 
       The sample mean gives an unbiased estimate of the true population mean,
       so that when taken on average over all the possible samples,