Statistics can help us examine whether survival on the Titanic was related to different passenger characteristics.
For this example, I decided to use the Titanic data set in built into R.
- Response variable: survival status
- Explanatory variables: gender, passenger class, and age group
- Main question: were the survival outcomes independent or dependent on these categories?