Statistics
Arithmetic mean
stats.meanAlso called mean, average, avg, arithmetic mean
The sum of the observations divided by their number.
Notation
observations
x ∈ ℝn
number of observations
Size, at least 1
Result: the mean
scalar
Worked examples
Each result is solved exactly and confirmed by two independent computations.
Given
Result
≈ 2.5
Given
Result
Given
Result
≈ 0.233333333333
Common mistakes
Sum without dividing by n
The result is the total of the observations, n times the mean.
Fix: Divide the sum by the number of observations.
Source
NIST/SEMATECH e-Handbook, §1.3.5.1
NIST/SEMATECH e-Handbook of Statistical Methods. https://www.itl.nist.gov/div898/handbook/ Last updated 2022-04-27. doi:10.18434/M32189