Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please Use R Programming where necessary Please Use R Programming where necessary Please Use R Programming where necessary Please Use R Programming where necessary. Please
Please Use R Programming where necessary Please Use R Programming where necessary Please Use R Programming where necessary Please Use R Programming where necessary.
Please share the code and output
Exercise 1. The data below are from a case control study to assess the association between MI and coffee drinking. Smoking is known to be associated with coffee drinking and MI and it is a possible confounder. Use the data to fit the following models: 1. The model describing the crude association between MI and coffee drinking; 2. The model describing the association between MI and coffee drinking adjusted by smoking; 3. The model describing the association between MI and coffee drinking that interacts with smoking; 4. Describe monitors of the convergence. 5. Reports measure of the association for each model. 6. Test the null hypothesis that there is no interaction between coffee drinking and smoking versus the alternative hypothesis that there is an interaction. 7. Test the null hypothesis that there is no association between coffee drinking and MI after you adjust for smoking. 8. Which model do you think provides the best result? What are the conclusions from your analysisStep by Step Solution
There are 3 Steps involved in it
Step: 1

Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2

Step: 3

Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started