Original practice · fully worked
Original variant: reconstructing a shipment prior
A shipment arrives from either North Dock or South Dock. A scan flags 20% of North Dock shipments and 50% of South Dock shipments. Among flagged shipments, the probability of North Dock origin is 1/3. Calculate the prior probability that a shipment comes from North Dock.
- A
0.1667 - B
0.3333 - C
0.5000 - D
0.5556 - E
0.7143
Answer and calculation
Writing the unknown prior as p and applying Bayes gives 0.2p/[0.2p+0.5(1-p)]=1/3. Solving yields p=5/9, so choice D is correct.
Setup
Setup
Let p be the unknown prior probability of North Dock origin and let F denote a scan flag.
Pr(N)=p,Pr(F∣N)=0.2,Pr(F∣Nc)=0.5 Model
Model
Express the supplied posterior probability in terms of the unknown prior.
0.2p+0.5(1−p)0.2p=31 Compute
Compute
Cross-multiply and solve the resulting linear equation.
0.6p=0.2p+0.5(1−p) Answer
Answer
The North Dock prior probability is five-ninths.
95(D)