Due Date: Tuesday, Oct. 29, 9:30
Use R
to answer the questions below. Submit your answers in an R Markdown document along with a PDF export of the R Markdown.
Question 1
- Create the full data set (i.e., the unit of analysis is the patient) used in Charig et al (📜), and compare the success of open versus percutaneous surgery using logistic regression and contingency tables. Which surgical procedure has a higher success rate? Briefly explain.
- Compare the success rates of open versus percutaneous in the \(< 2 \text { cm}\), and \(\geq 2 \text{ cm}\) separately using logistic regression and contingency tables. Which surgical procedure has a higher success rate? Briefly explain.
- Use (a) to (b) to develop a conclusion about which surgical procedure has a higher success rate? Briefly explain.
Question 2
Statistical Society of Canada Case Study 2 (2019). The data and background are available here.
Develop answers to 1,2, and 4.
Evaluate the predictive accuarcy of the model used to calculate the adjusted measure of association between osteoarthitis and heart disease. Do you recommend using this model to prdedict heart disease for Canadians?