14.1 Measures of Central Tendency, Dispersion & Resistant Statistics
Key Takeaways
- Measures of central tendency summarize distribution location: the arithmetic mean \bar{x} = \frac{1}{n}\sum x_i balances signed deviations, the median M marks the 50th percentile, and the mode identifies the most frequent value.
- Sample variance s^2 = \frac{1}{n-1}\sum (x_i - \bar{x})^2 utilizes Bessel's correction (n - 1 degrees of freedom) to eliminate downward bias, providing an unbiased estimator for population variance \sigma^2.
- The median and interquartile range (IQR = Q_3 - Q_1) are resistant statistics insensitive to extreme outliers, whereas the mean, range, variance, and standard deviation are non-resistant.
- Under a linear transformation y = ax + b, measures of center and position scale by a and shift by b (ay + b), while measures of spread scale strictly by |a| and remain invariant to the additive shift constant b.
- For skewed distributions or datasets containing severe outliers, the five-number summary (median and IQR) is the preferred descriptive report; for symmetric, mound-shaped distributions, the mean and standard deviation are optimal.
14.1 Measures of Central Tendency, Dispersion & Resistant Statistics
Measures of Central Tendency: Mean, Median, and Mode
Descriptive statistics begins with quantifying the location or center of a univariate quantitative distribution. Given a dataset containing $n$ observations ${x_1, x_2, \dots, x_n}$, three primary metrics characterize central tendency:
-
Arithmetic Mean: The arithmetic mean represents the balance point of the distribution, where the sum of signed deviations equals zero: $\sum_{i=1}^n (x_i - \bar{x}) = 0$. For a sample of size $n$, the sample mean is denoted $\bar{x}$: For an entire finite population of size $N$, the population mean is denoted $\mu$: When values carry differential weights $w_i$, the weighted mean is computed as $\bar{x}_w = \frac{\sum w_i x_i}{\sum w_i}$.
-
Median: The median, denoted $M$ or $\tilde{x}$, is the 50th percentile ($Q_2$), bisecting an ordered dataset into two subsets of equal cardinality. Sorting the observations such that $x_{(1)} \le x_{(2)} \le \dots \le x_{(n)}$:
- If $n$ is odd, the median is the unique central observation at position $\frac{n+1}{2}$:
- If $n$ is even, the median is the arithmetic mean of the two central values at positions $\frac{n}{2}$ and $\frac{n}{2} + 1$:
- Mode: The mode represents the observation occurring with the highest frequency. Distributions may be unimodal (one distinct peak), bimodal (two equal peaks), multimodal (three or more peaks), or possess no mode if all observations appear with equal frequency. While mean and median require numerical interval or ratio data, the mode is the sole measure of central tendency applicable to nominal categorical data.
Measures of Dispersion and Bessel's Correction
Central tendency describes where data cluster, but dispersion quantifies the degree of spread or variability among observations:
-
Range: The simplest spread metric is the difference between extremes: Because range depends solely on the two extreme endpoints, it ignores internal distribution structure and is highly sensitive to outliers.
-
Interquartile Range ($IQR$): The distance spanned by the central 50% of the distribution, defined as the difference between the third quartile ($Q_3$, 75th percentile) and the first quartile ($Q_1$, 25th percentile):
-
Population Variance ($\sigma^2$) and Standard Deviation ($\sigma$): For a known population of size $N$ with mean $\mu$, the parameter variance is the mean squared deviation:
-
Sample Variance ($s^2$) and Sample Standard Deviation ($s$): For a sample of size $n$, the statistic is computed using $n - 1$ in the denominator: The algebraic shortcut formula for manual computation is:
The Mathematical Necessity of Bessel's Correction ($n - 1$)
When estimating population variance from a sample, deviations are measured from the sample mean $\bar{x}$ rather than the unobservable true population mean $\mu$. Because $\bar{x}$ minimizes the sum of squared deviations for that specific sample ($\sum (x_i - \bar{x})^2 < \sum (x_i - \mu)^2$ whenever $\bar{x} \neq \mu$), dividing by $n$ systematically underestimates $\sigma^2$.
Analytically, the expected value of the uncorrected sample variance satisfies: Dividing by the degrees of freedom $n - 1$ rather than $n$—an adjustment known as Bessel's correction—counteracts this downward bias: Thus, $s^2$ is an unbiased estimator of $\sigma^2$.
Statistical Resistance to Extreme Outliers
A descriptive statistic is termed resistant (or robust) if its numerical value remains relatively unaffected by extreme outliers or heavy skewness.
- Non-Resistant Statistics: The arithmetic mean $\bar{x}$, range, sample variance $s^2$, and standard deviation $s$ are non-resistant. In the mean, every observation enters additively into $\sum x_i$, so an extreme value pulls $\bar{x}$ dramatically toward the tail. In variance and standard deviation, deviations $(x_i - \bar{x})$ are squared, magnifying the influence of extreme values exponentially.
- Resistant Statistics: The median $M$ and interquartile range $IQR$ are resistant. The median depends solely on the ordinal rank of data points; changing the highest score in a dataset from $100$ to $10{,}000$ alters neither the median nor the quartiles $Q_1$ and $Q_3$.
Descriptive Selection Guidelines
- Symmetric, mound-shaped distributions: Report the mean $\bar{x}$ and standard deviation $s$. The mean efficiently utilizes every quantitative data value, and standard deviation connects directly to the normal distribution model.
- Skewed distributions or distributions with outliers: Report the five-number summary (median $M$ and $IQR$). These resistant metrics accurately reflect the typical center and core spread without distortion from extreme values.
Central Tendency and Dispersion Comparison Table
| Statistical Metric | Type | Mathematical Formula | Resistant? | Sensitivity to Outliers |
|---|---|---|---|---|
| Arithmetic Mean | Center | $\bar{x} = \frac{1}{n}\sum x_i$ | No | Highly sensitive; pulled strongly in direction of tail |
| Median | Center | Middle value of sorted data | Yes | Robust; unaffected by extreme values beyond quartiles |
| Mode | Center | Value with maximum frequency | Yes | Robust to isolated numerical outliers |
| Range | Spread | $\text{Range} = x_{\max} - x_{\min}$ | No | Extremely sensitive; governed strictly by maximum and minimum |
| Interquartile Range | Spread | $IQR = Q_3 - Q_1$ | Yes | Robust; measures width of middle 50% of data |
| Sample Variance | Spread | $s^2 = \frac{1}{n-1}\sum (x_i - \bar{x})^2$ | No | Highly sensitive; squared deviations magnify extreme values |
| Sample Std Deviation | Spread | $s = \sqrt{s^2}$ | No | Highly sensitive; shares same vulnerability as variance |
Linear Transformations of Univariate Data
A linear transformation maps an original random variable $X$ to a new variable $Y$ via the linear function: where $a$ is a multiplicative scale factor and $b$ is an additive shift constant.
1. Effect of Adding a Constant $b$ ($y = x + b$)
Adding a constant $b$ shifts every data point along the number line by $b$ units without altering the relative spacing between points:
- Measures of Center and Position: Increased by $b$:
- Measures of Spread: Completely unchanged:
2. Effect of Multiplying by a Constant $a$ ($y = a x$)
Multiplying every data point by $a$ stretches or compresses the distribution relative to the origin:
- Measures of Center and Position: Multiplied by $a$:
- Measures of Spread: Multiplied by the absolute value $|a|$:
Combined Linear Transformation Theorem
For any linear transformation $Y = aX + b$:
Worked Exemplar: Linear Data Transformation Analysis
Problem: A high school mathematics teacher administers an algebra assessment to a class of 28 students. The raw exam scores exhibit a sample mean of $\bar{x} = 62.0$, a median of $M = 60.0$, a sample standard deviation of $s = 8.0$, and an interquartile range of $IQR = 12.0$. To adjust for exam difficulty, the teacher applies a curved scaling formula: each score is multiplied by $1.2$ and then increased by $10$ points, represented by $y_i = 1.2 x_i + 10$. Calculate the transformed mean $\bar{y}$, transformed median $M_y$, transformed standard deviation $s_y$, transformed variance $s_y^2$, and transformed $IQR_y$.
-
Step 1: Identify Transformation Parameters. The linear transformation is $y = ax + b$ with multiplicative factor $a = 1.2$ and additive constant $b = 10$.
-
Step 2: Transform Measures of Central Tendency. Both mean and median are linear measures of center; therefore, apply the full transformation $a(\cdot) + b$:
-
Step 3: Transform Measures of Dispersion. Measures of spread are influenced solely by the multiplicative scale factor $|a| = |1.2| = 1.2$. The additive constant $b = 10$ has zero impact on dispersion:
-
Step 4: Compute Transformed Sample Variance. Variance scales by the square of the multiplicative constant, $a^2$: Alternatively, squaring the transformed standard deviation yields: Notice that $s_y^2 \neq 1.2(64.0) + 10$; neither the additive constant 10 nor a simple linear multiple applies to variance.
A physics teacher rescales raw test scores using the linear transformation y = 1.25x + 15. The raw scores have a mean of x_bar = 54.0, a median of M = 52.0, a sample standard deviation of s = 12.0, and an interquartile range of IQR = 16.0. What are the rescaled mean y_bar and rescaled standard deviation s_y?
A municipal department employs 9 administrative staff members with salaries of $42,000, $45,000, $48,000, $50,000, $52,000, $55,000, $58,000, $62,000, and $65,000. When the agency director joins the payroll with an annual salary of $460,000, the sample size increases to 10. Which pair of descriptive statistics will experience the least change as a result of including the director's salary?
A researcher records five sample measurements: 4, 7, 8, 11, 15. What is the sample variance s^2 of this dataset, and what theoretical justification explains why n - 1 is used in the denominator rather than n?
A quantitative random variable X has mean X_bar = 20, sample variance s_X^2 = 16, and sample standard deviation s_X = 4. A linear transformation creates a new variable Y = -3X + 10. What are the mean Y_bar, variance s_Y^2, and standard deviation s_Y of the transformed data?