Econometrics starts with describing data: what is typical, and how much do observations differ from each other? Two numbers do most of the work, the mean for the center and the standard deviation for the spread, and nearly every later tool, from confidence intervals to regression, is built from them.
We will compute the mean, see how one outlier moves it, measure spread with the variance and standard deviation, and finish by reading spread and rescaling data.
Step 1: The mean
The mean (average) adds up the observations and divides by how many there are:
Weekly hours of 30, 40, 35 and 45 have mean 150 ÷ 4 = 37.5.
Step 2: One outlier moves the mean
The mean uses every value, so it is pulled toward extreme ones. Five incomes of 30, 35, 40, 45 and 50 thousand dollars have mean 40. Add one person earning 240 and the mean jumps to 440 ÷ 6 ≈ 73, though five of the six people earn 50 or less.
Step 3: Variance
The variance measures spread: the average squared distance from the mean. For a sample, divide by n − 1 rather than n, which corrects for measuring distances from the sample mean, which sits closer to the data than the true mean does:
Example: 7, 7, 10, 13, 13 have mean 10 and deviations −3, −3, 0, 3, 3. The squares add to 36, so s² = 36 ÷ 4 = 9.
Step 4: Standard deviation
The standard deviation is the square root of the variance, which brings it back to the data's own units:
In the example, s = √9 = 3: a typical observation lies about 3 from the mean of 10.
Step 5: Same mean, different spread
Two datasets can share a mean but differ hugely in spread: two jobs both paying $50,000 on average, one paying exactly that every year and the other $30,000 or $70,000. The second is riskier. Because the standard deviation is in the data's units, it is easy to read: in many datasets most observations lie within about two standard deviations of the mean.
Step 6: Shifting and scaling
Adding a constant to every value shifts the mean but leaves the standard deviation unchanged, since every deviation stays the same: adding 5 to 7, 7, 10, 13, 13 moves the mean to 15 but leaves s = 3. Multiplying every value by 2 doubles every deviation, so it doubles the standard deviation, to 6.