Chapter03
Chapter03
Chapter 3
Slide
1
Overview
Measures of Location
• Mean, Median, Mode, and Percentiles
Measures of Variability
• Range, Variance, Standard Deviation and
Coefficient of Variation
Slide
2
Measures of Location
Slide
3
Measures of Location
Mean
Weighted Mean
If the measures are computed
Median for data from a sample,
Geometric they are called sample statistics.
Mean
Mode
If the measures are computed
Percentiles for data from a population,
Quartiles they are called population parameters.
Slide
4
Mean
Slide
5
Sample Mean x
x i
x
n
Number of
observations
in the sample
Slide
6
Population Mean m
x i
N
Number of
observations in
the population
Slide
7
Sample Mean
Slide
8
Sample Mean
x
x
i34,356
490.80
n 70
445 615 430 590 435 600 460 600 440 615
440 440 440 525 425 445 575 445 450 450
465 450 525 450 450 460 435 460 465 480
450 470 490 472 475 475 500 480 570 465
600 485 580 470 490 500 549 500 500 480
570 515 450 445 525 535 475 550 480 510
510 575 490 435 600 435 445 435 430 440
Slide
9
Weighted Mean
Slide
10
Weighted Mean
If data is from
a population,
m replaces x. Numerator:
sum of the weighted
data values
x
wx i i
w i
Denominator:
sum of the
where: weights
xi = value of observation i
wi = weight for observation i
Slide
11
Weighted Mean
Slide
12
Weighted Mean
Worker xi wi wi x i
Carpenter 21.60 520 11232.0
Electrician 28.72 230 6605.6
Laborer 11.80 410 4838.0
Painter 19.75 270 5332.5
Plumber 24.16 160 3865.6
1590 31873.7
wx i i
31873.7
20.0464 $20.05
w i 1590
Slide
14
Median
26 18 27 12 14 27 19 7 observations
12 14 18 19 26 27 27 in ascending order
Median = 19
Slide
15
Median
26 18 27 12 14 27 30 19 8 observations
12 14 18 19 26 27 27 30 in ascending order
Slide
16
Median
Slide
17
Mode
Slide
18
Mode
Slide
19
Percentiles
Slide
20
Percentiles
Slide
21
80th Percentile
Slide
23
Quartiles
Slide
24
Third Quartile
Slide
26
Measures of Variability
Slide
27
Range
Slide
28
Range
Slide
29
Interquartile Range
Slide
30
Interquartile Range
Slide
32
Variance
for a for a
sample population
Slide
33
Standard Deviation
Slide
34
Standard Deviation
s s2 2
for a for a
sample population
Slide
35
Coefficient of Variation
Slide
36
Sample Variance, Standard Deviation,
And Coefficient of Variation
Example: Apartment Rents
x
x
i34,356
490.80
n 70
425 430 430 435 435 435 435 435 440 440
440 440 440 445 445 445 445 445 450 450
450 450 450 450 450 460 460 460 465 465
465 470 470 472 475 475 475 480 480 480
480 485 490 490 490 500 500 500 500 510
510 515 525 525 525 535 549 550 570 570
575 575 580 590 600 600 600 600 615 615
Slide
37
Sample Variance, Standard Deviation,
And Coefficient of Variation
Example: Apartment Rents
• Variance
s2 i
2
(x x )
2,996.16
n 1
Slide
38
Measures of Distribution Shape,
Relative Location, and Detecting Outliers
Slide
39
Distribution Shape: Skewness
An important measure of the shape of a
distribution is called skewness.
The formula for the skewness of sample data is
3
n xi x
Skewness
(n 1)(n 2) s
Slide
40
Distribution Shape: Skewness
Symmetric (not skewed)
• Skewness is zero.
• Mean and median are equal.
.35
Skewness =
0
Relative Frequency
.30
.25
.20
.15
.10
.05
0
Slide
41
Distribution Shape: Skewness
Moderately Skewed Left
• Skewness is negative.
• Mean will usually be less than the median.
.35
Skewness = - .31
Relative Frequency
.30
.25
.20
.15
.10
.05
0
Slide
42
Distribution Shape: Skewness
Moderately Skewed Right
• Skewness is positive.
• Mean will usually be more than the median.
.35
Skewness = .31
Relative Frequency
.30
.25
.20
.15
.10
.05
0
Slide
43
Distribution Shape: Skewness
Highly Skewed Right
• Skewness is positive (often above 1.0).
• Mean will usually be more than the median.
.35
Skewness = 1.25
Relative Frequency
.30
.25
.20
.15
.10
.05
0
Slide
44
Distribution Shape: Skewness
Example: Apartment Rents
Seventy efficiency apartments were
randomly
sampled in a college town. The monthly rent
prices
425 430 430 435 435 435 435 435 440 440
for the apartments are listed below in ascending
440 440 440 445 445 445 445 445 450 450
order.
450 450 450 450 450 460 460 460 465 465
465 470 470 472 475 475 475 480 480 480
480 485 490 490 490 500 500 500 500 510
510 515 525 525 525 535 549 550 570 570
575 575 580 590 600 600 600 600 615 615
Slide
45
Distribution Shape: Skewness
Example: Apartment Rents
.30
.25
.20
.15
.10
.05
0
Slide
46
z-Scores
xi x
zi
s
Slide
47
z-Scores
Slide
48
z-Scores
425 430 430 435 435 435 435 435 440 440
440 440 440 445 445 445 445 445 450 450
450 450 450 450 450 460 460 460 465 465
465 470 470 472 475 475 475 480 480 480
480 485 490 490 490 500 500 500 500 510
510 515 525 525 525 535 549 550 570 570
575 575 580 590 600 600 600 600 615 615
Slide
49
z-Scores
Slide
50
Chebyshev’s Theorem
Slide
51
Chebyshev’s Theorem
Slide
52
Chebyshev’s Theorem
Slide
53
Empirical Rule
Slide
54
Empirical Rule
Slide
55
Empirical Rule
99.72%
95.44%
68.26%
m
x
m – 3s m – 1s m + 1s m + 3s
m – 2s m + 2s
Slide
56
Detecting Outliers
Slide
57
Detecting Outliers
Slide
58
Box Plot
Slide
59
Five-Number Summaries
and Box Plots
Slide
60
Five-Number Summary
1 Smallest Value
2 First Quartile
3 Median
4 Third Quartile
5 Largest Value
Slide
61
Five-Number Summary
Slide
62
Box Plot
Slide
63
Box Plot
Example: Apartment Rents
• A box is drawn with its ends located at the first an
third quartiles.
• A vertical line is drawn in the box at the location of
the median (second quartile).
40 42 45 47 50 52 55 57 60 62
0 5 0 5 0 5 0 5 0 5
Q1 = 445 Q3 = 525
Q2 = 475
Slide
64
Box Plot
Slide
65
Box Plot
Example: Apartment Rents
• The lower limit is located 1.5(IQR) below Q1.
Lower Limit: Q1 - 1.5(IQR) = 445 - 1.5(80) = 325
Slide
66
Box Plot
Example: Apartment Rents
• Whiskers (dashed lines) are drawn from the
ends
of the box to the smallest and largest data
values
inside the limits.
40 42 45 47 50 52 55 57 60 62
0 5 0 5 0 5 0 5 0 5
Smallest value Largest value
inside limits = 425 inside limits = 615
Slide
67