Steady State
İST205 / Lecture 3
Lecture 3 · Week 3 · Lind, Marchal & Wathen ch. 3 · about 55 min

Numerical Measures

Measures of location (mean, median, mode, weighted and geometric mean) and measures of dispersion (range, variance, standard deviation), plus Chebyshev's theorem, the Empirical Rule, and the mean and standard deviation of grouped data.

By the end you can
  • Compute and interpret the mean, median, and mode, and read skewness from their relative positions
  • Compute a weighted mean and the geometric mean, including average growth rates over time
  • Compute the range, variance, and standard deviation for a population and for a sample
  • Apply Chebyshev's theorem and the Empirical Rule to describe a distribution
  • Estimate the mean and standard deviation from grouped data

Chapter 2 described data with tables and graphs. This chapter describes quantitative data with numbers. Two families of numbers matter: measures of location (averages that mark the center) and measures of dispersion (numbers that describe the spread).

Two firms can both pay a mean salary of 80,000 dollars while one pays everyone between 70,000 and 90,000 and the other ranges from 40,000 to 120,000. The location is identical; the spread is not. Reporting only the average hides that difference, so a complete description always needs both a center and a spread.

The arithmetic mean

The arithmetic mean is the most widely reported average: add the values and divide by how many there are. The notation depends on whether the data are the whole population or a sample.

Population meanFormula 3-1Formula sheet →
μ=∑xN\mu = \frac{\sum x}{N}
μ\mu
population mean
xx
each observation
NN
number of observations in the population

Use it when you have data for the entire population and want its arithmetic average.

Sample meanFormula 3-2Formula sheet →
xˉ=∑xn\bar{x} = \frac{\sum x}{n}
xˉ\bar{x}
sample mean
xx
each observation
nn
number of observations in the sample

Use it when you have a sample and want its arithmetic average.

The mean needs at least interval-level data: differences between values must be meaningful.

There are 42 exits on I-75 in Kentucky, and the distances between consecutive exits add to 192 miles. Because every exit in the state is included, this is a population: μ=192/42=4.57\mu = 192/42 = 4.57 miles between exits.

Your turn

Last month a random sample of 12 cell phone clients used these minutes: 90, 77, 94, 89, 119, 112, 91, 110, 92, 100, 113, 83. Find the sample mean number of minutes.

Properties of the arithmetic mean

The last property makes the mean the balance point of the data. For the values 3, 8, and 4 the mean is 5, and

(3−5)+(8−5)+(4−5)=−2+3−1=0(3 - 5) + (8 - 5) + (4 - 5) = -2 + 3 - 1 = 0.

Interactive · the mean is the balance pointΣ(x − fulcrum) = -4.50
3480123456789101112mean 5.00Tips left: more deviation on the left
3 − 6.50
-3.50
4 − 6.50
-2.50
8 − 6.50
1.50
Sum of deviations
-4.50

The beam balances only where the deviations to the left cancel the deviations to the right, Σ(x − x̄) = 0. That point is the arithmetic mean, 5.00. Move the last weight far out and watch one value drag the balance point with it: the mean is sensitive to extreme values.

Your turn

These four values are a sample: 5, 9, 4, 10. Find the sample mean.

Median, mode, and skewness

The median is the midpoint of the values after they are ordered from smallest to largest. For an odd number of observations it is the middle value; for an even number it is the arithmetic mean of the two middle values (so it may not be one of the data values). It needs at least ordinal data and is not affected by extreme values.

Palm Aire condominium prices are 60,000; 65,000; 70,000; 80,000; and 275,000 dollars. The mean is 110,000, dragged up by the penthouse, but the median is 70,000, which is the typical price. If the penthouse had cost 1 million, the median would still be 70,000.

Your turn

A sample of Social Security recipients receives these monthly benefits in dollars: 852, 598, 580, 1374, 960, 878, and 1130. Find the median monthly benefit.

The mode is the value that occurs most frequently. It is the only measure of location that works for nominal data (for example, the most preferred bath oil in a survey). A data set can have no mode (all values different), or several: the ages 22, 26, 27, 27, 31, 35, 35 are bimodal with modes 27 and 35.

