13.07.2015 Views

Mathematical Methods for Physics and Engineering - Matematica.NET

Mathematical Methods for Physics and Engineering - Matematica.NET

Mathematical Methods for Physics and Engineering - Matematica.NET

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PROBABILITY30.2.3 Bayes’ theoremIn the previous section we saw that the probability that both an event A <strong>and</strong> arelated event B will occur can be written either as Pr(A)Pr(B|A) orPr(B)Pr(A|B).Hencefrom which we obtain Bayes’ theorem,Pr(A)Pr(B|A) =Pr(B)Pr(A|B),Pr(A|B) = Pr(A) Pr(B|A). (30.26)Pr(B)This theorem clearly shows that Pr(B|A) ≠Pr(A|B), unless Pr(A) =Pr(B). It issometimes useful to rewrite Pr(B), if it is not known directly, asso that Bayes’ theorem becomesPr(B) =Pr(A)Pr(B|A)+Pr(Ā)Pr(B|Ā)Pr(A|B) =Pr(A)Pr(B|A)Pr(A)Pr(B|A) +Pr(Ā)Pr(B|Ā) . (30.27)◮Suppose that the blood test <strong>for</strong> some disease is reliable in the following sense: <strong>for</strong> peoplewho are infected with the disease the test produces a positive result in 99.99% of cases; <strong>for</strong>people not infected a positive test result is obtained in only 0.02% of cases. Furthermore,assume that in the general population one person in 10 000 people is infected. A person isselected at r<strong>and</strong>om <strong>and</strong> found to test positive <strong>for</strong> the disease. What is the probability thatthe individual is actually infected?Let A be the event that the individual is infected <strong>and</strong> B be the event that the individualtests positive <strong>for</strong> the disease. Using Bayes’ theorem the probability that a person who testspositive is actually infected isPr(A|B) =Pr(A)Pr(B|A)Pr(A)Pr(B|A) +Pr(Ā)Pr(B|Ā) .Now Pr(A) =1/10000 = 1 − Pr(Ā), <strong>and</strong> we are told that Pr(B|A) = 9999/10000 <strong>and</strong>Pr(B|Ā) =2/10000. Thus we obtain1/10000 × 9999/10000Pr(A|B) =(1/10000 × 9999/10000) + (9999/10000 × 2/10000) = 1 3 .Thus, there is only a one in three chance that a person chosen at r<strong>and</strong>om, who testspositive <strong>for</strong> the disease, is actually infected.At a first glance, this answer may seem a little surprising, but the reason <strong>for</strong> the counterintuitiveresult is that the probability that a r<strong>and</strong>omly selected person is not infected is9999/10000, which is very high. Thus, the 0.02% chance of a positive test <strong>for</strong> an uninfectedperson becomes significant. ◭1132

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!