Solved on Nov 17, 2023

A virus infects 1 in 400 people. A test is positive 80% if infected and 10% if not infected. Find the probability a person has the virus given a positive test, and the probability a person doesn't have the virus given a negative test, rounded to the nearest tenth of a percent.
P(AB)=95.2%P(A \mid B) = 95.2\% P(AB)=99.8%P(A' \mid B') = 99.8\%

STEP 1

Assumptions1. The probability of a person being infected by the virus, denoted as (A)(A), is 1400\frac{1}{400}. . The probability of a person testing positive given they are infected, denoted as (BA)(B|A), is 80%80\% or 0.80.8.
3. The probability of a person testing positive given they are not infected (false positive), denoted as (BA)(B|A'), is 10%10\% or 0.10.1.
4. The probability of a person not being infected by the virus, denoted as (A)(A'), is 1(A)1 -(A).
5. We are looking for (AB)(A|B), the probability of a person being infected given they have tested positive, and (AB)(A'|B'), the probability of a person not being infected given they have tested negative.

STEP 2

First, we need to calculate (A)(A'), the probability of a person not being infected by the virus. We can do this by subtracting (A)(A) from 11.
(A)=1(A)(A') =1 -(A)

STEP 3

Now, plug in the given value for (A)(A) to calculate (A)(A').
(A)=11400(A') =1 - \frac{1}{400}

STEP 4

Calculate (A)(A').
(A)=11400=399400(A') =1 - \frac{1}{400} = \frac{399}{400}

STEP 5

Next, we need to calculate (B)(B), the total probability of a person testing positive. We can do this using the law of total probability, which states that (B)=(BA)(A)+(BA)(A)(B) =(B|A)(A) +(B|A')(A').

STEP 6

Now, plug in the given values for (BA)(B|A), (A)(A), (BA)(B|A'), and (A)(A') to calculate (B)(B).
(B)=0.81400+0.1399400(B) =0.8 \cdot \frac{1}{400} +0.1 \cdot \frac{399}{400}

STEP 7

Calculate (B)(B).
(B)=0.1400+0.1399400=40400=0.1(B) =0. \cdot \frac{1}{400} +0.1 \cdot \frac{399}{400} = \frac{40}{400} =0.1

STEP 8

Now, we can calculate (AB)(A|B), the probability of a person being infected given they have tested positive. We can do this using Bayes' theorem, which states that (AB)=(BA)(A)(B)(A|B) = \frac{(B|A)(A)}{(B)}.

STEP 9

Now, plug in the given values for (BA)(B|A), (A)(A), and (B)(B) to calculate (AB)(A|B).
(AB)=.8400.(A|B) = \frac{.8 \cdot \frac{}{400}}{.}

STEP 10

Calculate (AB)(A|B).
(AB)=0.84000.=0.002=0.2%(A|B) = \frac{0.8 \cdot \frac{}{400}}{0.} =0.002 =0.2\%

STEP 11

Next, we need to calculate (B)(B'), the total probability of a person testing negative. We can do this using the law of total probability, which states that (B)=(BA)(A)+(BA)(A)(B') =(B'|A)(A) +(B'|A')(A').

STEP 12

We know that (BA)=(BA)(B'|A) = -(B|A) and (BA)=(BA)(B'|A') = -(B|A'). So, plug in the given values for (BA)(B|A) and (BA)(B|A') to calculate (BA)(B'|A) and (BA)(B'|A').
(BA)=0.8=0.2(B'|A) = -0.8 =0.2(BA)=0.=0.9(B'|A') = -0. =0.9

STEP 13

Now, plug in the calculated values for (BA)(B'|A), (A)(A), (BA)(B'|A'), and (A)(A') to calculate (B)(B').
(B)=0.2400+0.9399400(B') =0.2 \cdot \frac{}{400} +0.9 \cdot \frac{399}{400}

STEP 14

Calculate (B)(B').
(B)=0.2400+0.9399400=0.9(B') =0.2 \cdot \frac{}{400} +0.9 \cdot \frac{399}{400} =0.9

STEP 15

Finally, we can calculate (AB)(A'|B'), the probability of a person not being infected given they have tested negative. We can do this using Bayes' theorem, which states that (AB)=(BA)(A)(B)(A'|B') = \frac{(B'|A')(A')}{(B')}.

STEP 16

Now, plug in the calculated values for (BA)(B'|A'), (A)(A'), and (B)(B') to calculate (AB)(A'|B').
(AB)=0.93994000.9(A'|B') = \frac{0.9 \cdot \frac{399}{400}}{0.9}

STEP 17

Calculate (AB)(A'|B').
(AB)=0.93994000.9=0.9975=99.75%(A'|B') = \frac{0.9 \cdot \frac{399}{400}}{0.9} =0.9975 =99.75\%So, the probability that a person has the virus given that they have tested positive is 0.2%0.2\% and the probability that a person does not have the virus given that they test negative is 99.75%99.75\%.

Was this helpful?
banner

Start learning now

Download Studdy AI Tutor now. Learn with ease and get all help you need to be successful at school.

ContactInfluencer programPolicyTerms
TwitterInstagramFacebookTikTokDiscord