Build a simple logistic regression model using “Survival” as the response variable and “Fares” as the predicting variable

You will use the Titanic data to answer the following questions

Q1. Build a simple logistic regression model using “Survival” as the response variable and “Fares” as the predicting variable.  

          a. Provide the Maximum Likelihood Estimation Table here. 

          b. Write down the equation of the fitted logistic regression model here.

c. Comment if the estimated coefficient associated with the variable “Fares” is statistically significant.  Justify your answer.

d. Interpret the estimated coefficient associated with the variable “Fares”. 

Do passengers who pay higher fares have a higher chance of survival?

Q2. Build a logistic regression model using “Survival” as the response variable and “Age” and “Class” as the predicting variables.

          a. Fit a logistic regression model to the data and provide the Maximum Likelihood Estimation Table. 

          b. How many design variables do you need for modeling the variable “Class”?

          c. Which class is used as the reference class in your logistic regression model?

          d. Write down the equation of the fitted logistic regression model if a passenger is from the first class.

          e. If a passenger is from the first class, what is his/her odds of survival