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
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