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

Contents Resources 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 (actualincidence). 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* actualincidence # P(BIA)*P(A) denominator = actuallncidence * hasPos + (1-actuallncidence) * notHasPos numerator/denominator New data implies that the probability of false positives is 0.05, the probability of true positives is .90, and the actual population has an incidence of the disease of 0 What is a correct way to call the function in light of the new probabilities? O diseaseTest(0.05, 0.90, 0.008) A new function must be constructed. O diseaseTest(actualincidence = 0.008) O diseaseTest(0.90, 0.05, actualincidence = 0.008)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
