Update potentially confusing note for mean. (GH-30174) (GH-30221)

This commit is contained in:
Miss Islington (bot) 2021-12-21 04:44:13 -08:00 committed by GitHub
parent e5cf31d3c2
commit a2295a4029
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
<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,