Question
The British Board of Trade made an inquiry into the demographics of those who did or did not survive the Titanic sinking. For each person
The British Board of Trade made an inquiry into the demographics of those who did or did not survive the Titanic sinking. For each person on board the maiden voyage of the ocean liner, this dataset records gender (0=female, 1=male), age (0=child, 1=adult), economic status (1=first, 2= second, 3=third), and whether or not that person survived (0=no, 1= yes). The dataset is as follows, where entries in the table have the form mij/nij where mij is the number who survived and nij is the number on board the ship:
Females | Males | ||||
Class | Children | Adults | Class | Children | Adults |
First | 1/1 | 139/144 | First | 5/5 | 57/175 |
Second | 13/13 | 80/93 | Second | 11/11 | 14/168 |
Third | 14/31 | 70/165 | Third | 13/48 | 75/462 |
1. I fit a logistic Model with Gender, Class, and Age as a covariate. Use the output below to answer questions (a) - (f).
Estimate | Std. Error | Z value | Pr(>|z|) | |
(Intercept) | 1.2955 | 0.2478 | 5.23 | 0.0000 |
Male | -2.3695 | 0.1453 | -16.31 | 0.0000 |
Class 1 | 1.7664 | 0.1707 | 10.35 | 0.0000 |
Class 2 | 0.7558 | 0.1753 | 4.31 | 0.0000 |
Age | -1.0556 | 0.2427 | -4.35 | 0.0000 |
a. What are the proposed and fitted logistic regression model corresponding to the output?
b. What is probability of survival for 1st class boys (i.e., male children)?
c. What is probability of survival for 2nd class girls (i.e., female children)?
d. What is probability of survival for 3rd class girls (i.e., female children)?
e. What is the odds ratio of survival for first class, male children compared to second class, male children?
f. What is the odds ratio of survival for second class, female children compared to third class, male children?
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