Score Frequency 20 2 19 1 18 4 17 6 16 7 15 10 14 15 13 9 12 6 11 2 10 1 9 2 8 1 7 0
Score Frequency 20 2 19 1 18 4 17 6 16 7 15 10 14 15 13 9 12 6 11 2 10 1 9 2 8 1 7 0
1. You are given the following test scores for a Math quiz.
Score Frequency
20 2
19 1
18 4
17 6
16 7
15 10
14 15
13 9
12 6
11 2
10 1
9 2
8 1
7 0
Calculate the variance and the standard deviation for the above distribution or indicate why
they cannot be calculated. (2 pts)
20 2 40 400 800
19 1 19 361 361
18 4 72 324 1296
HW2 1
13 9 117 169 1521
12 6 72 144 864
11 2 22 121 242
10 1 10 100 100
9 2 18 81 162
8 1 8 64 64
7 0 0 49 0
Mean = 40+19+72+102+112+150+210+117+72+22+10+18+8
2+1+4+6+7+10+15+9+6+2+1+2+1
952
66 ( )
=
分
Var = s2 = 800+361+1296+1734+1792+2250+2940+1521+864+242+100+162+64
66
− ( 952
66
)2
14126 952 2
= 66 − ( 66 ) ≈ 6.0( ^2)
分
s= 6.0 ≈ 2.4( )
分
2. The following distribution of “happiness scores” was obtained from a sample of married
women.
0-2 4
3-5 8
6-8 10
9-11 12
12-14 25
15-17 32
18-20 6
21-23 2
24 and over 0
Calculate the standard deviation and the variance for the above distribution or indicate why
they cannot be calculated. (2 pts)
Happiness Number of
x xf x^2 (x^2)f
Score Wives
HW2 2
0-2 4 1 4 1 4
3-5 8 4 32 16 128
6-8 10 7 70 49 490
24 and over 0 0
Var = s2 = 4+128+490+1200+4225+8192+2166+968
4+8+10+12+25+32+6+2+0
− ( 4+32+70+120+325+512+114+44
4+8+10+12+25+32+6+2+0 )
2
= 17373
99
− 1221 2
分
( 99 ) ≈ 23.4 ( ^2)
s= 23.4 ≈ 4.8( )
分
HW2 3