Import from the data set Titanic the data on male passengers on the Titanic. The variable Survived is 1 if the passenger survived the sinking and 0 if the passenger died.
(a) Find the logistic equation modeling the log-odds of a male passenger surviving against age.
(b) Compare the odds of survival for a 30-year-old male with a 40 year old male.
(c) Find a 95% bootstrap percentile interval for the slope.
(d) Estimate the probability of a 69-year-old male surviving, and find a 95% bootstrap percentile interval for the probability