Академический Документы
Профессиональный Документы
Культура Документы
interquartile range
coefficient of variation.
The Range
Explanation of the term range: The
range is the difference between the
largest and smallest values in the data
set.
NOTE: The explanation is true for a
sample as well as a finite population of
values.
The Range
Example: What is the range for the following
sample values?
Range = 14 (-10) = 24
The Range
Question: Why does subtracting the
smallest value from the largest value
produce a measure of spread?
The next slide shows the plot of the data
set.
Observe that the range measures the
distance between the smallest and largest
values.
This distance gives a measurement of the
spread of the data.
The Range
IQR = Q3 Q1
The Interquartile Range
The following depicts the idea of the
interquartile range.
The Interquartile Range
Example: The following scores for a
statistics 10-point quiz were reported.
What is the value of the interquartile
range?
7, 8, 9, 6, 8, 0, 9, 9, 9
0, 0, 7, 10, 9, 8, 5, 7, 9
The Interquartile Range
0, 0, 0, 5, 6, 7, 7, 7, 8, 8,
8, 9, 9, 9, 9, 9, 9, 10
The Interquartile Range
3, 8, 6, 12, 0, -4, 10
The deviations
contribute to the
total in proportion
to the size of the
deviation.
The average
distance of the
sample values
from the mean
is 4.57.
Quick Tip:
S2 = 132/(6 1)
= 132/5
= 26.4
The Variance and Standard
Deviation
In the previous example, observe that the
variance is large relative to the size of the
data values.
This can be observed from the plot which
shows that the data values are very much
spread out about the mean value of 7.
Sample Variance and Standard
Deviation
Explanation of the term sample standard
deviation: The sample standard deviation is the
positive square root of the variance.
NOTE: The standard deviation has the same
unit as the variable.
Example: The sample standard deviation for
the previous example is
Quick Tips:
2 = 132/6
= 132/6
= 22
Population Variance and Standard
Deviation
Explanation of the term population standard
deviation: The population standard deviation is
the positive square root of the variance.
NOTE: The standard deviation has the same
unit as the variable.
Example: The population standard deviation
for the previous example is
22 4.6904
The Coefficient of
Variation
The coefficient of variation (CV) allows us to
compare the variation of two (or more)
different variables.
Explanation of the term sample coefficient
of variation: The sample coefficient of
variation is defined as the sample standard
deviation divided by the sample mean of the
data set.
Usually, the result is expressed as a
percentage.
The Coefficient of
Variation
Population CV 100%
Stock A:
Average price last year = $50
Standard deviation = $5
Stock B:
Average price last year = $100
Standard deviation = $5
The Coefficient of
Variation
Explanation of the term population
coefficient of variation: the population
coefficient of variation is defined as the
population standard deviation divided by the
population mean of the data set.
NOTE: The population CV has the same
properties as the sample CV.
Sample Variance and Standard
Deviation: Alternative Formula
Expanding the original formula for sample
variance and standard deviation using
summation definition and some rules, it will
result to:
n x x n x x
2 2 2
2
s
2
s
n n 1 n n 1
Sample Variance and Standard
Deviation: Alternative Formula
Now, let us use the alternative formula using
the sample we have in the previous page and
see if the results are the same. We form
table of values. Then, we plug-in the values
of: n, sum of x and sum of x2 into the
formula.
x 3 8 6 14 0 11 x 42
x2 x
2
9 64 36 196 0 121 426
Sample Variance and Standard
Deviation: Alternative Formula
Plugging in the values into the formula, we
have:
x 42 x n6
2
426
n x x 6 426 42
2 2
2
Variance s 2
26.4
n n 1 6 6 1
n x x
2 2
N X X
2 2
Variance 2
N N
N X X
2 2
s.d .
N N
Population Variance and Standard
Deviation: Alternative Formula
Suppose the given data set below represents
population of values. Compute the standard
deviation and variance.
Again, we make table of values then get the
sum of X and X2.
X 3 8 6 14 0 11 X 42
X2 X
2
9 64 36 196 0 121 426
Population Variance and Standard
Deviation: Alternative Formula
Plugging in the values into the formula, we
have:
X 42 X 426 N 6
2
N X X 6 426 42
2 2
2
Variance 2
22
N N 6 6
N X X
2 2
s.d . 22 4.6904
N N
Sample Variance and Standard
Deviation: Grouped Data
If the data set is presented in frequency
distribution table (grouped data), the sample
variance and standard deviation can be found,
using the formula:
n fX fX
2 2
Variance s 2
where:
n n 1 X is the class mark
f frequency
n = sum of frequency
n fX fX
2 2
s.d . s
n n 1
Sample Variance and Standard
Deviation: Grouped Data
Find the sample variance and standard
deviation.
Sample Variance and Standard
Deviation: Grouped Data
Make table of values for X, fX, X2, and fX2
X f fX X2 fX2
5 3 15 25 75
15 10 150 225 2250
25 6 150 625 3750
35 4 140 1225 4900
45 2 90 2025 4050
f 25 fX 545 15,025
fX 2
Sample Variance and Standard
Deviation: Grouped Data
Substituting the following values from the
table in the previous page:
n f 25 fX 545 15,025
fX 2
25 15025 545 2
Variance s 2
131
25 25 1
n fX fX
2 2
N fX fX
2 2
Variance 2 where:
N N X is the class mark
f frequency
N - sum of frequency
N fX fX
2 2
s.d .
N N
Population Variance and Standard
Deviation: Grouped Data
Suppose the data set below represents a
population of values, find the variance and
standard deviation.
Population Variance and Standard
Deviation: Grouped Data
Make table of values for X, fX, X2, and fX2
X f fX X2 fX2
5 3 15 25 75
15 10 150 225 2250
25 6 150 625 3750
35 4 140 1225 4900
45 2 90 2025 4050
f 25 fX 545 15,025
fX 2
Population Variance and Standard
Deviation: Grouped Data
Substituting the following values from the
table in the previous page:
N f 25 fX 545 15,025
fX 2
25 15025 5452
Variance 2
125.76
25 25
N fX fX
2 2