a. Create a logistic regression model using Gender and Age to estimate the probability of survival. Create

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 using Age as the explanatory variable and grouping the data by Gender. Use the plot and the model to interpret the coefficients in terms of the odds ratios.
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.
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: