document.write( "Question 1191803: A certain disease has an incidence rate of 0.9%. If the false negative rate is 4% and the false positive rate is 5%, compute the probability that a person who tests positive actually has the disease. \n" ); document.write( "
Algebra.Com's Answer #823662 by math_tutor2020(3817) ![]() You can put this solution on YOUR website! \n" ); document.write( "Edit: ikleyn is using the wrong numbers in her solution. The 1-0.05 = 0.95 is NOT the true positive rate. The true positive rate is 1 - 0.04 = 0.96 = 96% \n" ); document.write( "The false negative rate is indeed relevant. \r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Edit2: Her solution has been fixed. Thank you ikleyn.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "D = person has the disease \n" ); document.write( "~D = person does not have the disease \n" ); document.write( "P(D) = 0.009 \n" ); document.write( "P(~D) = 1-P(D) = 1 - 0.009 = 0.991\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Terms to know:
\n" ); document.write( "~T = person tests negative \n" ); document.write( "False negative rate = 4% = 0.04 \n" ); document.write( "P(~T given D) = 0.04 \n" ); document.write( "Its complementary event is \n" ); document.write( "P(T given D) = 1 - P(~T given D) = 1 - 0.04 = 0.96\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "False positive rate = 5% = 0.05 \n" ); document.write( "P(T given ~D) = 0.05 \n" ); document.write( "Its complementary event is \n" ); document.write( "P(~T given ~D) = 1 - P(T given ~D) = 1 - 0.05 = 0.95\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "--------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Summary so far: \n" ); document.write( "P(D) = 0.009 = incidence rate \n" ); document.write( "P(~D) = 0.991 \n" ); document.write( "P(~T given D) = 0.04 = false negative rate \n" ); document.write( "P(T given D) = 0.96 = true positive rate \n" ); document.write( "P(T given ~D) = 0.05 = false positive rate \n" ); document.write( "P(~T given ~D) = 0.95 = true negative rate\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Let's compute the probability of testing positive \n" ); document.write( "Use the law of total probability \n" ); document.write( "P(T) = P(T and D) + P(T and ~D) \n" ); document.write( "P(T) = P(T given D)*P(D) + P(T given ~D)*P(~D) \n" ); document.write( "P(T) = 0.96*0.009 + 0.05*0.991 \n" ); document.write( "P(T) = 0.05819\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Now we can use Bayes Theorem to get the following. \n" ); document.write( "P(D given T) = probability person has disease given they tested positive \n" ); document.write( "P(D given T) = P(T given D)*P(D)/P(T) \n" ); document.write( "P(D given T) = 0.96*0.009/0.05819 \n" ); document.write( "P(D given T) = 0.14847912012373 \n" ); document.write( "P(D given T) = 0.1485 \n" ); document.write( "You may be asking yourself \"why is this value so low?\" \n" ); document.write( "It's not a typo or a mistake that we got something this small. \n" ); document.write( "The reason why is because the disease incidence rate (0.9% = 0.009) is very small. \n" ); document.write( "The more rare the disease, the lower the P(D given T) value will get. \n" ); document.write( "This makes sense because the person is more likely to be clear of the disease even if the test says \"positive\" because the incidence rate is so low. \n" ); document.write( "In cases like this, it might be recommended to do a second medical test or perhaps an alternative test all together.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "-------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "We can create a table like this to help get a better understanding of everything \n" ); document.write( "
\n" ); document.write( "I'm considering a hypothetical city of 100,000 people \n" ); document.write( "0.9% has the disease so 0.009*100,000 = 900 people have the disease and 100,000-900 = 99,100 do not. \n" ); document.write( "Of the 900 people who have the disease, 4% of the tests say \"negative\" and claims the person doesn't have the disease when it should say \"positive\". \n" ); document.write( "4% of 900 = 0.04*900 = 36 people get false negative results. 900-36 = 864 people get true positive results, i.e correct positive results.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "That fills up the first row of the table. \n" ); document.write( "The second row has 99,100 people who don't have the disease. \n" ); document.write( "5% of this sub-population will get a false positive unfortunately \n" ); document.write( "5% of 99,100 = 0.05*99100 = 4955 \n" ); document.write( "Thankfully, the remaining 99,100 - 4,955 = 94,145 people get true negative tests.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "To fill out the rest of the table, add up the items in each separate column \n" ); document.write( "column1: 864 + 4,955 = 5,819 \n" ); document.write( "column2: 36 + 94,145 = 94,181 \n" ); document.write( "These sums are the totals for those who tested positive and negative in that order.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The table shows that 5,819 people tested positive. Of those who tested positive, 864 actually have the disease. \n" ); document.write( "864/5819 = 0.1485 approximately \n" ); document.write( "So this is one way to use an example to create a hypothetical population and help back up the results of the previous section. \n" ); document.write( "You can change the \"100,000\" to any large number of your choice.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "--------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Answer: Approximately 0.1485 \n" ); document.write( " \n" ); document.write( " |