Statistics and Probability with Applications for Engineers and Scientists Using MINITAB, R and JMP. Bhisham C. Gupta
Чтение книги онлайн.
Читать онлайн книгу Statistics and Probability with Applications for Engineers and Scientists Using MINITAB, R and JMP - Bhisham C. Gupta страница 67
Example 3.6.1 (Bayes's theorem in action) The Gimmick TV model A uses a printed circuit, and the company has a routine method for diagnosing defects in the circuitry when a set fails. Over the years, the experience with this routine diagnostic method yields the following pertinent information: the probability that a set that fails due to printed circuit defects (PCD) is correctly diagnosed as failing because of PCD is 80%. The probability that a set that fails due to causes other than PCD has been diagnosed incorrectly as failing because of PCD is 30%. Experience with printed circuits further shows that about 25% of all model A failures are due to PCD. Find the probability that the model A set's failure is due to PCD, given that it has been diagnosed as being due to PCD.
Solution: To answer this question, we use Bayes's theorem (3.6.3) to find the posterior probability of a set's failure being due to PCD, after observing that the failure is diagnosed as being due to a faulty PCD. We let
F = event, set fails due to PCD
E = event, set failure is diagnosed as being due to PCD
and we wish to determine the posterior probability
We are given that
Notice that in light of the event E having occurred, the probability of F has changed from the prior probability of 25% to the posterior probability of 47.1%.
Formula (3.6.3) can be generalized to more complicated situations. Indeed Bayes stated his theorem for the more general situation, which appears below.
Figure 3.6.2 Venn diagram showing
mutually exclusive events in S. Theorem 3.6.1 (Bayes's theorem) Suppose that
(3.6.4)
We note that (3.6.3) is a special case of (3.6.4), with
Example 3.6.2 (Applying Bayes's theorem) David, Kevin, and Anita are three doctors in a clinic. Dr. David sees 40% of the patients, Dr. Anita sees 25% of the patients, and 35% of the patients are seen by Dr. Kevin. Further 10% of Dr. David's patients are on Medicare, while 15% of Dr. Anita's and 20% of Dr. Kevin's patients are on Medicare. It is found that a randomly selected patient is a Medicare patient. Find the probability that he/she is Dr. Kevin's patient.
Solution: Let
= Person is Dr. Kevin's patient
= Person is a Medicare patient
and let
= Person is Dr. Anita's patient
= Person is Dr. David's patient
We are given that