statistics

Mean (Average)

The mean — also called the arithmetic average — is the sum of a set of values divided by the count of values. It is the most common single-number summary of a data set.

本术语中文版本即将上线。下方暂以英文原文展示。

The arithmetic mean of x1,x2,,xnx_1, x_2, \ldots, x_n is

xˉ=1ni=1nxi.\bar{x} = \frac{1}{n}\sum_{i=1}^{n} x_i.

It is the value that minimises the sum of squared deviations (xic)2\sum (x_i - c)^2 — that is why squared loss is everywhere in statistics and machine learning: minimising squared loss means estimating means.

The mean is sensitive to outliers: a single extreme value can pull the mean far from where most data lies. When data is skewed (income, response time, file size) the median is often a better summary. Other averages — geometric, harmonic, weighted — apply in specific contexts (compounded growth, parallel resistors, weighted polls).

相关资源