Standard deviation Knowledge-Based Study

Math · Data, Statistics & Probability · Math · Describing Data

Math topic explanations on Standard deviation.

Study notes

  1. Measuring Spread Around the Center

    When analyzing a dataset, measures of central tendency such as the mean tell us where the center of the data lies. However, two datasets can have identical means while having completely different distributions.

    Consider two groups of test scores:

    • Group A: 70, 70, 70, 70, 70 (Mean = 70)
    • Group B: 50, 60, 70, 80, 90 (Mean = 70)

    Although both sets share a mean of 70, the scores in Group B are much more spread out. Standard deviation is a numerical measure that quantifies the typical distance between data points and the arithmetic mean. A small standard deviation indicates that data values cluster closely around the mean, whereas a large standard deviation indicates that the values are widely dispersed.

    Population vs. Sample Standard Deviation

    To calculate standard deviation, we first compute deviations from the mean: xi−μx_i - \mu or xi−xˉx_i - \bar{x}. Because the sum of deviations around the mean is always zero, squaring each deviation eliminates negative values and emphasizes larger distances.

    The formula depends on whether the data represents an entire population or a sample:

    Population Standard Deviation (σ\sigma)

    When data from every individual in the population is known:

    σ=∑i=1N(xi−μ)2N\sigma = \sqrt{\frac{\sum_{i=1}^{N} (x_i - \mu)^2}{N}}

    where NN is the population size and μ\mu is the population mean.

    Sample Standard Deviation (ss)

    When estimating the variability of a population from a representative sample, we divide by n−1n - 1 (Bessel's correction) to obtain an unbiased estimate of the population variance:

    s=∑i=1n(xi−xˉ)2n−1s = \sqrt{\frac{\sum_{i=1}^{n} (x_i - \bar{x})^2}{n - 1}}

    where nn is the sample size and xˉ\bar{x} is the sample mean.

    Calculating Sample Standard Deviation

    Let us calculate the sample standard deviation for the dataset: 4, 8, 6, 5, 7.

    1. Calculate the sample mean (xˉ\bar{x}):
      xˉ=4+8+6+5+75=305=6\bar{x} = \frac{4 + 8 + 6 + 5 + 7}{5} = \frac{30}{5} = 6
    2. Determine the deviations from the mean (xi−xˉx_i - \bar{x}):
      • 4−6=−24 - 6 = -2
      • 8−6=28 - 6 = 2
      • 6−6=06 - 6 = 0
      • 5−6=−15 - 6 = -1
      • 7−6=17 - 6 = 1
    3. Square each deviation:
      • (−2)2=4(-2)^2 = 4
      • 22=42^2 = 4
      • 02=00^2 = 0
      • (−1)2=1(-1)^2 = 1
      • 12=11^2 = 1
    4. Sum the squared deviations:
      ∑(xi−xˉ)2=4+4+0+1+1=10\sum (x_i - \bar{x})^2 = 4 + 4 + 0 + 1 + 1 = 10
    5. Divide by n−1n - 1 to find the sample variance (s2s^2):
      s2=105−1=104=2.5s^2 = \frac{10}{5 - 1} = \frac{10}{4} = 2.5
    6. Take the non-negative square root:
      s=2.5≈1.58s = \sqrt{2.5} \approx 1.58

    Important Properties of Standard Deviation

    • Non-negativity: Standard deviation is always greater than or equal to zero (s≥0s \ge 0). It equals zero if and only if all values in the dataset are identical.
    • Sensitivity to Outliers: Because deviations are squared, extreme values exert a strong influence on standard deviation, making it non-resistant to outliers.
    • Same Units as Data: Unlike variance, which is expressed in squared units, standard deviation shares the exact unit of measurement as the original data (e.g., kilograms, seconds).
    • Effects of Linear Transformations:
      • Adding a constant: Adding or subtracting a constant cc to every data value shifts the center but does not change the spread. Thus, the standard deviation remains unchanged.
      • Multiplying by a constant: Multiplying every value by a constant kk scales the spread; the new standard deviation becomes ∣k∣⋅s|k| \cdot s.