Step by Step Analysis on the Role played by Social class and Gender on the Titanic survivability.

Image for post
Image for post
Photo by NOAA on Unsplash

Table of Contents

Introduction

Tutorial

Image for post
Image for post
Photo by Wahid Khene on Unsplash

Supervised Classification Model

Loading necessary packages for data preparatory
Image for post
Image for post
Percentage of missing entries per column

Filling in missing values on the age variable

Data Cleaning

Encoding

Image for post
Image for post
Encoded Gender where 1 represents male and 0 female

Model creation

Evaluating the model

Image for post
Image for post
Model evaluation results

Validation of the results

Image for post
Image for post
Image for post
Image for post

Statistical analysis and hypothesis testing

Grouping our samples by Gender
Image for post
Image for post

Analysis by Social class (Part of Statistical Analysis)

Grouping titanic data into a different social class

Hypothesis testing

Image for post
Image for post

Summary

References

Data scientist , Artificial intelligence, |Applied problem solving Enthusiast|,Computational Sciences major| henrybiko2016@minerva.kgi.edu

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store