Question: a. Create a logistic regression model using Gender and Age to estimate the probability of survival. Create a plot of the estimated probability of survival
b. Create and interpret a logistic regression model using Gender, Age, and Gender*Age to estimate the probability of survival. Create a plot of the estimated probability of survival using Age as the explanatory variable and grouping the data by Gender.
c. Explain any key differences between the plots created in Parts A and B. Discuss how adding the interaction term Gender*Age impacts the model.
d. Assuming that the model in Part B is your final model, use the Hosmer-Lemeshow test to assess the model goodness-of-fit.
Step by Step Solution
3.36 Rating (165 Votes )
There are 3 Steps involved in it
a The odds ratios for the two variables are 0303 for Gender and 0966 for Age This tells us that if a subject was male their odds of survival decrease ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
614-M-S-L-R (5372).docx
120 KBs Word File
