Skip to content

Sample Mean

Definition

For random variables X1,…,XnX_1,\ldots,X_n and n≥1n\ge1, their sample mean is

Xˉn=1n∑i=1nXi.\bar X_n=\frac{1}{n}\sum_{i=1}^nX_i.

The sum adds the nn observations before dividing by nn. No independence assumption is needed to define this arithmetic average.


Interpretation

The sample mean summarizes nn observations by their arithmetic average. Before the data are observed, Xˉn\bar X_n is a random variable with its own expectation, variance and sampling distribution; the observed average xˉn\bar x_n is one realized number.

Eight observations marked as dots on a number line from 2 to 9, with a balance point at their mean 5.0.

The figure marks eight observations on a number line. Their mean xˉ=(2.1+3.4+3.9+4.6+5.0+5.8+6.7+8.5)/8=5.0\bar x=(2.1+3.4+3.9+4.6+5.0+5.8+6.7+8.5)/8=5.0 is the balance point: the deviations to the left and right cancel, ∑i(xi−xˉ)=0\displaystyle \sum_i(x_i-\bar x)=0. A single far-away observation moves the balance point; replacing 8.58.5 by 16.516.5 raises the mean by 11 to 6.06.0.

For independent observations with common mean μ\mu and finite variance σ2\sigma^2, the sample mean has its own distribution: centred at μ\mu, with variance σ2/n\sigma^2/n. Raise nn to see it narrow.

Two properties make Xˉn\bar X_n a useful estimate of the population mean μ\mu. It is centred correctly, EXˉn=μ\mathbb{E}\bar X_n=\mu, which needs only linearity of expectation. With independent observations of common variance σ2\sigma^2, its variance σ2/n\sigma^2/n shrinks, so the standard deviation σ/n\sigma/\sqrt n halves when the sample size is multiplied by four. Without independence the second property can fail: if all XiX_i equal X1X_1, then Xˉn=X1\bar X_n=X_1 has variance σ2\sigma^2 for every nn.

These two properties lead to the weak and strong law of large numbers, which say that Xˉn\bar X_n approaches μ\mu, and to the central limit theorem, which describes the shape of the remaining error. A common confusion is between Xˉn\bar X_n and μ\mu: the sample mean is computed from data and varies from sample to sample, while μ\mu is a fixed property of the distribution.


Key Results

  • If every XiX_i has mean μ\mu, then EXˉn=μ\mathbb{E}\bar X_n=\mu without independence.
  • If the observations are independent with common variance σ2\sigma^2, then Var⁡(Xˉn)=σ2/n\operatorname{Var}(\bar X_n)=\sigma^2/n.

Examples

  • For observations 2,4,92,4,9, the observed sample mean is (2+4+9)/3=5(2+4+9)/3=5.
  • For 100100 i.i.d. Exp⁡(2)\operatorname{Exp}(2) observations, the sample mean has expectation 1/21/2 and variance 1/(4⋅100)=1/4001/(4\cdot100)=1/400.

Further Properties

For realized observations x1,…,xnx_1,\ldots,x_n, the observed average is xˉn=n−1∑ixi\displaystyle \bar x_n=n^{-1}\sum_i x_i. A sample proportion is the sample mean of success indicators.

Prerequisites

Sources

Aliases: sample average, empirical mean, X bar Symbols: mu, sigma, square root, sum

Last updated: 20 October 2026 03:02