A random variable X takes the values 1, 2 and 3 with probabilities 1/4, 1/2 and 1/4. What is the variance of X?
A1/2
B2
C1/4
D3/2
Show answer & solution
Correct answer: A. 1/2
Solution: E(X) = 1/4 + 1 + 3/4 = 2. E(X²) = 1/4 + 2 + 9/4 = 9/2. Var(X) = E(X²) − [E(X)]² = 9/2 − 4 = 1/2.