Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Suppose that a test for opium use has a 2% false positive rate and a 5% false negative rate. That is, 2% of people who do not use opium test positive for opium, and 5% of opium users test negative for opium. Furthermore, suppose that 1% of people actually use opium.

a)Find the probability that someone who tests negative for opium use does not use opium.

b) Find the probability that someone who tests positive for opium use actually uses opium.

Short Answer

Expert verified

Answer

a) The probability that someone who tests negative for opium use does not use opium is\(0.9995\)

b) The probability that someone who tests positive for opium use actually uses opium is 0.3242

Step by step solution

Achieve better grades quicker with Premium

  • Unlimited AI interaction
  • Study offline
  • Say goodbye to ads
  • Export flashcards

Over 22 million students worldwide already upgrade their learning with Vaia!

01

Step-1 Given Information

Let,

A: use opium

B: test positive

\(\begin{array}{l}P(B|\overline A ) = 0.02\\P(\overline B |A) = 0.05\\P(A) = 0.01\end{array}\)

02

Step-2 Definition and Formula

A: use opium

B: test positive

\(P(\overline A |\overline B ) = \frac{{P(\overline B |\overline A )*P(\overline A )}}{{P(\overline B |\overline A )*P(\overline A ) + P(\overline B |A)*P(A)}}\)

03

Step-3 Calculate Probability

\(P(\overline A |\overline B ) = \frac{{P(\overline B |\overline A )*P(\overline A )}}{{P(\overline B |\overline A )*P(\overline A ) + P(\overline B |A)*P(A)}}\)

\(\begin{array}{l} = \frac{{(1 - 0.02)(1 - 0.01)}}{{(1 - 0.02)(1 - 0.01) + (0.05)(0.01)}}\\ = 0.9995\end{array}\)

Hence,

The probability that someone who tests negative for opium use does not use opium is\(0.9995\)

\(P(A|B) = \frac{{P(B|A)*P(A)}}{{P(B|A)*P(A) + P(B|\overline A )*P(\overline A )}}\)

\(\begin{array}{l} = \frac{{(1 - 0.05)(0.01)}}{{(1 - 0.05)(0.01) + (0.02)(1 - 0.01)}}\\ = 0.3242\end{array}\)

Hence,

The probability that someone who tests positive for opium use actually uses opium is\(0.3242\)

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Question: Prove Theorem \(2\), the extended form of Bayesโ€™ theorem. That is, suppose that \(E\) is an event from a sample space \(S\) and that \({F_1},{F_2},...,{F_n}\) are mutually exclusive events such that \(\bigcup\nolimits_{i = 1}^n {{F_i} = S} \). Assume that \(p\left( E \right) \ne 0\) and \(p\left( {{F_i}} \right) \ne 0\) for \(i = 1,2,...,n\). Show that

\(p\left( {{F_j}\left| E \right.} \right) = \frac{{p\left( {E\left| {{F_j}} \right.} \right)p\left( {{F_j}} \right)}}{{\sum\nolimits_{i = 1}^n {p\left( {E\left| {{F_i}} \right.} \right)p\left( {{F_i}} \right)} }}\)

(Hint: use the fact that \(E = \bigcup\nolimits_{i = 1}^n {\left( {E \cap {F_i}} \right)} \).)

Question: What is the probability that a fair die comes up six when it is rolled?

Question: Suppose that a Bayesian spam filter is trained on a set of 1000 spam messages and 400 messages that are not spam. The word โ€œopportunityโ€ appears in 175 spam messages and 2 messages that are not spam. Would an incoming message be rejected as spam if it contains the word โ€œopportunityโ€ and the threshold for rejecting a message is 0.9?

Suppose that 8% of all bicycle racers use steroids, that a bicyclist who uses steroids tests positive for steroids 96% of the time, and that a bicyclist who does not use steroids tests positive for steroids 9% of the time. What is the probability that a randomly selected bicyclist who tests positive for steroids actually uses steroids?

Question: A space probe near Neptune communicates with Earth using bit strings. Suppose that in its transmissions it sends a 1 one-third of the time and a 0 two-thirds of the time. When a 0 is sent, the probability that it is received correctly is 0.9, and the probability that it is received incorrectly (as a 1) is 0.1. When a 1 is sent, the probability that it is received correctly is 0.8, and the probability that it is received incorrectly (as a 0) is 0.2

a) Find the probability that a 0 is received.

b) Use Hayes theorem to find the probability that a 0 was transmitted, given that a 0 was received.

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free