Original practice · fully worked
Original variant: recover a supplier share from defect evidence
A component comes from supplier A or supplier B. Components from A are defective with probability 0.08, while those from B are defective with probability 0.02. Among all defective components, half came from supplier A. Calculate the overall proportion of components supplied by A.
- A
0.02 - B
0.08 - C
0.20 - D
0.50 - E
0.80
Answer and calculation
If p is A's prior share, the two defective joint weights are 0.08p and 0.02(1-p). A posterior share of one half makes them equal, so p=0.20 and choice C is correct.
Setup
Setup
Let p denote the unknown proportion supplied by A and let D denote a defective component.
Pr(A)=p,Pr(B)=1−p Pr(D∣A)=0.08,Pr(D∣B)=0.02 Model
Model
Express the supplied posterior probability with Bayes' formula.
Pr(A∣D)=0.08p+0.02(1−p)0.08p=21 Compute
Compute
A one-half posterior means the defective weights from the two suppliers are equal.
0.08p=0.02(1−p) 0.10p=0.02 Answer
Answer
Supplier A provides 20% of all components.
0.20(C)