TExcelTAD
Home › School Probability & Statistics on Paper › Measures of Dispersion: Range, Variance, and Standard Deviation

Measures of Dispersion: Range, Variance, and Standard Deviation

Two basketball players can each average 20 points20\text{ points} per game. However, Player A might score between 1818 and 2222 points every single game, while Player B alternates wildly between 22 points and 3838 points.

Although both players share the exact same mean (xˉ=20\bar{x} = 20), their performances are completely different. A measure of central tendency alone gives only half the story. To understand data, we must also measure its dispersion (spread or variability): how tightly or loosely the data points cluster around the center.


The Core Measures of Dispersion

Range:The difference between the maximum and minimum observations.Fast to compute, but sensitive to extreme outliers.Variance (s2 or σ2):The average squared distance of observations from the mean.Measured in squared units (e.g., cm2, dollars2).Standard Deviation (s or σ):The principal square root of the variance.Restores the measurement back to original units (e.g., cm, dollars).\begin{aligned} \textbf{Range:} \quad &\text{The difference between the maximum and minimum observations.} \\ &\text{Fast to compute, but sensitive to extreme outliers.} \\ \textbf{Variance } (s^2 \text{ or } \sigma^2): \quad &\text{The average squared distance of observations from the mean.} \\ &\text{Measured in squared units (e.g., cm}^2\text{, dollars}^2\text{).} \\ \textbf{Standard Deviation } (s \text{ or } \sigma): \quad &\text{The principal square root of the variance.} \\ &\text{Restores the measurement back to original units (e.g., cm, dollars).} \end{aligned}

Formula Box: Paper Calculation Rules

1. The Fundamental Deviation Property

For any dataset, the sum of simple deviations from the mean is always identically zero:

∑i=1n(xi−xˉ)=0\sum_{i=1}^n (x_i - \bar{x}) = 0

Because positive and negative deviations cancel each other out, we square each deviation (xi−xˉ)2(x_i - \bar{x})^2 before summing.

2. Sample vs. Population Formulas

