Original practice · fully worked
Original variant: variance after an even-code filter
A diagnostic code K takes values 1, 2, 3, and 4 with probability P(K=k)=k/10. A quality report is retained only when K is even. Given that a report is retained, calculate Var(K).
- A
0.6000 - B
0.8889 - C
1.0000 - D
3.3333 - E
12.0000
Answer and calculation
The retained values are 2 and 4 with conditional probabilities 1/3 and 2/3. Their conditional mean is 10/3 and second moment is 12, so the variance is 8/9=0.8889, choice B.
Setup
Setup
Let R be the event that the code is even and compute its probability from the two retained codes.
R={K∈{2,4}} Pr(R)=102+104=53 Model
Model
Normalize the probabilities of the two retained values.
Pr(K=2∣R)=6/102/10=31 Pr(K=4∣R)=6/104/10=32 Compute
Compute
Compute the first two conditional moments and subtract the squared mean.
E[K∣R]=2(31)+4(32)=310 E[K2∣R]=4(31)+16(32)=12 Var(K∣R)=12−(310)2=98 Answer
Answer
The conditional variance is approximately 0.8889.
0.8889(B)