Original practice · fully worked
Original variant: infer a monitoring mode
A security monitor uses strict mode on 30% of sessions and relaxed mode on 70%. Conditional on strict mode, each of two independent rules triggers with probability 0.80; under relaxed mode, each triggers with probability 0.40. Exactly one rule triggers during a session. Calculate the probability that strict mode was used.
- A
0.0960 - B
0.2222 - C
0.3000 - D
0.3360 - E
0.7778
Answer and calculation
The exactly-one-trigger likelihood is 0.32 in strict mode and 0.48 in relaxed mode. Weighting by the mode priors gives equal-scale masses 0.096 and 0.336, so the strict posterior is 2/9=0.2222 and choice B.
Setup
Setup
Let E be the observation that exactly one of the two rules triggers.
Pr(S)=0.30,Pr(R)=0.70 Model
Model
For two independent equal-probability rules, exactly one trigger has probability 2p(1-p) under either mode.
Pr(E∣S)=2(0.80)(0.20)=0.32 Pr(E∣R)=2(0.40)(0.60)=0.48 Compute
Compute
Weight the likelihoods by their mode priors and normalize the strict-mode mass.
Pr(S∩E)=0.30(0.32)=0.096 Pr(R∩E)=0.70(0.48)=0.336 Pr(S∣E)=0.096+0.3360.096=92=0.2222222222 Answer
Answer
The posterior probability of strict mode is about 0.2222.
0.2222(B)