This report presents an analysis of survival outcomes from the Titanic dataset using logistic regression and data visualization.
The study evaluates the influence of passenger class, gender, and age on survival probabilities. Results indicate that survival was strongly associated with gender and class: women and first-class passengers had substantially higher survival rates, while men and third-class passengers faced markedly lower odds. Age also played a significant role, with survival probability decreasing steadily as age increased. The logistic regression model quantifies these relationships, providing a clear statistical framework for understanding the factors that shaped survival on the Titanic.

Survival by Gender

Proportion of survival outcomes by gender.

Survival by Class

Proportion of survival outcomes by passenger class.

Gender and Class Interaction

Observed and predicted survival by gender and class.

Observed and predicted survival by gender and class.

Age Distribution

Observed age distributions and predicted survival probabilities by age.

Observed age distributions and predicted survival probabilities by age.