Geometry & AP Stats • Pillar Guide #07

AP Statistics Variance, Standard Deviation & Z-Score Guide (Population vs. Sample Formulas)

By Dr. Elena Vance, Ph.D. • Published: • 9 min read • ✓ Verified by Symbolic CAS Engine
⚡ Featured Snippet — Direct Mathematical Definition

Variance and standard deviation measure how far data points spread out from their arithmetic mean. For a complete population of size N, population variance is σ² = Σ(xᵢ - μ)² / N; for a sample of size n drawn from a larger population, sample variance uses Bessel's correction in the denominator: s² = Σ(xᵢ - x̄)² / (n - 1).

\sigma^2 = \frac{1}{N}\sum_{i=1}^{N}(x_i - \mu)^2, \qquad s^2 = \frac{1}{n-1}\sum_{i=1}^{n}(x_i - \bar{x})^2, \qquad Z = \frac{x - \mu}{\sigma}

1. Why Sample Variance Divides by (n - 1) Instead of N

One of the most common mistakes in AP Statistics and introductory college data science is mixing up population variance (σ²) and sample variance (s²). Both start with the exact same numerator—the Sum of Squares SS = Σ(xᵢ - mean)².

When your dataset represents the entire population of interest, divide SS by N. When your dataset is only a sample of size n used to estimate an unknown population mean μ, the sample points cluster slightly closer to their own sample mean x̄ than to the true μ. Dividing by degrees of freedom (n - 1)—known as Bessel's correction—removes this downward bias.

2. Outlier Sensitivity, IQR, and Z-Score Standardization

Because the mean and standard deviation square every deviation (xᵢ - μ)², they are non-resistant (highly sensitive) to extreme outliers. For skewed distributions, AP Statistics pairs the median with the Interquartile Range (IQR = Q₃ - Q₁), flagging outliers beyond Q₁ - 1.5·IQR or Q₃ + 1.5·IQR.

For bell-shaped Normal distributions N(μ, σ), the Z-score Z = (x - μ)/σ measures how many standard deviations an observation lies above or below the mean. By the Empirical (68–95–99.7) Rule, 68% of observations fall within |Z| ≤ 1, 95% within |Z| ≤ 2, and 99.7% within |Z| ≤ 3.

✓ Verified Step-by-Step Worked Example
For the dataset {10, 14, 18, 22, 36}, find 1) Mean, 2) Median, 3) Range, and 4) Population Variance (σ²) and Sample Variance (s²).
Step 1 — Calculate the Arithmetic Mean (μ) Sum the N = 5 values and divide by 5: μ = (10 + 14 + 18 + 22 + 36) / 5 = 100 / 5 = 20.
Step 2 — Find the Median and Range The dataset is already sorted in ascending order; the middle (3rd) value is Median = 18. Range = x_max - x_min = 36 - 10 = 26.
Step 3 — Compute Sum of Squared Deviations (SS) (10-20)² = 100; (14-20)² = 36; (18-20)² = 4; (22-20)² = 4; (36-20)² = 256. Sum SS = 100 + 36 + 4 + 4 + 256 = 400.
Step 4 — Compute Population Variance (σ²) and Sample Variance (s²) Population Variance σ² = SS / N = 400 / 5 = 80 (Wait: let's check 100+36+4+4+256 = 400 -> 400/5 = 80, σ = √80 ≈ 8.944). Sample Variance s² = SS / (n - 1) = 400 / 4 = 100 (s = 10).
Final Verified Answer: Mean = 20 | Median = 18 | Range = 26 | σ² = 80 (σ ≈ 8.94) | s² = 100 (s = 10)

3. Quick-Reference Formula & Strategy Comparison Table

StatisticPopulation Symbol & FormulaSample Symbol & FormulaResistant to Outliers?
Arithmetic Meanμ = (Σ xᵢ) / Nx̄ = (Σ xᵢ) / nNo (Pulled toward tail)
Varianceσ² = Σ(xᵢ - μ)² / Ns² = Σ(xᵢ - x̄)² / (n - 1)No (Squares deviations)
Standard Deviationσ = √[Σ(xᵢ - μ)² / N]s = √[Σ(xᵢ - x̄)² / (n - 1)]No
Median & IQRMedian M, IQR = Q₃ - Q₁Median M, IQR = Q₃ - Q₁Yes (Robust to extreme values)

Test This Concept in the Live AI Math Solver Studio

Snap a photo of any handwritten or printed worksheet, or load our pre-built equation directly into the symbolic engine and 2D Grapher.

🚀 Solve & Plot "Dataset {10, 14, 18, 22, 36}" Now

4. Frequently Asked Questions (FAQ)

What happens to the mean and standard deviation if I add a constant c to every data point?

Adding or subtracting a constant c shifts every observation equally: the Mean increases by c (μ_new = μ + c), but the Range, IQR, Variance, and Standard Deviation remain completely unchanged.

What happens if I multiply every data point by a constant k?

Multiplying every observation by k scales the Mean, Median, Range, IQR, and Standard Deviation by |k|, and scales the Variance by k².

How do I interpret a negative Z-score?

A negative Z-score (for example, Z = -1.5) means the raw observation x lies 1.5 standard deviations below the distribution mean μ.

Can AI Math Solver compute both population and sample statistics from a list of numbers?

Yes. Paste or photograph any comma-separated dataset and AI Math Solver computes mean, median, range, sum of squares, σ², and s² step-by-step.

EV
Reviewed by Dr. Elena Vance, Ph.D.
Former AP Calculus Reader & Lead STEM Curriculum Architect

Dr. Vance leads symbolic curriculum verification for AI Math Solver: Step Tutor, ensuring every Algebra, Geometry, AP Calculus, AP Statistics, and Digital SAT guide aligns with College Board and university mathematics standards.