Statistics
Mean, Median & Spread
Master the core measures of center and variability: the mean, median, variance, and standard deviation \(\sigma\).
What Is Statistics?
Statistics is the science of collecting, summarizing, and interpreting data. When a dataset has many values, we need single numbers that describe it.
Measures of Center
The Mean Formula
The mean (denoted \(\bar{x}\)) sums every data value and divides by how many there are:
For data \(\{4, 8, 6, 10, 12\}\): the sum is \(40\), and \(n = 5\), so \(\bar{x} = \frac{40}{5} = 8\).
Variance & Standard Deviation
Variance \(\sigma^2\) measures the average squared distance from the mean. Standard deviation \(\sigma\) is its square root:
A larger \(\sigma\) means the data is more spread out from the mean; a smaller \(\sigma\) means values cluster tightly.
Visualizing Spread
Mean vs. Median
How to Compute Standard Deviation
Example 1: Mean & Median
Find the mean and median of the dataset \(\{3, 7, 7, 2, 11\}\).
Example 2: Standard Deviation
Find \(\sigma\) for the data \(\{2, 4, 6, 8\}\).
Example 3: Even Count Median
Find the median of \(\{10, 2, 14, 6\}\) (an even number of values).
Common Mistakes
Summary Reference
| Measure | Formula / Rule | |
|---|---|---|
| Mean | Center | \(\bar{x} = \frac{1}{n}\sum x_i\) |
| Median | Center | Middle of sorted data |
| Mode | Center | Most frequent value |
| Range | Spread | max − min |
| Variance | Spread | \(\sigma^2 = \frac{1}{n}\sum(x_i-\bar{x})^2\) |
| Std. Dev. | Spread | \(\sigma = \sqrt{\sigma^2}\) |
Time to Practice
Apply what you've learned across 5 questions. Each tests a different statistical concept — center, spread, and outliers. Take your time and compute carefully.
Question 1 of 5
What is the mean of the dataset \(\{5, 10, 15, 20\}\)?
Question 2 of 5
What is the median of \(\{9, 3, 7, 1, 5\}\)?
Question 3 of 5
For the data \(\{4, 4, 4, 4\}\), what is the standard deviation \(\sigma\)?
Question 4 of 5
Find the variance \(\sigma^2\) of \(\{1, 3, 5\}\).
Question 5 of 5
Which measure of center is least affected by a single extreme outlier?
You've Got the Fundamentals
You can now compute the mean, median, variance, and standard deviation \(\sigma\), and explain how outliers affect each. These are the building blocks of all DAT data analysis.