Question: A similar function to our quick exercise Fraud Detection follows. In this case, a medical test has some probability of being positive if the patient

A similar function to our quick exercise "Fraud Detection" follows. In this case, a medical test has some probability of being positive if the patient has the disease (hasPos) and another probability of testing positive if the person does not have the disease (notHasPos). A random member of the entire population has a real probability of having the disease (actuallncidence). Answer the questions based on the following function. diseaseTest = function(hasPos = .8, notHasPos = .1, actuallncidence = .01) {#P(A) probability of having disease (actuallncidence) {#P(B) probability of testing positive numerator = hasPos* actuallncidence # P(BIA)*P(A) denominator = actuallncidence * hasPos + (1-actuallncidence) * notHasPos numerator/denominator What does the calculation of the denominator yield? O. The probability of testing negative. O The probability of a false positive. The probability of testing positive. O The probability of a false negative
Step by Step Solution
There are 3 Steps involved in it
The calculation of the denominator yields the probability of testing posi... View full answer
Get step-by-step solutions from verified subject matter experts
