Mean, Median,
Variance & SD
Master the four pillars of descriptive statistics that drive every business decision: from averages to spread.
Why Descriptive Statistics Matter
Every dataset tells a story, but raw numbers are overwhelming. Descriptive statistics compress thousands of data points into a handful of meaningful numbers that answer two fundamental questions:
The Mean: Arithmetic Average
The mean is the sum of all values divided by the number of values. It is the most common measure of central tendency.
The mean uses every data point, making it sensitive to extreme values (outliers). In business, outliers like one massive sale can skew the mean far from typical performance.
The Median: The Middle Value
The median is the value that splits a sorted dataset into two equal halves. It is robust to outliers: extreme values do not pull it away from the center.
Mean vs Median: Visual
Measuring Spread: Variance
Variance measures how far each data point is from the mean, on average. It quantifies the average squared deviation.
Standard Deviation: Readable Spread
Variance is in squared units (dollars squared, kg squared), which is hard to interpret. The standard deviation is simply the square root of variance, returning to the original units.
Low vs High Standard Deviation
Population vs Sample Formulas
| Population | Sample | |
|---|---|---|
| Size | \( N \) (all items) | \( n \) (subset) |
| Mean | \( \mu \) | \( \bar{x} \) |
| Variance | \( \sigma^2 = \frac{\sum(x_i - \mu)^2}{N} \) | \( s^2 = \frac{\sum(x_i - \bar{x})^2}{n-1} \) |
| Std Dev | \( \sigma \) | \( s \) |
| Divisor | \( N \) | \( n - 1 \) (Bessel's) |
How to Compute All Four Measures
Example 1: Five Sales Figures
A small store records daily sales (in $1000s): 4, 7, 5, 9, 5. Compute the sample mean, median, variance, and standard deviation.
Example 2: Even-Sized Dataset
Quarterly profits (in $M): 12, 15, 11, 18, 14, 20. Find the sample mean, median, and sample SD.
Example 3: Visualizing Deviation
Dataset: 2, 4, 4, 4, 5, 5, 7, 9. Mean \( \bar{x} = 5 \). Let's see each deviation from the mean.
Common Mistakes to Avoid
Summary: Four Measures at a Glance
| Measure | What It Tells You | Sensitive to Outliers? | Units |
|---|---|---|---|
| Mean \( \bar{x} \) | Arithmetic center | Yes | Same as data |
| Median | Positional center | No | Same as data |
| Variance \( s^2 \) | Average squared spread | Yes | Squared units |
| Std Dev \( s \) | Average spread | Yes | Same as data |
Question 1 of 5
A dataset has values 10, 12, 14, 16, 18. What is the sample mean \( \bar{x} \)?
Question 2 of 5
For the dataset 3, 7, 8, 12, 14, 20 (already sorted, \( n = 6 \)), what is the median?
Question 3 of 5
When computing sample variance, why do we divide by \( n - 1 \) instead of \( n \)?
Question 4 of 5
A sample of 5 values has a sum of squared deviations \( \sum(x_i - \bar{x})^2 = 40 \). What is the sample standard deviation \( s \)?
Question 5 of 5
A company's monthly revenues are highly right-skewed due to occasional blockbuster months. Which measure of center should a business analyst report?