The shape of a distribution determines where the three measures sit:

The book’s examples: weekly income (positive skew) has mode 25, median 29, mean 60; tensile strength (negative skew) has mean 45, median 76, mode 80. If a distribution is strongly skewed, the mean alone is misleading; report the median (or both).

Interactive · shape, mean, median and moderight tail
meanmedianmodevalue →
Mean − median
0.17
Pearson sk = 3(x̄ − median)/s
0.52

Positively (right) skewed: the long right tail drags the mean to the right. The median moves less, the mode stays at the peak. Order: mode < median < mean.

Check your understanding

A sample of store sales has mean 105,900 dollars, median 105,000 dollars, and mode 104,500 dollars. What is the shape of the distribution?

The weighted mean

When several observations share the same value, or when some observations matter more than others, the weighted mean is faster and more appropriate than adding repeated values one by one.

Weighted meanFormula 3-3Formula sheet →
xˉw=∑(wx)∑w\bar{x}_w = \frac{\sum (wx)}{\sum w}
xˉw\bar{x}_w
weighted mean
xx
each value
ww
the weight of that value

Use it when values repeat or are not equally important.

Wendy’s sold 3 medium drinks at 1.84, 4 large at 2.07, and 3 Biggie-sized at 2.40 dollars. Adding ten numbers gives a mean of 21.00/10 = 2.10 dollars. With weights, the same answer comes from

xˉw=3(1.84)+4(2.07)+3(2.40)3+4+3=21.0010=2.10\bar{x}_w = \dfrac{3(1.84) + 4(2.07) + 3(2.40)}{3 + 4 + 3} = \dfrac{21.00}{10} = 2.10 dollars.

Grades are weighted by credit hours in exactly the same way.

Your turn

Carter Construction has 26 hourly employees: 14 earn 16.50 dollars per hour, 10 earn 19.00, and 2 earn 25.00. Find the weighted mean hourly rate (in dollars, rounded to 2 decimals).

The geometric mean and growth rates

The geometric mean is the measure for percentages, ratios, indexes, and growth rates that compound (each period builds on the previous one). The geometric mean of nn positive values is the nnth root of their product.

Geometric meanFormula 3-4Formula sheet →
GM=x1⋅x2⋯xnnGM = \sqrt[n]{x_1 \cdot x_2 \cdots x_n}
GMGM
geometric mean
xx
each positive value
nn
number of values

Use it when you average growth factors, ratios, or percentages instead of raw amounts.

Rate of increase over timeFormula 3-5Formula sheet →
GM=value at endvalue at startn−1GM = \sqrt[n]{\frac{\text{value at end}}{\text{value at start}}} - 1
GMGM
average compound growth rate
nn
number of periods
endandstartend and start
values at the two dates

Use it when you want the average annual growth rate between two points in time.

Worked example · Geometric mean return for Atkins Construction0/5

Returns of 30%, 20%, -40%, and 200% in four consecutive years. Find the average compound annual return.

Your turn

A stock returned 30%, 20%, -40%, and 200% in four consecutive years. What is the geometric mean rate of return, as a percent rounded to one decimal?

For a growth rate over a stretch of time, divide the end value by the start value, take the nnth root, and subtract 1. Las Vegas grew from 258,295 people in 1990 to 613,599 in 2014 (24 years). The ratio is 2.3756, the 24th root is 1.0367, so the population grew about 3.67% per year.

Range and variance

A measure of location alone does not tell you how spread out the data are. Two assembly plants both produce a mean of 50 monitors per hour, but one varies from 48 to 52 and the other from 40 to 60. The mean is more trustworthy for the first plant.

The simplest measure of dispersion is the range.

RangeFormula 3-6Formula sheet →
Range=Maximum−MinimumRange = Maximum - Minimum
MaximumMaximum
largest value
MinimumMinimum
smallest value

Use it when you want a quick, easily understood measure of the total spread.

The range is easy but uses only two values; it says nothing about the values in between. The variance uses every value. It is the arithmetic mean of the squared deviations from the mean.

Chart · Baton Rouge vs Tucsonsolid = mean · dashed = median
Baton RougeBaton Rouge: 48 monitors per hourBaton Rouge: 49 monitors per hourBaton Rouge: 49 monitors per hourBaton Rouge: 50 monitors per hourBaton Rouge: 50 monitors per hourBaton Rouge: 50 monitors per hourBaton Rouge: 51 monitors per hourBaton Rouge: 51 monitors per hourBaton Rouge: 52 monitors per hourTucsonTucson: 40 monitors per hourTucson: 42 monitors per hourTucson: 45 monitors per hourTucson: 48 monitors per hourTucson: 50 monitors per hourTucson: 52 monitors per hourTucson: 55 monitors per hourTucson: 58 monitors per hourTucson: 60 monitors per hour4045505560monitors per hour
Baton RougeTucson
Mean50.0050.00
Median50.0050.00
Range4.0020.00
St. dev. s1.226.95

Nine illustrative hours per plant, matching Chart 3-6: both plants average 50 monitors an hour, but Baton Rouge stays within 48 to 52 (range 4) while Tucson swings from 40 to 60 (range 20). Same mean, very different reliability.

Population varianceFormula 3-7Formula sheet →
σ2=∑(x−μ)2N\sigma^2 = \frac{\sum (x - \mu)^2}{N}
σ2\sigma^2
population variance
xx
each observation
μ\mu
population mean
NN
population size

Use it when the data are the whole population.

Population standard deviationFormula 3-8Formula sheet →
σ=∑(x−μ)2N\sigma = \sqrt{\frac{\sum (x - \mu)^2}{N}}
σ\sigma
population standard deviation
xx
each observation
μ\mu
population mean
NN
population size

Use it when you want dispersion in the original units.

The steps are mechanical: find the mean, subtract it from each observation, square the differences, sum them, divide by NN. Beaufort County issued 348 citations over 12 months, so μ=348/12=29\mu = 348/12 = 29. The squared deviations total 1,488, so σ2=1488/12=124\sigma^2 = 1488/12 = 124 and σ=124≈11.14\sigma = \sqrt{124} \approx 11.14 citations.

Your turn

These five values are a population: 8, 3, 7, 3, 4. Find the population variance.

Sample variance and standard deviation

When the data are a sample instead of a population, the mean becomes xˉ\bar{x} and the denominator changes from NN to n−1n - 1.

Sample varianceFormula 3-9Formula sheet →
s2=∑(x−xˉ)2n−1s^2 = \frac{\sum (x - \bar{x})^2}{n - 1}
s2s^2
sample variance
xx
each observation
xˉ\bar{x}
sample mean
nn
sample size

Use it when the data are a sample.

Sample standard deviationFormula 3-10Formula sheet →
s=∑(x−xˉ)2n−1s = \sqrt{\frac{\sum (x - \bar{x})^2}{n - 1}}
ss
sample standard deviation
xx
each observation
xˉ\bar{x}
sample mean
nn
sample size

Use it when you want the sample spread in the original units.

Worked example · Sample variance and standard deviation at Home Depot0/5

A sample of five part-time employees earns 12, 20, 16, 18, and 19 dollars per hour. Find the sample variance and the sample standard deviation.

Your turn

The hourly wages of a sample of five part-time employees are 12, 20, 16, 18, and 19 dollars. Find the sample variance (in dollars squared).

Check your understanding

Two samples have the same mean. Sample A has s=2s = 2 and sample B has s=8s = 8. Which statement is correct?

Chebyshev’s theorem and the Empirical Rule

The standard deviation is a ruler for describing how much of a distribution lies near the mean. Two rules translate standard deviations into percentages.

Chebyshev’s theorem works for any distribution, whatever its shape: the proportion of values within kk standard deviations of the mean is at least 1−1/k21 - 1/k^2, for any kk greater than 1.

kMinimum proportion within k standard deviations
21−1/4=0.751 - 1/4 = 0.75, at least 75%
31−1/9=0.8891 - 1/9 = 0.889, at least 88.9%
41−1/16=0.93751 - 1/16 = 0.9375, at least 93.8%
51−1/25=0.961 - 1/25 = 0.96, at least 96%

