From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 21 Dec 2021 12:44:13 +0000 (-0800) Subject: Update potentially confusing note for mean. (GH-30174) (GH-30221) X-Git-Tag: v3.9.10~43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a2295a4029707ebaf2cd1bb8b3223b73f6dbfee6;p=thirdparty%2FPython%2Fcpython.git Update potentially confusing note for mean. (GH-30174) (GH-30221) --- diff --git a/Doc/library/statistics.rst b/Doc/library/statistics.rst index 38a499ab37e8..a6cbdd7695a6 100644 --- a/Doc/library/statistics.rst +++ b/Doc/library/statistics.rst @@ -105,10 +105,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 + `_ and is not necessarily a + typical example of the data points. For a more robust, although less + efficient, measure of `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,