document.write( "Question 1118787: A certain disease has an incidence rate of 0.9%. If the false negative rate is 4% and the false positive rate is 2%, compute the probability that a person who tests positive actually has the disease.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #734338 by math_helper(2461)\"\" \"About 
You can put this solution on YOUR website!
Let A be the event that the disease is present in a particular person
\n" ); document.write( "Let B be the event that a person tests positive for the disease
\r
\n" ); document.write( "\n" ); document.write( "The problem asks to find P(A|B), where
\n" ); document.write( "P(A|B) = P(B|A)*P(A) / P(B) = (P(B|A)*P(A)) / (P(B|A)*P(A) + P(B|~A)*P(~A))
\r
\n" ); document.write( "\n" ); document.write( "In other words, the problem asks for the probability that a positive test result will be a true positive.
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "P(B|A) = 1-0.02 = 0.98 (person tests positive given that they have the disease)
\n" ); document.write( "P(A) = 0.009 (probability the disease is present in any particular person)
\n" ); document.write( "P(B|~A) = 0.02 (probability a person tests positive given they do not have the disease)
\n" ); document.write( "P(~A) = 1-0.009 = 0.991 (probability a particular person does not have the disease)
\r
\n" ); document.write( "\n" ); document.write( "P(A|B) = (0.98*0.009) / (0.98*0.009 + 0.02*0.991)
\n" ); document.write( " = 0.00882 / 0.02864 = 0.30796
\n" ); document.write( " which is about \"+highlight%280.31%29+\" or \"+highlight%2831%29\" % \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );