Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using RStudio: data (esoph) help (esoph) (a) Plot the proportion of cases against each predictor using the size of the point to indicate the number
Using RStudio:
data (esoph) help (esoph) (a) Plot the proportion of cases against each predictor using the size of the point to indicate the number of subject as seen in Figure 2.7. Comment on the rela- tionships seen in the plots (b) Fit a binomial GLM with interactions between all three predictors. Use AIC as a criterion to select a model using the step function. Which model is selected? (c) All three factors are ordered and so special contrasts have been used appropri- ate for ordered factors involving linear, quadratic and cubic terms. Further sim plification of the model may be possible by eliminating some of these terms. Use the unclass function to convert the factors to a numerical representation and check whether the model may be simplified data (esoph) help (esoph) (a) Plot the proportion of cases against each predictor using the size of the point to indicate the number of subject as seen in Figure 2.7. Comment on the rela- tionships seen in the plots (b) Fit a binomial GLM with interactions between all three predictors. Use AIC as a criterion to select a model using the step function. Which model is selected? (c) All three factors are ordered and so special contrasts have been used appropri- ate for ordered factors involving linear, quadratic and cubic terms. Further sim plification of the model may be possible by eliminating some of these terms. Use the unclass function to convert the factors to a numerical representation and check whether the model may be simplifiedStep 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