a. Create a logistic regression model using Gender and Age to estimate the probability of survival. Create
Question:
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
Practicing Statistics Guided Investigations For The Second Course
ISBN: 9780321586018
1st Edition
Authors: Shonda Kuiper, Jeff Sklar
Question Posted: