Lecture 6
Lecture 6
Measures of Variation
Always Learning © 2023 Pearson Education Ltd. All Rights Reserved. Slide 1
This section presents three important measures of
variation: range, standard deviation, and
variance.
.
Always Learning © 2023 Pearson Education Ltd. All Rights Reserved. Slide 2
Range
Always Learning © 2023 Pearson Education Ltd. All Rights Reserved. Slide 3
Important Property of Range
Always Learning © 2023 Pearson Education Ltd. All Rights Reserved. Slide 4
Example: Range
Listed below are the first measured values of
cotinine (4ng/ml) from Smokers listed in Table
3- 1. Determine the range.
362 210 00 520 360
Solution
Range = (maximum value) − (minimum value)
= 520 − 210 = 310.0 ng/ml
The range of 310.0 ng/ml is shown with one
more decimal place than is present in the
original data values.
Always Learning © 2023 Pearson Education Ltd. All Rights Reserved. Slide 5
Standard Deviation of a Sample)
Standard Deviation
The standard deviation of a set of sample values,
denoted by s, is a measure of how much data
values deviate away from the mean.
Notation
s = sample standard deviation
σ = population standard deviation
Always Learning © 2023 Pearson Education Ltd. All Rights Reserved. Slide 6
Standard Deviation of a Sample
Standard Deviation
σ(𝑥 − 𝑥)ҧ 2
𝑠=
𝑛−1
𝑛(σ 𝑥 2 ) − (σ 𝑥)2
𝑠=
𝑛(𝑛 − 1)
Always Learning © 2023 Pearson Education Ltd. All Rights Reserved. Slide 7
Important Properties of Standard Deviation
Always Learning © 2023 Pearson Education Ltd. All Rights Reserved. Slide 8
4. The standard deviation s can increase
dramatically with one or more outliers.
5. The units of the standard deviation s (such as
minutes, feet, pounds) are the same as the units
of the original data values.
6. The sample standard deviation s is a biased
estimator of the population standard deviation
σ, which means that values of the sample
standard deviation s do not center around the
value of σ.
Always Learning © 2023 Pearson Education Ltd. All Rights Reserved. Slide 9
Example: Calculating Standard Deviation
Always Learning © 2023 Pearson Education Ltd. All Rights Reserved. Slide 10
Step 2: Subtract the mean from each data value
(𝑥 − 𝑥)ҧ
Always Learning © 2023 Pearson Education Ltd. All Rights Reserved. Slide 11
σ(𝑥 − 𝑥)ҧ 2 49,163.20
Step 5: Divide sum by n – 1 = = 12,290.8
𝑛−1 4
σ(𝑥 − 𝑥)ҧ 2
𝑠= = 12,290.8 = 110.86388
𝑛−1
s = 110.9 ng/ml
Always Learning © 2023 Pearson Education Ltd. All Rights Reserved. Slide 12
Standard Deviation of a Population
σ(𝑥 − 𝜇)2
Population standard deviation
𝜎=
𝑁
Always Learning © 2023 Pearson Education Ltd. All Rights Reserved. Slide 13
Variance of a Sample and a Population
Variance
The variance of a set of values is a measure
of variation equal to the square of the
standard deviation.
Sample variance: s² = square of the standard
deviation s.
Population variance: σ² = square of the
population standard deviation σ.
Always Learning © 2023 Pearson Education Ltd. All Rights Reserved. Slide 14
Notation Summary
s = sample standard deviation
s² = sample variance
σ = population standard deviation
σ² = population variance
Always Learning © 2023 Pearson Education Ltd. All Rights Reserved. Slide 15
Important Properties of Variance
The units of the variance are the squares of the units
of the original data values.
The value of the variance can increase
dramatically with the inclusion of outliers. (The
variance is not resistant.)
The value of the variance is never negative. It is zero
only when all of the data values are the same
number.
The sample variance s² is an unbiased estimator of
the population variance σ².
Always Learning © 2023 Pearson Education Ltd. All Rights Reserved. Slide 16
Comparing Variation in Different Samples or Populations
Coefficient of Variation
The coefficient of variation (or CV) for a set of
nonnegative sample or population data,
expressed as a percent, describes the standard
deviation relative to the mean, and is given by
the following:
Sample Population
𝑠 𝜎
𝐶𝑉 = ∙ 100 𝐶𝑉 = ∙ 100
𝑥ҧ 𝜇
Always Learning © 2023 Pearson Education Ltd. All Rights Reserved. Slide 17