Discrete Mathematics and Its Applications, Seventh Edition

Published by McGraw-Hill Education
ISBN 10: 0073383090
ISBN 13: 978-0-07338-309-5

Chapter 7 - Section 7.3 - Bayes' Theorem - Exercises - Page 475: 7

Answer

a) 0.99948 b) 0.32423

Work Step by Step

a) Let us consider the following events: F=A person uses opium. E=A person is tested positive for opium. Observe that $P(E|F^C)=0.02$ and $P(E^C|F)=0.05$. Using Bayes' theorem, $P(F^C|E^C)=\displaystyle \frac{P(E^C|F^C).P(F^C)}{P(E^C|F^C).P(F^C)+P(E^C|F).P(F)}$ $=\displaystyle\frac{(0.98).(0.99)}{(0.98)(0.99)+(0.05).(0.01)}=0.99948$ b) $P(F|E)=\displaystyle \frac{P(E|F).P(F)}{P(E|F).P(F)+P(E|F^C).P(F^C)}$ $=\displaystyle\frac{(0.95).(0.01)}{(0.95)(0.01)+(0.02).(0.99)}=0.32423$
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.