Original practice · fully worked
Original variant: sensor warning classification
A warehouse uses two sensor models. Model R makes up 30% of installed sensors and produces a Poisson number of warning signals per week with mean 0.5. Model S makes up the remainder and has mean 2. Given that a randomly selected sensor produced exactly one warning last week, calculate the probability that it is model R.
- A
0.091 - B
0.300 - C
0.303 - D
0.324 - E
0.528
Answer and calculation
Weighting the two one-warning likelihoods by the 30% and 70% model shares gives a posterior model-R probability of 0.324407, so choice D is correct.
Setup
Setup
Let W be the weekly warning count and write the prior model shares and conditional means.
Pr(R)=0.30,Pr(S)=0.70 W∣R∼Poisson(0.5),W∣S∼Poisson(2) Model
Model
Use the one-warning mass under each model as the likelihood in Bayes' formula.
Pr(W=1∣R)=0.5e−0.5,Pr(W=1∣S)=2e−2 Pr(R∣W=1)=0.30(0.5e−0.5)+0.70(2e−2)0.30(0.5e−0.5) Compute
Compute
Evaluate the weighted likelihoods and normalize.
Pr(R,W=1)=0.0909795990… Pr(W=1)=0.0909795990…+0.1894693965…=0.2804489955… Pr(R∣W=1)=0.3244069347… Answer
Answer
The posterior probability is approximately 0.324.
Pr(R∣W=1)≈0.324(D)