Question
Recall that Distraction and LD are response variables. (a) Fit a log linear model including the main effects of Distraction and LD and the interaction
Recall that Distraction and LD are response variables. (a) Fit a log linear model including the main effects of Distraction and LD and the interaction terms between Level, Male, Night, and Wet. Could we drop the interaction term? [5 pts] (b) Start with the model in Part (a) and carry out a forward selection. [5 pts] (c) Draw the association graph for the model selected in Part (b). [5 pts] (d) Test whether Distraction and LD are conditionally independent given other variables in the model from Part (b)? [5 pts] (e) Whether the model from Part (b) is equivalent to the main effects logit model or the model with two-way interactions if treating LD as the binary response variable? Justify your answer [5 pts] (f) Is the model from Part (b) lack of fit? Justify your answer. [5 pts]
Help with r code please
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