document.write( "Question 178988: Suppose there is a test for a disease that correctly gives positive results for 95% of those having the disease, and correctly gives negative results for 90% of those who do not have the disease. Suppose also that the incidence of the disease is 1%. If a person tests positive for this disease, what is the chance that the person has the disease? Find the exact percentage. \n" ); document.write( "
Algebra.Com's Answer #134145 by kev82(151)![]() ![]() ![]() You can put this solution on YOUR website! TP = test positive \n" ); document.write( "TN = test negative \n" ); document.write( "D = diseased \n" ); document.write( "O = not diseased\r \n" ); document.write( "\n" ); document.write( "P(TP | D) = 0.95 \n" ); document.write( "P(TN | O) = 0.9 \n" ); document.write( "P(D) = 0.01\r \n" ); document.write( "\n" ); document.write( "And obviously (probabilities sum to one)\r \n" ); document.write( "\n" ); document.write( "P(TN | D) = 0.05 \n" ); document.write( "P(TP | O) = 0.1 \n" ); document.write( "P(O) = 0.99\r \n" ); document.write( "\n" ); document.write( "Want to know:\r \n" ); document.write( "\n" ); document.write( "P(D | TP)\r \n" ); document.write( "\n" ); document.write( "By definition of conditional probability\r \n" ); document.write( "\n" ); document.write( "P(D | TP) = P(D ^ TP)/P(TP)\r \n" ); document.write( "\n" ); document.write( "P(TP | D) = P(TP ^ D)/P(D)\r \n" ); document.write( "\n" ); document.write( "P(D | TP) = P(TP | D)*P(D)/P(TP)\r \n" ); document.write( "\n" ); document.write( "From set theory\r \n" ); document.write( "\n" ); document.write( "P(TP) = P(TP ^ O) + P(TP ^ D)\r \n" ); document.write( "\n" ); document.write( "Conditional probability again\r \n" ); document.write( "\n" ); document.write( "P(TP) = P(TP | O)*P(O) + P(TP | D)*P(D)\r \n" ); document.write( "\n" ); document.write( "Substitute\r \n" ); document.write( "\n" ); document.write( "P(D | TP) = P(TP | D)*P(D)/( P(TP | O)*P(O) + P(TP | D)*P(D) )\r \n" ); document.write( "\n" ); document.write( "0.95*0.01 / ( 0.1*0.99 + 0.95*0.01 ) = 19/217\r \n" ); document.write( "\n" ); document.write( "I'm pretty sure that's right, but last time I did this was 1999! \n" ); document.write( " |