Question: Use data2.dat and treat Distraction as a nominal response variable and other variables as predictors. (a) Fit a multinomial regression with variables Level and Male.
Use data2.dat and treat Distraction as a nominal response variable and other variables as predictors. (a) Fit a multinomial regression with variables Level and Male. Whether the interaction term should be included in the model? [5 pts] (b) Based on the model in part (a), calculate the fitted counts for each combination of levels of Distraction, Level and Male (Hint: follow the gator food example) [5 pts] 4. Use data2.dat and treat Distraction as an ordinal response variable and other variables as predictors. (a) Fit a cumulative logit model with variables Level and Male. Whether the interaction term should be included in the model? (Hint: you may use the function vglm with logit link) [5 pts] (b) Based on the model in part (a), what are P(Distraction 0) for a male using level 1 and 2? [5 pts]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
