Skip to content

Commit a2295a4

Browse files
Update potentially confusing note for mean. (GH-30174) (GH-30221)
1 parent e5cf31d commit a2295a4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Doc/library/statistics.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,11 @@ However, for reading convenience, most of the examples show sorted sequences.
105105

106106
.. note::
107107

108-
The mean is strongly affected by outliers and is not a robust estimator
109-
for central location: the mean is not necessarily a typical example of
110-
the data points. For more robust measures of central location, see
111-
:func:`median` and :func:`mode`.
108+
The mean is strongly affected by `outliers
109+
<https://en.wikipedia.org/wiki/Outlier>`_ and is not necessarily a
110+
typical example of the data points. For a more robust, although less
111+
efficient, measure of `central tendency
112+
<https://en.wikipedia.org/wiki/Central_tendency>`_, see :func:`median`.
112113

113114
The sample mean gives an unbiased estimate of the true population mean,
114115
so that when taken on average over all the possible samples,

0 commit comments

Comments
 (0)