Question: is the probability that a certain passenger survives given their attributes and . 1 is a dummy variable that takes the value 1 if a

is the probability that a certain passenger survives given their attributes and . 1 is a dummy variable that takes the value 1 if a passenger was 2nd class. . T2 is a dummy variable that takes the value 1 if a passenger was 3rd class. . T3 is a dummy variable that takes the value 1 if a passenger was male. . T4 is the age in years of a passenger. Fit this model to the training data and report its deviance. (b) Use the model fit in (a) and an appropriate statistical test to determine if class played a significant role in surviving on the Titanic. Use o = 0.01. Report: . The null hypothesis of the test . The test statistic of the test . The p-value of the test . A statistical decision . A practical conclusion (c) Use the model fit in (a) and an appropriate statistical test to determine if an interaction between age and sex played a significant role in surviving on the Titanic. Use o = 0.01. Report: . The null hypothesis of the test . The test statistic of the test . The p-value of the test . A statistical decision . A practical conclusion (d) Use the model fit in (a) as a classifier that seeks to minimize the misclassification rate. Classify each of the passengers in the test dataset. Report the misclassification rate, the sensitivity, and the specificity of this classifier. (Use survived as the positive class.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
