The variance of a sample containing the values of 2 1 and 1
The variance of a sample containing the values of -2, 1, and 1 is:
a. zero
b. 1.732
c. 2.000
d. 3.000
| ||
| ||
| ||
|
Solution
Getting the mean, X,
X = Sum(x) / n
Summing the items, Sum(x) = 0
As n = 3
Thus,
X = 0
Setting up tables,
x x - X (x - X)^2
-2 -2 4
1 1 1
1 1 1
Thus, Sum(x - X)^2 = 6
Thus, as
s^2 = Sum(x - X)^2 / (n - 1)
As n = 3
s^2 = 3 [ANSWER, D]
