Learn / Library / Statistics
Next part defective
A machine is either in a good state, with defect probability per part, or in a worn state, with defect probability per part, and parts are independent given the state. The prior probabilities are for good and for worn. You inspect parts and find that exactly is defective. What is the probability that the next part is defective?
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
Update the state probabilities first, then average the defect rate over them.
Solution
- The chance of exactly defect in parts is when good and when worn.
- The weights are and , so the posterior is good and worn.
- The next part is defective with probability .
Answer: