Professional Documents
Culture Documents
Measures of Variability Lec 7: DR - Nesrin H. Darwesh University of Duhok-College of Dentistry
Measures of Variability Lec 7: DR - Nesrin H. Darwesh University of Duhok-College of Dentistry
Lec 7
Dr.Nesrin H. Darwesh
University of Duhok-college of dentistry
Measures of Variability (variation,
spread, scatter or dispersion around
the mean)
•Range
•Variance
•Standard deviation
Normal Distribution
x
μ
6
The X axis is divided up into deviations from the
mean. Below the shaded area is one deviation from
the mean.
0.5
0.45
0.4
0.35
0.3
0.25
0.2
0.15
0.1
0.05
0
-5 -4 -3 -2 -1 0 1 2 3 4 5
68% of values
are within 1
standard
deviation of the
The Standard mean
Deviation :
95% of values
are within 2
is a measure standard
deviations of
of how the mean
spread out
numbers are. 99.7% of values
are within 3
standard
deviations of
the mean
The properties of a normal distribution:
• It is a bell-shaped curve.
• It is symmetrical about the mean, μ. (The mean, the mode and the median all have
the same value).
• The total area under the curve is 1 (or 100%).
• 50% of the area is to the left of the mean, and 50% to the right.
• Approximately 68% of the area is within 1 standard deviation, σ, of the mean.
68%
σ σ
μ-σ μ μ+σ
The properties of a normal distribution:
• It is a bell-shaped curve.
• It is symmetrical about the mean, μ. (The mean, the mode and the median all have the same
value).
• The total area under the curve is 1 (or 100%).
• 50% of the area is to the left of the mean, and 50% to the right.
• Approximately 68% of the area is within 1 standard deviation, σ, of the mean.
• Approximately 95% of the area is within 2 standard deviations of the mean.
• Approximately 99% of the area is within 3 standard deviations of the mean.
99%
σ σ σ σ σ σ
μ - 3σ μ - 2σ μ - σ μ μ + σ μ + 2σ μ + 3σ
Data Distribution
• Data can be “distributed” (spread out) in
different ways
Why do we need to know Standard
Deviation?
• Any value is
– likely to be within 1 standard deviation of the
mean
– very likely to be within 2 standard deviations
– almost certainly within 3 standard deviations
When the mean and median are equal,
the data is symmetric
xM 14
Skewed to the left: The mean is less than the
median.
x M 15
Skewed to the right: The mean is bigger
than the median.
M x
16
Measures of central tendency (location or averages)
•Mean
•Mode
•Median
Measures of variability (variation, dispersion or scatter)
•Range
•Variance
•Standard deviation
measure of the center: sample mean x
measure of spread: sample standard deviation s
Variance: a measure of how data
points differ from the mean
But we know that the two data sets are not identical!
19
Range
The range of quantitative data is denoted R and is
given by:
R = Maximum – Minimum
20
Variance
(x ) 2
n
Mean is represented by and n is the
number of items.
Standard Deviation
s 2
(x i x) 2
n 1
Degrees of freedom (n-1) the number of values in the final
calculation of a statistic that are free to vary
s s .2
25
Standard Deviation
Find the variance.
a) Find the mean of the data.
b) Subtract the mean from each value.
c) Square each deviation of the mean.
d) Find the sum of the squares.
e) Divide the total by the number of items.
Take the square root of the variance.
Sample: 2, 4, 3, 2, 5, 2, 1, 4, 5, 2.
R
a) The range
b) the mean
The standard deviation of this sample.
xi 2 4 3 2 5 2 1 4 5 2
( xi x )
( xi x ) 2
27
Sample: 2, 4, 3, 2, 5, 2, 1, 4, 5,
2.
a) The range R 5 1 4
b) The standard deviation of this sample.
2 4 3 2 5 2 1 4 5 2 30
x 3
10 10
xi 2 4 3 2 5 2 1 4 5 2
( xi x )
( xi x ) 2
28
Sample: 2, 4, 3, 2, 5, 2, 1, 4, 5,
2.
R 5 1 4
a) The range
b) The standard deviation of this sample.
2 4 3 2 5 2 1 4 5 2 30
x 3
10 10
xi 2 4 3 2 5 2 1 4 5 2
( xi x ) -1 1 0
( xi x ) 2
29
Sample: 2, 4, 3, 2, 5, 2, 1, 4, 5,
2.
b) The standard deviation of this sample.
2 4 3 2 5 2 1 4 5 2 30
x 3
10 10
xi 2 4 3 2 5 2 1 4 5 2
( xi x ) -1 1 0 -1 2 -1 -2 1 2 -1
( xi x ) 2 1 1 0 1 4 1 4 1 4 1
30
Sample: 2, 4, 3, 2, 5, 2, 1, 4, 5,
2.
xi 2 4 3 2 5 2 1 4 5 2
( xi x ) -1 1 0 -1 2 -1 -2 1 2 -1
( xi x ) 2
1 1 0 1 4 1 4 1 4 1
s 2
(x x)
i
2
n 1
11 0 1 4 1 4 1 4 1
2
10 1
31
Sample: 2, 4, 3, 2, 5, 2, 1, 4, 5,
2.
s 2
(x x)
i
2
n 1
11 0 1 4 1 4 1 4 1
2
10 1
Standard Deviation:
s s 2
2 1.41
32
Find the variance and
standard deviation
The test scores of five students are:
92,88,80,68 and 52.
1) Find the mean: (92+88+80+68+52)/5 = 76.
2) Find the deviation from the mean:
92-76=16
88-76=12
80-76=4
68-76= -8
52-76= -24
Find the variance and standard deviation
The test scores of five students are:
92,88,80,68 and 52.
(12) 144
2
(4) 16
2
( 8) 64
2
( 24) 576
2
Find the variance and standard deviation
s
CV 100%
x
41
Coefficient of Variation
s
CV 100%
x
Example:
Calculate the coefficient of standard deviation and
coefficient of variation for the following sample data:
2, 4, 8, 6, 10, and 12.
Example
The systolic blood pressure of seven middle aged men were as
follows:
151, 124, 132, 170, 146, 124 and 113.
The mean is
x
151 124 132 170 146 124 113
7
137.14
44
Example :
45
Example
Data Deviation Deviation2
151 13.86 192.02
124 -13.14 172.73
132 -5.14 26.45
170 32.86 1079.59
146 8.86 78.45
124 -13.14 172.73
113 -24.14 582.88
Sum = 960.0 Sum = 0.00 Sum = 2304.86
x 137.14
46
Example (contd.)
x x
2
i 2304.86
i 1
2304.86
s
7 1
19.6
47
Example
The pulse rates of 10 individuals arranged in
increasing order are:
62, 64, 68, 70, 74, 74, 76, 78, 78, 80
Find the variance and standard deviation
48