Statistics

Descriptive statistics formulas

Center, spread, position and shape: mean, median, standard deviation, IQR, z-scores and the outlier rule.

Cheat sheet · Intro stats · AP Stats · 5 sections

1Center

Sample mean

ExampleData 2, 4, 6, 8:

Population mean

ExampleA whole class of 3 scores 70, 80, 90:

Median

The middle value of the ordered data; with an even count, the mean of the two middle values.

Example3, 7, 9 → median 7. 3, 7, 9, 11 →

Mode

The most frequent value.

Example2, 3, 3, 5, 8 → mode 3

2Spread

Sample variance

Example2, 4, 6, 8 (mean 5): squared deviations 9, 1, 1, 9 add to 20, so

Sample standard deviation

ExampleSame data:

Population standard deviation

ExampleIf 2, 4, 6, 8 is the whole population:

Range

Example2, 4, 6, 8: range

Interquartile range

Example1, 3, 5, 7, 9, 11, 13: , , so IQR

3Position and outliers

z-score

How many standard deviations x is above (+) or below (−) the mean.

ExampleScore 85, mean 70, s = 10:

Outlier rule (1.5 × IQR)

Example, , IQR : fences 5 and 45, so a value of 50 is an outlier

Five-number summary

Minimum, Q₁, median, Q₃, maximum: the values a boxplot shows.

Example1, 3, 5, 7, 9, 11, 13 → 1, 3, 7, 11, 13

Percentile

The pth percentile is the value with p% of the data at or below it.

ExampleA test score at the 90th percentile is at or above 90% of all scores.

4Shape and which measures to use

ShapeMean vs medianBest summary
Roughly symmetricmean ≈ medianMean and standard deviation
Skewed right (long right tail)mean > medianMedian and IQR
Skewed left (long left tail)mean < medianMedian and IQR

The median and IQR are resistant: outliers barely move them. The mean and standard deviation are not.

5Changing the data

Add a constant a to every value

Center and position measures go up by a; spread (s, IQR, range) is unchanged.

ExampleAdd 5 points to every score: mean 70 → 75, s stays 10

Multiply every value by b > 0

Center, position and spread are all multiplied by b.

ExampleInches to centimeters (× 2.54): mean 60 in → 152.4 cm, s 3 in → 7.62 cm

Related