Skip to content

Commit e9a01e2

Browse files
authored
Update potentially confusing note for mean. (GH-30174)
1 parent e9898bf commit e9a01e2

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
@@ -116,10 +116,11 @@ However, for reading convenience, most of the examples show sorted sequences.
116116

117117
.. note::
118118

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

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

0 commit comments

Comments
 (0)