Original practice · fully worked
Original variant: source crate after two silver samples
A quality inspector selects crate A with probability 0.40 and crate B with probability 0.60. Crate A contains three silver and one black component; crate B contains two silver and two black components. Two components are drawn without replacement from the selected crate and both are silver. Calculate the conditional probability that crate A was selected.
- A
0.100 - B
0.200 - C
0.400 - D
0.600 - E
0.667
Answer and calculation
The prior-weighted probabilities of drawing two silver components are 0.20 for crate A and 0.10 for crate B. Crate A therefore supplies two thirds of all such draws, choice E.
Setup
Setup
Calculate the probability of two silver components under each crate.
Pr(SS∣A)=4332=21 Pr(SS∣B)=4231=61 Model
Model
Weight each likelihood by its crate-selection probability.
Pr(A∩SS)=0.40(21)=0.20 Pr(B∩SS)=0.60(61)=0.10 Compute
Compute
Normalize crate A's contribution by the total evidence probability.
Pr(A∣SS)=0.20+0.100.20=32=0.6666666667 Answer
Answer
The posterior probability of crate A is two thirds.
0.667(E)