document.write( "Question 1210431: 28
\n" ); document.write( "A certain virus infects one in every 600 people. A test used to detect the virus in a person is positive 90% of the time if the person has the virus and 10% of the time if the person does not have the virus. Give your answer as a decimal to 4 decimal places.
\n" ); document.write( "(a) Find the probability that a person has the virus given that they have tested positive.
\n" ); document.write( "(b) Find the probability that a person does not have the virus given that they have tested negative.
\n" ); document.write( "

Algebra.Com's Answer #852518 by math_tutor2020(3822)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Consider a town of 6000 people.
\n" ); document.write( "You can make the value larger, but the final answers will be the same regardless of what you pick. I find it's easier to work with multiples of 600.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Since the virus infects one in every 600 people, (1/600)*(6000) = 10 people will be infected with the virus while the other 6000-10 = 5990 people aren't infected.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Of the 10 people infected, the test will correctly say \"positive\" 90% of the time.
\n" ); document.write( "0.90*10 = 9 infected people test positive.
\n" ); document.write( "10-9 = 1 infected person gets a false negative.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The test incorrectly reports false positives 10% of the time, so 0.10*5990 = 599 uninfected people get a false positive.
\n" ); document.write( "The other 5990 - 599 = 5391 uninfected people get a proper negative result.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Here's a summary written in a table.
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "
Have VirusDon't Have VirusTotal
Positive9599608
Negative153915392
Total1059906000

\n" ); document.write( "I recommend using a spreadsheet.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "--------------------------------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Part (a)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"Given they have tested positive\" means we focus on the \"positive\" row.
\n" ); document.write( "Ignore everything else.
\n" ); document.write( "9 people have the virus out of 608 total.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "9/608 = 0.0148026315793 approximately
\n" ); document.write( "This rounds to 0.0148
\n" ); document.write( " \r
\n" ); document.write( "\n" ); document.write( "--------------------------------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Part (b)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This time we focus on the \"negative\" row.
\n" ); document.write( "There are 5391 people in this row who don't have the virus out of 5392 people total\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "5391/5392 = 0.999814540059 approximately
\n" ); document.write( "This rounds to 0.9998
\n" ); document.write( "
\n" ); document.write( "
\n" );