document.write( "Question 1197221: A truth serum given to a suspect is known to be 90 % reliable when the person is guilty and 99 % reliable when the person is innocent. If the suspect was selected from a group of suspects of which only 5% have ever committed a crime, and the serum indicates that he is guilty, what is the probability that he is innocent? \n" ); document.write( "
Algebra.Com's Answer #830400 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Think of an infection rates problem such as this one
\n" ); document.write( "https://www.algebra.com/algebra/homework/Permutations/Permutations.faq.question.1196062.html
\n" ); document.write( "I'll be following the same type of outline but with a few slight modifications.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "positive test = serum indicates the person is guilty
\n" ); document.write( "negative test = serum indicates the person is innocent\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Consider a town of 10,000 people.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "5% of this town has committed a crime
\n" ); document.write( "5% of 10,000 = 0.05*10,000 = 500 people committed a crime\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Of the 500 people who committed a crime, the truth serum will return a guilty verdict correctly 90% of the time
\n" ); document.write( "90% of 500 = 0.90*500 = 450 people test positive
\n" ); document.write( "We consider this the true positives.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The remaining 500-450 = 50 people who committed a crime get \"not guilty\" verdicts incorrectly. These are false negatives.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Since this town has 10,000 people and 500 committed a crime, that leaves 10,000-500 = 9500 people who didn't commit a crime.
\n" ); document.write( "The test is 99% reliable when the person is innocent.
\n" ); document.write( "Meaning 0.99*9500 = 9405 truly innocent people will get a correct \"not guilty\" verdict. These are the true negatives.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The remaining 9500-9405 = 95 people get a false positive. The serum says guilty, but the person is actually innocent.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Here's a chart to help remember the various terms discussed.\n" ); document.write( "\n" ); document.write( "
Positive TestNegative Test
CrimeTrue positiveFalse negative
No CrimeFalse positiveTrue negative
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "And here's the chart of values for this specific problem. Each value was calculated in previous paragraphs.\n" ); document.write( "\n" ); document.write( "
Positive TestNegative TestTotal
Crime45050500
No Crime9594059500
Total545945510,000
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "With all that set up in mind, we're then asked this question:
\n" ); document.write( "\"If the suspect was selected from a group of suspects of which only 5% have ever committed a crime, and the serum indicates that he is guilty, what is the probability that he is innocent?\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "In other words, we're given the serum states \"guilty\".
\n" ); document.write( "So we can narrow our focus on just the \"positive test\" cases only.
\n" ); document.write( "There are 450 correct guilty verdicts (true positive) and 95 incorrect guilty verdicts (false positive)
\n" ); document.write( "450+95 = 545 guilty verdicts in all\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The probability of the person being innocent is 95/545 = 0.1743 = 17.43% approximately\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Round the decimal and percentage values however your teacher instructs.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Side note: The fraction 95/545 fully reduces to 19/109
\n" ); document.write( "

\n" ); document.write( "
\n" ); document.write( "
\n" );