On the 10th of April, 1912, the RMS Titanic set out on its maiden voyage across the Atlantic Ocean carrying 2,223 passengers. On the 14th of April, it hit an iceberg and sank. There were 1,517 fatalities. Identifying information was not available for all passengers.
The titanic dataset describes the survival status of 1 309 individual passengers on the Titanic. Besides the survival status (0=No, 1=Yes) the data set contains the age of 1 046 passengers, their names, their gender, the class they were in (first, second or third) and the fare they had paid for their ticket in Pre-1970 British Pounds.
62% of the passengers in the data set did not survive the crash.
You can learn more about the survival rates by building a decision tree on this data set in JMP. How?
- Select Analyze > Modeling > Partition.
- Select survival -> Y, Response
- Select Age, Gender, Class and Fare -> X, Factor
- Select OK.
What do we learn from the decision tree?
At every age, all classes of women survive at a greater rate than all classes of men. Young boys under the age of 10 have higher odds to survive than older men. This proves that priority was given to women and children to be rescued.
What would be your chance of survival on the Titanic?
If you save the prediction formula (click the red triangle next to Partition for Survival and select Save Columns -> Save Prediction Formula).
You can calculate your survival chance by entering your gender and age in an empty row. Your odds appear in the Survival Tolerant Predictor Column.
Want to learn more?
Consider one of these SAS training courses: SAS Enterprise Guide: ANOVA, Regression and Logistic Regression, JMP Software: ANOVA and Regression and Applied Analytics using SAS Enterprise Miner.