Question: Please use R for this question This homework assignment will involve analysis of the bacteria dataset from the MASS package. Please read the help file

Please use R for this question

Please use R for this question This homework assignment will involve analysis

This homework assignment will involve analysis of the bacteria dataset from the MASS package. Please read the help file to become familiar with the dataset. 1. Fit a generalized linear model for the presence of an infection with additive effects for treatment (ap) and week and interpret the results. (note: we arent using variable trt because it is derived from variables we will use). 2. Now include interaction terms between (ap and week) and comment if they are helpful. 3. Add the measure of compliance hilo to the model of (1) and comment on the results

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!