方差為2的是( )
A.1,2,3,4,5
B.0,1,2,3,6
C.2,2,2,2,2
D.2,2,3,3,3
【答案】
分析:由方差S
2=
[(x
1-
)
2+(x
2-
)
2+…+(x
n-
)
2]公式分別計算.
解答:解:分別計算出各個選項的方差后比較.
A、
=
( 1+2+3+4+5)=3,方差s
2=
[(1-3)
2+(2-3)
2+(3-3)
2+(4-3)
2+(5-3)
2]=2,故正確;
B、
=
( 0+1+2+3+6)=2.4,方差s
2=
[(0-2.4)
2+(1-2.4)
2+(2-2.4)
2+(6-2.4)
2+(3-2.4)
2]=4.24,故錯誤;
C、
=
(2+2+2+2+2)=2,方差s
2=
[(2-2)
2+(2-2)
2+(2-2)
2+(2-2)
2+(2-2)
2]=0,故錯誤;
D、
=
(2+2+3+3+3)=2.6,方差s
2=
[(2-2.6)
2+(2-2.6)
2+(3-2.6)
2+(3-2.6)
2+(3-2.6)
2]=0.24,故錯誤.
故選A.
點評:主要考查平均數(shù)和方差的計算.記住它們的計算公式是解決此題的關(guān)鍵.方差S
2=
[(x
1-
)
2+(x
2-
)
2+…+(x
n-
)
2].