document.write( "Question 1068989: I am enrolled in an online Math 125 class. I posted this question earlier in the week and never got a response, so here I am! I am just not understanding these questions. I made the tree diagram as suggested and put all the information at the bottom how I worked the problem out. It is just super confusing, and I can't seem to find anything that helps me work this problem out. Any help would be appreciated! Thanks!\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "A certain virus infects one in every 200 people. A test used to detect the virus in a person is positive 80% of the time if the person has the virus and 10% of the time if the person does not have the virus. (This 10% result is called a false positive.) Let A be the event \"the person is infected\" and B be the event \"the person tests positive\".\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "a) Find the probability that a person has the virus given that they have tested positive, i.e. find P(A|B). Round your answer to the nearest tenth of a percent and do not include a percent sign.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "b) Find the probability that a person does not have the virus given that they test negative, i.e. find P(A'|B'). Round your answer to the nearest tenth of a percent and do not include a percent sign.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " .80 Positive Test Result +\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " .005 Infected\r
\n" ); document.write( "\n" ); document.write( " .20 Negative Test Result --\r
\n" ); document.write( "\n" ); document.write( "Tested \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " .10 Positive Test Result + \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " .995 Not Infected\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " .90 Negative Test Result --\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I believe the answer that I got for part (a) was 3.8%. I didn't try part (b) since I couldn't find the correct answer for part (a).\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #684258 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
a certain virus infects one in every 200 people. A test used to detect the virus in a person is positive 80% of the time if the person has the virus and 10% of the time if the person does not have the virus. (This 10% result is called a false positive.) Let A be the event \"the person is infected\" and B be the event \"the person tests positive\".
\n" ); document.write( "P(infected) = 1/200
\n" ); document.write( "P(not infected) = 199/200
\n" ); document.write( "--------------------------------
\n" ); document.write( "P(A) = 1/200 ; P(A') = 199/200
\n" ); document.write( "-------
\n" ); document.write( "P(B|A') = 0.1
\n" ); document.write( "P(B|A) = 0.8 ; P(B'|A) = 0.2
\n" ); document.write( "P(B|A) = P(test positive | infected) = 0.80
\n" ); document.write( "P(A'|B) = P(is not infected | test positive) = 0.10
\n" ); document.write( " \r
\n" ); document.write( "\n" ); document.write( "a) Find the probability that a person has the virus given that they have tested positive, i.e. find P(A|B). Round your answer to the' nearest tenth of a percent and do not include a percent sign.
\n" ); document.write( "P(A|B) = P(B and A)/P(B) = P(B|A)*P(A)/P(B)
\n" ); document.write( "= P(B|A)P(A)/[P(B and A)+P(B and A')
\n" ); document.write( "= P(B|A)P(A)/[P(B|A)P(A)+P(B|A')P(A')]
\n" ); document.write( "= [0.8*(1/200)]/[0.8*(1/200) + 0.1*(199/200)]
\n" ); document.write( "= 0.004/[0.004+ 0.104]
\n" ); document.write( "= 0.037
\n" ); document.write( "------------------
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "--------------
\n" ); document.write( "
\n" ); document.write( "
\n" );