Original practice · fully worked
Original variant: variance of conditional scan flags
A routing controller selects operating mode A with probability 0.40 and mode B otherwise. During the next two independent checks, conditional on the selected mode, each check raises a flag with probability 0.50 in mode A and 0.25 in mode B. Let Y be the total number of flags. Calculate Var(Y).
- A
0.060 - B
0.425 - C
0.485 - D
0.700 - E
0.975
Answer and calculation
The expected conditional variance is 0.425 and the variance of the conditional means is 0.060. Their sum is 0.485, so choice C is correct.
Setup
Setup
Within either fixed mode, the two-check flag count is binomial.
E[Y∣A]=1,Var(Y∣A)=0.5 E[Y∣B]=0.5,Var(Y∣B)=0.375 Model
Model
Use the law of total variance to combine within-mode variation and between-mode variation.
Var(Y)=E[Var(Y∣M)]+Var(E[Y∣M]) Compute
Compute
First find the overall mean, then evaluate the two variance components.
E[Y]=0.4(1)+0.6(0.5)=0.7 E[Var(Y∣M)]=0.4(0.5)+0.6(0.375)=0.425 Var(E[Y∣M])=0.4(1−0.7)2+0.6(0.5−0.7)2=0.060 Var(Y)=0.425+0.060=0.485 Answer
Answer
The total flag count has variance 0.485.
0.485(C)