Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

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 analysis

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Database Administration The Complete Guide To Dba Practices And Procedures

Authors: Craig S. Mullins

2nd Edition

0321822943, 978-0321822949

More Books

Students also viewed these Databases questions