document.write( "Question 1189105: A test to detect cancer is not always reliable. It gives a positive result 95 % of the time if the person does have cancer, and it gives a positive result 3 % of the time that the person does not. The probability that a randomly selected person has cancer is 0.02. \r
\n" ); document.write( "\n" ); document.write( "a. Given that a test on a randomly selected person is positive, find the probability that he/she does have cancer? Ans: 0.393\r
\n" ); document.write( "\n" ); document.write( "b. Out of 5000 people on which this test is used, how many people with cancer would you expect to be correctly diagnosed? Ans: 95 people
\n" ); document.write( "

Algebra.Com's Answer #820349 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
===TP======TN======Total
\n" ); document.write( "CA+190=====10=======200
\n" ); document.write( "CA-294====9506======9800
\n" ); document.write( "total 484===95216======10000\r
\n" ); document.write( "\n" ); document.write( "I picked 1000 at random, and the table can be filled out.
\n" ); document.write( "So positive test (484),probability of cancer is 190/484=0.393
\n" ); document.write( "-
\n" ); document.write( "===TP======TN======Total
\n" ); document.write( "CA+95=====5=======. 100
\n" ); document.write( "CA-147====4753======4900
\n" ); document.write( "total 242===4758======5000
\n" ); document.write( "upper left corner shows 95 TP/Ca+
\n" ); document.write( "
\n" );