Dupree Paint employees contribute a mean of 51.54 dollars to a profit-sharing plan with a standard deviation of 7.51 dollars. For k=3.5k = 3.5: at least 1−1/12.25=0.91841 - 1/12.25 = 0.9184, about 92% of the contributions lie between 51.54−3.5(7.51)=25.2651.54 - 3.5(7.51) = 25.26 and 51.54+3.5(7.51)=77.8351.54 + 3.5(7.51) = 77.83 dollars.

Your turn

According to Chebyshev's theorem, at least what percent of any set of observations lies within 1.8 standard deviations of the mean? (Round to one decimal.)

The Empirical Rule is sharper, but only for a symmetrical, bell-shaped distribution: about 68% of observations lie within one standard deviation of the mean, about 95% within two, and practically all (99.7%) within three.

Interactive · Empirical Rule, mean 100, st. dev. 10μ ± 1.0σ
70809010011012013068%95%99.7%68.3%
Interval μ ± kσ
90.0 to 110.0
Bell-shaped data
≈ 68.3%
Chebyshev: at least
no guarantee

Within 1.0 standard deviation a bell curve holds about 68.3%, but Chebyshev's theorem says nothing for k ≤ 1 (1 − 1/k² is zero or negative).

University Park Apartments: rental rates are bell-shaped, mean 500 dollars, standard deviation 20 dollars. Then about 68% pay between 480 and 520, about 95% between 460 and 540, and almost all between 440 and 560. Reversed, if a bell-shaped distribution runs from 70 to 130 (a range of 60), the standard deviation is roughly range divided by 6, or 10.

Check your understanding

A bell-shaped distribution has mean 100 and standard deviation 10. Which statement is correct?

Grouped data: mean and standard deviation

When only a frequency distribution is available, each class is represented by its midpoint, MM. The result is an estimate of the mean, because individual values inside a class are unknown.

Arithmetic mean of grouped dataFormula 3-11Formula sheet →
xˉ=∑fMn\bar{x} = \frac{\sum fM}{n}
xˉ\bar{x}
grouped sample mean
ff
class frequency
MM
class midpoint
nn
total number of observations

Use it when you only have a frequency distribution.

Standard deviation of grouped dataFormula 3-12Formula sheet →
s=∑f(M−xˉ)2n−1s = \sqrt{\frac{\sum f(M - \bar{x})^2}{n - 1}}
ss
grouped sample standard deviation
ff
class frequency
MM
class midpoint
xˉ\bar{x}
grouped mean
nn
total number of observations

Use it when you estimate dispersion from a frequency distribution.

For Applewood Auto Group, 180 vehicle profits in 8 classes give ∑fM=333,200\sum fM = 333,200, so the grouped mean is 333,200/180=1,851.11333,200/180 = 1,851.11 dollars, close to the raw-data mean of 1,843.17. The grouped standard deviation is 652.33 versus 643.63 from raw data: the estimate loses a little information, but stays very close.

Your turn

Net incomes of a sample of 20 shipping companies are grouped: class 2 up to 6 has 1 company, 6 up to 10 has 4, 10 up to 14 has 10, 14 up to 18 has 3, and 18 up to 22 has 2. Estimate the standard deviation (millions of dollars, rounded to two decimals).

Check your understanding

A grouped frequency distribution reports 40 students in the class 20 up to 30. Which value is used for each of these 40 students when you estimate the mean?

Exam practice

Exam question 1

The hourly wages of five workers are 12, 15, 9, 12, and 22 dollars. Find the median wage (in dollars).

Exam question 2

A sample of five boxes shipped by UPS weighs 12, 6, 7, 3, and 10 pounds. Find the sample standard deviation (in pounds, rounded to two decimals).

Exam question 3

A student earned an A (4 points) in two 3-credit courses, a B (3 points) in a 5-credit course and a 2-credit course, and an A (4 points) in a 1-credit course. Compute the GPA (weighted mean).

Exam question 4

JetBlue revenue grew from 635.2 million dollars in 2002 to 5,817.0 million in 2014 (a 12-year period). Find the geometric mean annual increase, as a percent rounded to two decimals.

Exam question 5

A bell-shaped distribution has mean 100 and standard deviation 10. Which statement is correct?

Summary and review

Review deck · 18 cards0/18 mastered