Question
10.23 Sinking of the Titanic. In Exercises 9.27-9.32, we considered data on the passengers who survived and those who died when the oceanliner Titanic sank
10.23 Sinking of the Titanic. In Exercises 9.27-9.32, we considered
data on the passengers who survived and those who died when the
oceanliner Titanic sank on its maiden voyage in 1912. The dataset
in Titanic includes the following variables:
Age which gives the passenger's age in years
Sex which gives the passenger's sex (male or female)
Survived a binary variable, where 1 indicates the passenger survived
and 0 indicates death
SexCode which numerically codes male as 0 and female as 1
a. In Exercises 9.27-9.31, you fit separate logistic regression
models for the binary response Survived using Age and
then SexCode. Now fit a multiple logistic model using these
two predictors. Write down both the logit and probability
forms for the fitted model.
b. Comment on the effectiveness of each of the predictors in the two-predictor model.
c. According to the fitted model, estimate the probability and
odds that an 18-year-old man would survive the Titanic
sinking.
d. Repeat the calculations for an 18-year-old woman and find
the odds ratio compared to a man of the same age.
e. Redo both (b) and (c) for a man and woman of age 50.
Step 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