document.write( "Question 1061848: A certain virus infects one in every 500 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. \r
\n" ); document.write( "\n" ); document.write( "What is the probability that a person has the virus given that they have tested positive.\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "What is the probability that a person does not have the virus given that they have tested negative.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #677148 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
Use 10000 people so 20 are ill.
\n" ); document.write( "==========T+=======T-=======Total
\n" ); document.write( "D+======18=======2=========20
\n" ); document.write( "D--======998======8982=====9980
\n" ); document.write( "Total======1016======8984==========10000
\n" ); document.write( "The table shows that of the 20 who have the disease, 18 test positive and 2 negative.
\n" ); document.write( "Of the 9980 who don't have the disease, 10% test positive and 90% negative.
\n" ); document.write( "If the person tests negative, and there are 8984 of them, there is a 8982/8984 chance they don't have the virus (99.98%)
\n" ); document.write( "If the person tests positive (1016), there is an 18/1016 chance they have the virus or 1.77%.
\n" ); document.write( "In general, there is a 0.2% chance of a randomly selected individual having the disease, and if they test positive, that has increased nearly 9-fold to 1.77%, which is still low. Because so many people don't have the disease, the fact that 10% of them test positive means that there will be a lot of false positive tests.
\n" ); document.write( "
\n" );