A random variable X has the following probability distribution:
| X | 0 | 1 | 2 | 3 |
| P(X) | 0.1 | 0.2 | 0.3 | 0.4 |
The variance of the X will be:
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → 1
The variance is \(\mathrm{Var}(X) = E(X^2) - [E(X)]^2\).
\(E(X) = 0(0.1) + 1(0.2) + 2(0.3) + 3(0.4)\)
\(E(X) = 0 + 0.2 + 0.6 + 1.2 = 2\)
\(E(X^2) = 0(0.1) + 1(0.2) + 4(0.3) + 9(0.4)\)
\(E(X^2) = 0 + 0.2 + 1.2 + 3.6 = 5\)
\(\mathrm{Var}(X) = 5 - 2^2 = 1\)