Original practice · fully worked
Original variant: tray source after unlike materials
A routing device selects tray A with probability 0.40 and tray B otherwise. Tray A contains four copper pieces and two glass pieces; tray B contains one copper piece and five glass pieces. Two pieces are drawn without replacement from the selected tray, and their materials are different. Calculate the conditional probability that tray A was selected.
- A
0.3333 - B
0.4000 - C
0.5161 - D
0.5333 - E
0.6000
Answer and calculation
The unlike-material likelihoods are 8/15 for tray A and 1/3 for tray B. Prior weighting gives contributions 16/75 and 15/75, so the posterior tray-A probability is 16/31=0.5161 and choice C.
Setup
Setup
Let D denote the observation that the two materials differ. Compute its likelihood under each tray.
Pr(D∣A)=2(64)(52)=158 Pr(D∣B)=2(61)(55)=31 Model
Model
Weight the two unlike-material likelihoods by the tray-selection probabilities.
Pr(A∩D)=0.40(158)=7516 Pr(B∩D)=0.60(31)=7515 Compute
Compute
Normalize the tray-A contribution over both possible sources of unlike materials.
Pr(A∣D)=16/75+15/7516/75 =3116=0.5161290323 Answer
Answer
The posterior tray-A probability rounds to 0.5161.
0.5161(C)