For the following distribution:
| X | 1 | 2 | 3 | 4 |
| P(X) | \(\displaystyle\frac{1}{10}\) | \(\displaystyle\frac{1}{5}\) | \(\displaystyle\frac{3}{10}\) | \(\displaystyle\frac{2}{5}\) |
Var(X) is equal to:
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → 1
The variance is \(\mathrm{Var}(X) = E(X^2) - [E(X)]^2\).
\( \displaystyle E(X) = 1\times\frac{1}{10} + 2\times\frac{2}{10} + 3\times\frac{3}{10} + 4\times\frac{4}{10} \)
\( \displaystyle = \frac{1 + 4 + 9 + 16}{10} = 3 \)
\( \displaystyle E(X^2) = 1\times\frac{1}{10} + 4\times\frac{2}{10} + 9\times\frac{3}{10} + 16\times\frac{4}{10} \)
\( \displaystyle = \frac{1 + 8 + 27 + 64}{10} = 10 \)
\(\mathrm{Var}(X) = 10 - 3^2 = 1\)
Why the other options are incorrect
Option (1) 3 — Incorrect. 3 is the mean E(X), not the variance.
Option (2) 10 — Incorrect. 10 is E(X2); the square of the mean, 9, must still be subtracted.
Option (4) 7 — Incorrect. The variance is 10 − 9 = 1, not 7.