The R Markdown template for this assignment may be found by running the following code in your Console:
download.file("https://www2.stat.duke.edu/courses/Fall20/sta102/hw/hw-02-template.Rmd", destfile="hw-02.Rmd")
You must show all work to earn full credit. For answers that require numerical answers, remember that you may use R’s calculator capability if needed. Be careful with parantheses.
According to data from the Surveillance, Epidemiology, and End Results (SEER) Program of the National Cancer Institute, white men in the U.S. have about an 11% chance of being diagnosed with prostate cancer during their lives, black men have about a 16% chance, and all other (non-white and non-black) men have approximately an 8% chance.
In the U.S., approximately 73% of men are white, 13% are black, and 14% are neither black nor white.
Colorectal cancer (CRC) affects more than 1 million people each year, and has an overall poor survival rate. It is important to diagnose CRC early in order to engage in treatment to ensure best outcomes, but CRC is often asymptomatic or has mild symptoms in its earliest stages. The 5-year survival rate for stage 1 and 2 cancer is 90%, but the survival rate for stage 3 cancer is 71% and for stage 4 cancer is 14%. Thus, it is important for older adults to be regularly screened for CRC.
Traditionally, CRC is diagnosed via colonoscopy, which is an invasive technique in which an endoscope is inserted into the colon to look for evidence of cancer. Colonoscopy is considered the “gold standard” of colon cancer screening, but due to its invasive nature, is undesirable for many patients. A non-invasive screening test using stool samples was developed and is known as the Cologuard test. In a large study of 10,000 patients of average risk for CRC, Cologuard demonstrated 92% sensitivity and 94% specificity in detecting CRC (Imperiale et al., NEJM 2014) among adults aged 50-84.
Don’t forget to knit your final document, and then save it as a .pdf separately. Upload your .pdf to Gradescope, making sure to associate each question with the page(s) in your submission.