Question: Please use the R code to solve and provide the R code 8. A study of 5000 adults with known status for a type of
Please use the R code to solve and provide the R code

8. A study of 5000 adults with known status for a type of cancer were screened using a newly developed cancer screening test. A positive result indicates that the test determined that the person has this type of cancer. Use the contingency table to answer the questions on the next page. Test Result No Cancer Positive 852 3 348 3777 a. If a random participant in this study is selected, what is the probability that he or she tests negative for Cancer? i. 0.23 ii. 0.49 iv. 0.76 iii. 0.52 b. If a random participant in this study is selected, what is the probability that he or she tests positive and does NOT have cancer? i. 0.7554 ii. 0.237 iii. 0.1378 iv. 0.0696 c. Estimate the specificity of the test. i. 0.916 ii. 0.710 iii. 0.084 iv. 0.974 d. Estimate the sensitivity of the test. i. 0.916 ii. 0.710 iii. 0.084 iv. 0.974
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
