Question: 14. Consider the data given in Review Problem 4. (a) Use the logistic regression concepts discussed in Section 11.6 (see Section 16.8 for more details)
14. Consider the data given in Review Problem 4.
(a) Use the logistic regression concepts discussed in Section 11.6 (see Section 16.8 for more details) to predict the outcome (i.e., “Survival”) using the variables “Parch,”
“Fare,” “Embarked.” Please disregard the observations with missing values.
Review Practice Problems 515
(b) Use a cutoff value of 0.5 to obtain the confusion matrix for your predictions in part
(a) and report both class 0 and class 1 classification errors.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
