Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 2 (13 marks) File: Titanic. xlsx The data set contains personal information for 891 passengers, including an indicator variable for their survival, and the

Problem 2 (13 marks) File: Titanic. xlsx

The data set contains personal information for 891 passengers, including an indicator variable for their survival, and the objective is to predict survival, or probability thereof, from the other characteristics. The survival data for all passengers is stored in the binary variable calledSurvived. The predictors includeSex(modeled with male/female dummy variables),Age(and additional dummy variables for ranges),Class(first, second, or third, modeled with dummy variables),SiblingSpouse(number of siblings and spouses accompanying the passenger, and corresponding dummy variables),ParentChild(number of parents and children accompanying the passenger, and corresponding dummy variables), andEmbarked(ports of Cherbourg, QueensTown, and Southampton, modeled by dummy variables)

y=1 if the passenger was survived and y=0 if not

a.Write the logistic regression equation relating Class and Survived.

(2 mark)

b.For the Titanic data, use SAS to compute the estimated logistic regression equation. (3 marks)

c.What is the interpretation of when (2 marks)

d.Estimate the probability of surviving the 2nd class passengers and the 3rd class passengers. (3 marks)

e.What is the estimated odds ratio? What is the interpretation? (3 marks)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Calculus An Applied Approach

Authors: Ron Larson, Dennis J McKenzie, Larson/Edwards, Bruce H Edwards

7th Edition

1111809720, 9781111809720

More Books

Students also viewed these Mathematics questions

Question

When do overtime rates apply?

Answered: 1 week ago