Midterm Psych
Midterm Psych
Midterm Psych
Summary of Measures
Mean Mode
Median Range Coefficient of
Variation
Variance
Standard Deviation
2
Measures of
Variation
3
Measures of Variation
How Can We Measure Variability?
• Range
• Variance
• Standard Deviation
• Coefficient of Variation
• Chebyshev’s Theorem
• Empirical Rule (Normal)
Example for Range : Outdoor Paint
Two experimental brands of outdoor paint are
tested to see how long each will last before
fading. Six cans of each brand constitute a small
population. The results (in months) are shown.
Find the mean and range of each group.
Brand A Brand B
10 35
60 45
50 30
30 35
40 40
20 25
Bluman, Chapter 3 4
Example: Outdoor Paint
Brand A Brand B X
210
35
10 35 Brand A: N 6
60 45 R 60 10 50
50 30
30 35
X
210
35
40 40 Brand B: N 6
20 25
R 45 25 20
The average for both brands is the same, but the range
for Brand A is much greater than the range for Brand B.
2
N
•For the Sample:
ix x 2
s
2
n 1
For the Population: use N in the For the Sample : use n - 1 in
denominator. the denominator.
Standard Deviation
N
s
n 1
8
\
X
2
Months, X µ X – µ (X – µ) 2
2
n
10 35 –25 625
1750
60 35 25 625
50 35 15 225 6
30 35 –5 25 291.7
40 35 5 25
20 35 –15 225
1750
1750 6
17.1
12
13
Measures of Variation:
Variance & Standard Deviation
(Sample Theoretical Model)
• The sample variance is
X X
2
s 2
n 1
• The sample standard deviation is
X X
2
s
n 1
14
Measures of Variation:
Variance & Standard Deviation
(Sample Computational Model)
• Is mathematically equivalent to the
theoretical formula.
• Saves time when calculating by hand
• Does not use the mean
• Is more accurate when the mean has been
rounded.
15
Bluman, Chapter 3
Measures of Variation:
Variance & Standard Deviation
(Sample Computational Model)
• The sample variance is
n X X
2 2
s
2
n n 1
• The sample standard deviation is
s s 2
Example: European Auto Sales
Find the variance and standard deviation for the
amount of European auto sales for a sample of 6
years. The data are in millions of dollars.
11.2, 11.9, 12.0, 12.8, 13.4, 14.3
n X X
2 2
X X2
s
2
11.2 125.44 n n 1
11.9 141.61
6 958.94 75.6
12.0 144.00 2
12.8 163.84 s
2 s 1.28
2
s- 254.7 - 16
range = 48 s2 = 254.7 s = 16
155-218 186.5 0 0 0
219-282 250.5 5 1252.5 313,751.25
283-346 314.5 0 0 0
347-410 378.5 2 757 286,524.5
411-474 442.5 0 0 0
475-538 506.5 1 506.5 256,542.25
s = 29,696 - 172.3
24
Measures of Variation:
Coefficient of Variation
The coefficient of variation is the standard
deviation divided by the mean, expressed as
a percentage.
s
CVAR 100%
X
Use CVAR to compare standard deviations
when the units are different.
Coefficient of Variation
•Measure of Relative Variation
•Always a %
•Shows Variation Relative to Mean
•Used to Compare 2 or More Groups
•Formula (for Sample):
SD
CV 100%
X
Comparing Coefficient of Variation
Coefficient of Variation:
Stock A: CV = 10%
Stock B: CV = 5%
Example: Sales of Automobiles
The mean of the number of sales of cars over a
3-month period is 87, and the standard
deviation is 5. The mean of the commissions is
$5225, and the standard deviation is $773.
Compare the variations of the two.
5
CVar 100% 5.7% Sales
87
773
CVar 100% 14.8% Commissions
5225
22.6 26.8 31
44
Measures of Variation:
Range Rule of Thumb
The Range Rule of Thumb approximates the
standard deviation as
Range
s
4
when the distribution is unimodal and
approximately symmetric.
45
Measures of Variation:
Range Rule of Thumb
Use X 2s to approximate the lowest
value and X 2sto approximate the
highest value in a data set.
Example: X 10, Range 12
12 LOW 10 2 3 4
s 3
4 HIGH 10 2 3 16
46
Measures of Variation:
Empirical Rule (Normal)
The percentage of values from a data set that
fall within k standard deviations of the mean
in a normal (bell-shaped) distribution is
listed below.
# of standard Proportion within k standard
deviations, k deviations
1 68%
2 95%
3 99.7%
51
Measures of Variation:
Empirical Rule (Normal)
Summary of Measures
Summary of Measures
Mean Mode
Median Range Coefficient of
Variation
Variance
Standard Deviation
Summary of Measures
Summary of Measures
Mean Mode
Median Range Coefficient of
Variation
Variance
Standard Deviation
54
Measures of
Position
55
Measures of Position
• z-score
• Percentile
• Quartile
• Outlier
56
X X X
z z
s
• A z-score represents the number of standard deviations a value
is above or below the mean.
Example: Test Scores
A student scored 65 on a calculus test that had a
mean of 50 and a standard deviation of 10; she
scored 30 on a history test with a mean of 25 and
a standard deviation of 5. Compare her relative
positions on the two tests.
X X 65 50
z 1.5 Calculus
s 10
X X 30 25
z 1.0 History
s 5
She has a higher relative position in the Calculus class.
57
Example
Which of the following exam scores has a better
relative position?
a. A score of 42 on an exam with X = 39 and s = 4
42 – 39 3
z= =
4 4
b. A score of 76 on an exam with
X = 71 and s = 3
76 – 71 5
z= =
3 3
59
Percentile
# of values below X 0.5
100%
total # of values
n p
c
100
60
6 values
Percentile
# of values below X 0.5
100%
total # of values
6 0.5 A student whose
100%
10 score was 12 did
65% better than 65% of
61 the class.
Example: Test Scores
A teacher gives a 20-point test to 10 students. Find
the value corresponding to the 25 percentile.
th
n p 10 25
c 2.5 3
100 100
percentile.
62
Example
Find the percentile ranks of each weight in the data set.
The weights are in pounds.
Data: 78, 82, 86, 88, 92, 97
number of values below + 0.5
Percentile = 100%
total number of values
Data: 78, 82, 86, 88, 92, 97
0 + 0.5 th
For 78, 100% = 8 percentile
6
Measures of Position:
Quartiles and Deciles
• Deciles separate the data set into 10
equal groups. D1=P10, D4=P40
• Quartiles separate the data set into 4
equal groups. Q1=P25, Q2=MD,
Q3=P75
• The Interquartile Range, IQR = Q3 –
Q1.
Finding Data Values Corresponding to Q1, Q2, and Q3
Step 1 Arrange the data in order from lowest to highest.
Step 3 Find the median of the data values that fall below
Q2. This is the value for Q1.
Step 4 Find the median of the data values that fall above
Q2. This is the value for Q3.
Example: Quartiles
Find Q1, Q2, and Q3 for the data set.
15, 13, 6, 5, 12, 50, 22, 18
1
315
2
Q 1
4
2
2
61
Q
1 9
2
12
82
Q
3 20
2
69
70
Measures of Position:
Outliers
•An outlier is an extremely high or
low data value when compared
with the rest of the data values.
•A data value less than Q1 –
1.5(IQR) or greater than Q3 +
1.5(IQR) can be considered an
outlier.
71
72
Example 3-38: Meteorites
The number of meteorites found in 10 U.S. states
is shown. Construct a boxplot for the data.
89, 47, 164, 296, 30, 215, 138, 78, 48, 39
30, 39, 47, 48, 78, 89, 138, 164, 215, 296
Low Q1 MD Q3 High
Five-Number Summary: 30-47-83.5-164-296
47 83.5 164
30 296
73
Example
Identify the five number summary and find
the interquartile range.
8, 12, 32, 6, 27, 19, 54
Data arranged in order:
6, 8, 12, 19, 27, 32, 54
Minimum: 6
Median: 19
Maximum: 54
Q1: 8 Q3: 32
Interquartile Range: 32 – 8 = 24
Example
Use the boxplot to identify the maximum value, minimum
value, median, first quartile, third quartile, and
interquartile range.
50 55 60 65 70 75 80 85 90 95 100
Minimum: 55 Maximum: 95
Median: 70 Interquartile Range:
Q1: 65 90 – 65 = 25
Q3: 90
Information Obtained from a Boxplot
1. a. If the median is near the center of the box, the
distribution is approximately symmetric.
b. If the median falls to the left of the center of the box,
the distribution is positively skewed.
c. If the median falls to the right of the center, the
distribution is negatively skewed.
2. a. If the lines are about the same length, the
distribution is approximately symmetric.
b. If the right line is larger than the left line, the
distribution is positively skewed.
c. If the left line is larger than the right line, the
distribution is negatively skewed.
Example
9.8 8.0 13.9 4.4 3.9 21.7
15.9 3.2 11.7 24.8 34.1 17.6
USA
103,979
311,539
Exercise