Question: Use data3.dat. Recall that Distraction and LD are response variables. (a) Fit a log linear model including the main effects of Distraction and LD and

Use data3.dat. 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]

Please provide R codes for the above question

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!