Original practice · fully worked
Original variant: production line given either alarm
Twenty percent of components come from a high-heat line and the rest from a low-heat line. Conditional on the line, pressure and vibration alarms are independent. Their trigger probabilities are 0.50 and 0.40 on the high-heat line, and 0.10 and 0.20 on the low-heat line. A component triggered at least one alarm. Determine the probability it came from the high-heat line.
- A
0.2000 - B
0.2800 - C
0.3500 - D
0.3846 - E
0.7000
Answer and calculation
At least one alarm occurs with probability 0.70 on the high-heat line and 0.28 on the low-heat line. Bayes' rule gives 0.20(0.70)/[0.20(0.70)+0.80(0.28)]=0.3846, choice D.
Setup
Setup
Let H denote the high-heat line and A denote at least one alarm.
Pr(H)=0.20,Pr(Hc)=0.80 Model
Model
Within each line, use conditional independence to complement the probability that neither alarm triggers.
Pr(A∣H)=1−(0.50)(0.60)=0.70 Pr(A∣Hc)=1−(0.90)(0.80)=0.28 Compute
Compute
Weight the alarm probabilities by the line shares and normalize.
Pr(H∣A)=0.20(0.70)+0.80(0.28)0.20(0.70) Pr(H∣A)=0.3640.14=0.3846154 Answer
Answer
The posterior high-heat probability is about 0.3846.
0.3846(D)