Professional Documents
Culture Documents
Range=9-1=8
4.2 Variance and Standard
Deviation
For a population with values
x1, x2, … …, xn
The center is the population mean
x i
n are
The deviations from the mean
x1 , x2 , , xn
Consider the population – Diameters of all ball bearings
produced by machine: x1, x2, … …, xn
2 population variance
( xi )2
n
mean of (x - )
2 2
n
i 1
Average squared
deviation from mean population standard deviation
2
Many calculators have a function for x
Sample variance
• For a sample of size n, the sample variance
is
n
1
s
2
n 1 i 1
( xi x ) 2
2
• Why divide by n -1? This makes s an
unbiased estimator of 2
. Unbiased means
on the average correct.
Suppose we have a large population of ball bearings with diameters =1cm
and
0.02 0.0004
2
2
Sample x s
1 0.98 0.00032
2 1.03 0.00031
3 1.01 0.00045
4 1.02 0.00052
. . .
. . .
∞ ------ --------
Mean 1.00 0.0004
( xi )2
n
If we knew we would find ˆ 2
Fact i 1
n
min ( xi m) ( xi x )
2 2
So
(xi x ) ( xi ) and
2 2 (x i x)2 would be too small for .
n
Dividing by n-1 makes s2 come out right ()on average.
Sample Standard Deviation
Variance:
( x x ) 2
s2 i
n 1
Standard Deviation:
( xi x )2
s
n 1
x1 8 x2 9 x3 4
894
x 7
3
(8 7 ) 2
(9 7 ) 2
( 4 7 ) 2
14
s
2
7
3 1 2
s Sample standard deviation
7 2.65
2) The systolic bp of a 20-yr old man is 130. Find the z-score for
his bp:
Exercise 1: The Standard Deviation (s)
26 systolic blood pressure