In school exams, almost all exercises involve a sample drawn from a larger population. We divide by n−1n - 1 (known as Bessel's correction) to eliminate bias:

Sample Statistics (n)Population Parameters (N)Mean: xˉ=∑xinMean: μ=∑xiNs2=∑i=1n(xi−xˉ)2n−1σ2=∑i=1N(xi−μ)2Ns=s2σ=σ2\begin{array}{c|c} \textbf{Sample Statistics } (n) & \textbf{Population Parameters } (N) \\ \hline \text{Mean: } \bar{x} = \frac{\sum x_i}{n} & \text{Mean: } \mu = \frac{\sum x_i}{N} \\ s^2 = \frac{\sum_{i=1}^n (x_i - \bar{x})^2}{n - 1} & \sigma^2 = \frac{\sum_{i=1}^N (x_i - \mu)^2}{N} \\ s = \sqrt{s^2} & \sigma = \sqrt{\sigma^2} \end{array}

3. The Paper Shortcut (Computational Formula)

When the sample mean xˉ\bar{x} is a messy decimal or fraction, computing (xi−xˉ)2(x_i - \bar{x})^2 for every row leads to tedious arithmetic errors. Instead, use the algebraic shortcut formula:

s2=1n−1(∑i=1nxi2−(∑i=1nxi)2n)s^2 = \frac{1}{n - 1} \left( \sum_{i=1}^n x_i^2 - \frac{(\sum_{i=1}^n x_i)^2}{n} \right)

Crucial Distinction on Paper:

  • ∑xi2\sum x_i^2: Square each number first, then add them up.
  • (∑xi)2(\sum x_i)^2: Add all numbers first, then square that single total.

Step-by-Step Paper Notebook Method

Method A: Definitional Table (Best when xˉ\bar{x} is an exact integer)

  1. Write down the values xix_i in Column 1 and compute the mean xˉ=∑xin\bar{x} = \frac{\sum x_i}{n}.
  2. In Column 2, subtract xˉ\bar{x} from each entry: di=xi−xˉd_i = x_i - \bar{x}.
  3. Paper Safety Check: Sum Column 2. It must equal 00. If it does not, your mean or subtraction is incorrect.
  4. In Column 3, square each deviation: di2=(xi−xˉ)2d_i^2 = (x_i - \bar{x})^2. (Every number in this column must be positive or zero!).
  5. Sum Column 3 to get ∑(xi−xˉ)2\sum (x_i - \bar{x})^2.
  6. Divide by n−1n - 1 for sample variance s2s^2, then take the square root for s=s2s = \sqrt{s^2}.

Method B: Computational Shortcut (Best when xˉ\bar{x} is a decimal)

  1. Column 1: Record values xix_i. Sum them to get ∑xi\sum x_i.
  2. Column 2: Square each value xi2x_i^2. Sum them to get ∑xi2\sum x_i^2.
  3. Compute the correction term: (∑xi)2n\frac{(\sum x_i)^2}{n}.
  4. Subtract: Sum of Squares (SS)=∑xi2−(∑xi)2n\text{Sum of Squares } (SS) = \sum x_i^2 - \frac{(\sum x_i)^2}{n}.
  5. Divide by n−1n - 1 to find s2s^2, then calculate s=s2s = \sqrt{s^2}.

Worked Examples

Example 1: Definitional Method (Integer Mean)

Problem: Five students scored the following points on an assignment:

4, 7, 8, 9, 124, \ 7, \ 8, \ 9, \ 12

Assuming these n=5n = 5 scores represent a sample, calculate the range, sample variance s2s^2, and sample standard deviation ss on paper.

Step-by-Step Paper Solution:

  1. Calculate the Range:

    Range=xmax⁡−xmin⁡=12−4=8 points\text{Range} = x_{\max} - x_{\min} = 12 - 4 = 8\text{ points}
  2. Calculate the Sample Mean (xˉ\bar{x}):

    xˉ=4+7+8+9+125=405=8 points\bar{x} = \frac{4 + 7 + 8 + 9 + 12}{5} = \frac{40}{5} = 8\text{ points}

    Since xˉ=8\bar{x} = 8 is an exact integer, the definitional table method is fast and clean.

  3. Construct the Calculation Table:

xix_i Deviation: xi−xˉ=xi−8x_i - \bar{x} = x_i - 8 Squared Deviation: (xi−8)2(x_i - 8)^2
44 4−8=−44 - 8 = -4 (−4)2=16(-4)^2 = 16
77 7−8=−17 - 8 = -1 (−1)2=1(-1)^2 = 1
88 8−8=08 - 8 = 0 02=00^2 = 0
99 9−8=+19 - 8 = +1 12=11^2 = 1
1212 12−8=+412 - 8 = +4 42=164^2 = 16
Total ∑(xi−xˉ)=(−4)+(−1)+0+1+4=0\sum (x_i - \bar{x}) = (-4) + (-1) + 0 + 1 + 4 = \mathbf{0} ∑(xi−xˉ)2=16+1+0+1+16=34\sum (x_i - \bar{x})^2 = 16 + 1 + 0 + 1 + 16 = \mathbf{34}
  1. Calculate Sample Variance (s2s^2): Divide by n−1=5−1=4n - 1 = 5 - 1 = 4:

    s2=∑(xi−xˉ)2n−1=344=8.5 points2s^2 = \frac{\sum (x_i - \bar{x})^2}{n - 1} = \frac{34}{4} = 8.5\text{ points}^2
  2. Calculate Sample Standard Deviation (ss):

    s=8.5≈2.915≈2.92 pointss = \sqrt{8.5} \approx 2.915 \approx 2.92\text{ points}

Example 2: Shortcut Formula (Decimal Mean)

Problem: A laboratory measures the reaction time (in seconds) of six subjects:

3, 5, 6, 7, 8, 93, \ 5, \ 6, \ 7, \ 8, \ 9

Calculate the sample variance s2s^2 and sample standard deviation ss using the computational shortcut formula on paper.

Step-by-Step Paper Solution:

  1. Calculate ∑xi\sum x_i and the Mean:

    ∑xi=3+5+6+7+8+9=38\sum x_i = 3 + 5 + 6 + 7 + 8 + 9 = 38
    xˉ=386=6.333…\bar{x} = \frac{38}{6} = 6.333\dots

    Because xˉ\bar{x} is a repeating decimal, subtracting it from each number would produce fractions. We use the shortcut formula instead.

  2. Construct the Two-Column Shortcut Table:

xix_i xi2x_i^2
33 99
55 2525
66 3636
77 4949
88 6464
99 8181
Total: ∑xi=38\sum x_i = 38 Total: ∑xi2=264\sum x_i^2 = 264
  1. Compute the Correction Term:

    (∑xi)2n=3826=14446=7223≈240.667\frac{(\sum x_i)^2}{n} = \frac{38^2}{6} = \frac{1444}{6} = \frac{722}{3} \approx 240.667
  2. Compute Sum of Squared Deviations (SSSS):

    SS=∑xi2−(∑xi)2n=264−7223=792−7223=703SS = \sum x_i^2 - \frac{(\sum x_i)^2}{n} = 264 - \frac{722}{3} = \frac{792 - 722}{3} = \frac{70}{3}
  3. Divide by n−1=6−1=5n - 1 = 6 - 1 = 5 for Sample Variance:

    s2=SSn−1=7035=7015=143=4.66ˉ≈4.67 s2s^2 = \frac{SS}{n - 1} = \frac{\frac{70}{3}}{5} = \frac{70}{15} = \frac{14}{3} = 4.6\bar{6} \approx 4.67\text{ s}^2
  4. Calculate Standard Deviation (ss):

    s=143=4.667≈2.16 ss = \sqrt{\frac{14}{3}} = \sqrt{4.667} \approx 2.16\text{ s}

Example 3: Comparing Consistency Between Two Datasets

Problem: Two runners, Mia and Noah, run 100 m100\text{ m} sprints in five training trials. Their recorded times (in seconds) are:

  • Mia: 12.1, 12.0, 12.2, 11.9, 12.312.1, \ 12.0, \ 12.2, \ 11.9, \ 12.3
  • Noah: 11.4, 12.8, 11.6, 13.0, 11.711.4, \ 12.8, \ 11.6, \ 13.0, \ 11.7

Both runners have the exact same mean time xˉ=12.1 s\bar{x} = 12.1\text{ s}. Determine which runner is more consistent by calculating their sample standard deviations on paper.

Step-by-Step Paper Solution:

  1. Mia's Deviations (xi−12.1x_i - 12.1):

    • Deviations: 0.0, −0.1, +0.1, −0.2, +0.20.0, \ -0.1, \ +0.1, \ -0.2, \ +0.2
    • Squared deviations:
      0.00+0.01+0.01+0.04+0.04=0.100.00 + 0.01 + 0.01 + 0.04 + 0.04 = 0.10
    • Mia's sample variance:
      sMia2=0.105−1=0.104=0.025 s2s_{\text{Mia}}^2 = \frac{0.10}{5 - 1} = \frac{0.10}{4} = 0.025\text{ s}^2
    • Mia's standard deviation:
      sMia=0.025≈0.158 ss_{\text{Mia}} = \sqrt{0.025} \approx 0.158\text{ s}
  2. Noah's Deviations (xi−12.1x_i - 12.1):

    • Deviations: −0.7, +0.7, −0.5, +0.9, −0.4-0.7, \ +0.7, \ -0.5, \ +0.9, \ -0.4
    • Squared deviations:
      (−0.7)2+(0.7)2+(−0.5)2+(0.9)2+(−0.4)2=0.49+0.49+0.25+0.81+0.16=2.20(-0.7)^2 + (0.7)^2 + (-0.5)^2 + (0.9)^2 + (-0.4)^2 = 0.49 + 0.49 + 0.25 + 0.81 + 0.16 = 2.20
    • Noah's sample variance:
      sNoah2=2.205−1=2.204=0.55 s2s_{\text{Noah}}^2 = \frac{2.20}{5 - 1} = \frac{2.20}{4} = 0.55\text{ s}^2
    • Noah's standard deviation:
      sNoah=0.55≈0.742 ss_{\text{Noah}} = \sqrt{0.55} \approx 0.742\text{ s}
  3. Comparison & Conclusion:

    • Mia's standard deviation (0.16 s0.16\text{ s}) is much smaller than Noah's standard deviation (0.74 s0.74\text{ s}).
    • Conclusion: Mia is significantly more consistent. Noah has greater variance and fluctuates widely between trials.

Common Mistakes & Paper Traps

  1. Dividing by nn Instead of n−1n - 1:

    • For a sample, always divide by n−1n - 1. Dividing by nn underestimates the true population dispersion.
  2. The Negative Squared Deviation Error:

    • Writing (−3)2=−9(-3)^2 = -9 on paper.
    • Fix: Any real number squared is non-negative: (−3)2=+9(-3)^2 = +9. If any number in your squared deviation column is negative, stop and fix it immediately.
  3. Confusing ∑xi2\sum x_i^2 with (∑xi)2(\sum x_i)^2:

    • For the dataset 2,42, 4:
      • ∑xi2=22+42=4+16=20\sum x_i^2 = 2^2 + 4^2 = 4 + 16 = 20.
      • (∑xi)2=(2+4)2=62=36(\sum x_i)^2 = (2 + 4)^2 = 6^2 = 36.
    • These are completely different values!
  4. Negative Variance Trap:

    • If your calculation produces a negative variance (s2<0s^2 < 0), you subtracted the terms in the wrong order or made an arithmetic mistake. Variance can never be negative.
  5. Stopping at Variance:

    • Exam questions often ask for the standard deviation. Forgetting to take the square root at the very end leaves the answer in squared units.

Pencil & Paper Practice

Practice 1

A sample of four test scores is:

10, 12, 16, 1810, \ 12, \ 16, \ 18

Calculate on paper:

  1. The sample mean xˉ\bar{x}
  2. The sample variance s2s^2 using the definitional table
  3. The sample standard deviation ss in simplest radical form and as a decimal

Practice 2

Five batteries were tested for lifespan (in hours):

20, 24, 26, 28, 3220, \ 24, \ 26, \ 28, \ 32

Using the computational shortcut formula, determine the sample variance s2s^2 and standard deviation ss.


Worked Solutions for Practice Problems

Solution to Practice 1

  1. Mean:
    xˉ=10+12+16+184=564=14\bar{x} = \frac{10 + 12 + 16 + 18}{4} = \frac{56}{4} = 14
  2. Definitional Table:
xix_i xi−14x_i - 14 (xi−14)2(x_i - 14)^2
1010 −4-4 1616
1212 −2-2 44
1616 +2+2 44
1818 +4+4 1616
Total 00 ∑(xi−xˉ)2=40\sum (x_i - \bar{x})^2 = 40
  1. Sample Variance and Standard Deviation:
    s2=404−1=403=13.33ˉs^2 = \frac{40}{4 - 1} = \frac{40}{3} = 13.3\bar{3}
    s=403=2103=2303≈3.65 pointss = \sqrt{\frac{40}{3}} = \frac{2\sqrt{10}}{\sqrt{3}} = \frac{2\sqrt{30}}{3} \approx 3.65\text{ points}

Solution to Practice 2

  1. Shortcut Table:
    • ∑xi=20+24+26+28+32=130\sum x_i = 20 + 24 + 26 + 28 + 32 = 130
    • xˉ=1305=26\bar{x} = \frac{130}{5} = 26
    • ∑xi2=202+242+262+282+322=400+576+676+784+1024=3460\sum x_i^2 = 20^2 + 24^2 + 26^2 + 28^2 + 32^2 = 400 + 576 + 676 + 784 + 1024 = 3460
  2. Correction Term:
    (∑xi)2n=13025=169005=3380\frac{(\sum x_i)^2}{n} = \frac{130^2}{5} = \frac{16900}{5} = 3380
  3. Sample Variance (n−1=4n - 1 = 4):
    s2=3460−33804=804=20 hours2s^2 = \frac{3460 - 3380}{4} = \frac{80}{4} = 20\text{ hours}^2
  4. Standard Deviation:
    s=20=25≈4.47 hourss = \sqrt{20} = 2\sqrt{5} \approx 4.47\text{ hours}

Test yourself

Why do we divide by n−1n - 1 instead of nn when calculating the sample variance on paper?

  1. To make the arithmetic easier
  2. Because the last data point is always an outlier
  3. To correct for the systematic underestimation of the population variance (Bessel's correction)
  4. Because standard deviation requires an odd denominator

For the sample x={3,7}x = \{3, 7\}, what is the sample variance s2s^2?

  1. 44
  2. 88
  3. 22
  4. 1616

If every value in a dataset is increased by 55 (i.e., yi=xi+5y_i = x_i + 5), how do the mean and standard deviation change?

  1. The mean increases by 55, and the standard deviation increases by 55
  2. The mean increases by 55, and the standard deviation remains unchanged
  3. Both the mean and standard deviation remain unchanged
  4. The mean remains unchanged, and the standard deviation increases by 2525