Explanation

Skewness and where the mean, median, and mode sit

A distribution is symmetric if the left and right sides mirror each other; then mean, median, and mode are about equal.

  • Skewed to the right (positive skew): the long tail points toward larger values; the greater values are more spread out. The mean is pulled up, so mean > median (mode usually smallest).
  • Skewed to the left (negative skew): the long tail points toward smaller values; mean < median.

A memory rule is that the mean follows the tail. The textbook's wording: when the right side of the graph looks "chopped off" compared with the left, the data are skewed to the left. Because the mean is not resistant while the median is, the gap between them is a quick skewness check.

Measures of location

These tell you where a value stands within the data set.

Percentiles divide ordered data into 100 equal parts. Quartiles divide it into four: Q1 is the 25th percentile, Q2 the median (50th), Q3 the 75th. The textbook calculates Q1 as the median of the lower half and Q3 as the median of the upper half (when n is odd, the overall median is not included in either half in the usual method). Percentiles may or may not be actual data values.

Two directions:

  • Value from percentile: position i = (k/100)(n + 1) for the k-th percentile in n ordered values; if i is not a whole number, average the neighbours.
  • Percentile from value: percentile = (x + 0.5y)/n × 100, where x = number of values below the value, y = number equal to it, n = total.

An observation at the 90th percentile is greater than 90% of the others; it does not mean a score of 90.

Five-number summary: minimum, Q1, median, Q3, maximum. Box plot: draws a box from Q1 to Q3 with a line at the median, and whiskers to the smallest and largest non-outlier values. It shows the middle 50% of the data at a glance. Unequal whisker lengths or an off-centre median line reveal skewness.

Interquartile range IQR = Q3 − Q1, the range of the middle 50% of the data. Outlier rule: an observation is a suspected outlier if it lies below Q1 − 1.5·IQR or above Q3 + 1.5·IQR.

z-score (standard score): z = (x − mean)/standard deviation. It says how many standard deviations a value is above (positive) or below (negative) the mean. Because it removes units, it lets you compare values from different distributions (an 86 on one exam versus 68 on another).

Measures of spread

Two data sets can share the same mean and still differ in how scattered they are.

  • Range = max − min. Easy, but depends only on the two extremes.
  • Deviation of a value: x − mean. The deviations always sum to zero, which is why we square them.
  • Variance is the mean of the squared deviations. Population variance σ² = Σ(x − μ)²/N. Sample variance s² = Σ(x − x̄)²/(n − 1). The divisor n − 1 (the degrees of freedom) corrects the fact that x̄ is computed from the same data, which would otherwise make s² systematically too small.
  • Standard deviation is the square root of the variance, s for a sample and σ for a population, measured in the same units as the data. It measures how far values typically are from the mean. Larger = more spread. It is zero only if all values are identical, and it is not resistant to outliers.
  • With a frequency table use s = √(Σf(x − x̄)²/(n − 1)).

Rules of thumb for interpreting standard deviation

  • Empirical rule (bell-shaped/normal data): about 68% of values within 1 sd of the mean, about 95% within 2 sd, about 99.7% within 3 sd. Values beyond about 2 or 3 sd are unusual.
  • Chebyshev's theorem (any distribution): at least 1 − 1/k² of the data lie within k standard deviations of the mean (k > 1): at least 75% within 2 sd, at least 89% within 3 sd.

Common mistakes

Dividing by n when the data are a sample; forgetting to take the square root; reading "75th percentile" as "75%"; applying the empirical rule to a skewed distribution; computing quartiles before sorting.

Practice tasks

  1. For 2, 4, 6, 8 find the range, mean, population variance, and sample variance.
  2. A distribution has mean 52 and median 47. What is its likely shape?
  3. A student scored 80 in a class of 40; 34 scores were below 80 and 1 equalled it. Find the percentile rank using (below + 0.5·equal)/n.
  4. Exam 1: mean 70, sd 8, you scored 86. Exam 2: mean 60, sd 5, you scored 68. On which exam did you do relatively better?
  5. IQ scores are bell-shaped with mean 100, sd 15. Use the empirical rule to find the range holding about 95%. Then use Chebyshev for the minimum share within 2 sd of any distribution.
  6. Data: 3, 5, 7, 7, 8, 9, 10, 12, 15. Find the five-number summary, IQR, and check for outliers.
  7. For the data in task 6, compute the sample standard deviation.