Original practice · fully worked
Original variant: fragile-package scanner
Eight percent of packages in a shipment contain a fragile component. A scanner flags 90% of packages containing a fragile component and 12% of packages without one. Given that a package is flagged, calculate the probability that it contains a fragile component.
- A
0.0720 - B
0.1200 - C
0.3947 - D
0.6053 - E
0.9000
Answer and calculation
A fragile-and-flagged package has probability 0.08(0.90)=0.072, while the total flag probability is 0.1824. Bayes' rule gives 0.072/0.1824=0.3947 and choice C.
Setup
Setup
Let F denote a fragile component and G denote a scanner flag.
Pr(F)=0.08,Pr(G∣F)=0.90,Pr(G∣Fc)=0.12 Model
Model
Combine the two disjoint ways a package can be flagged.
Pr(G)=0.08(0.90)+0.92(0.12)=0.1824 Compute
Compute
Apply Bayes' rule to the fragile-and-flagged joint probability.
Pr(F∣G)=0.18240.08(0.90) Pr(F∣G)=0.3947368421… Answer
Answer
About 39.47% of flagged packages contain a fragile component.
0.3947(C)