Titanic survival rate

The sinking of the Titanic is one of the most infamous shipwrecks in history. While there was some element of luck involved in surviving, it seems some groups of people were more likely to survive than others. In this homework, you will perform descriptive analyses to provide insights about which types of passengers are more likely to survive. The data can be found on Blackboard, and the definition for each column is shown in the following table:

 

 

titanic-survival-rate

  1. Calculate the average survival rates by pclass, sex, sibsp, parch, and embarked.
  2. Bucket the data by age quartiles and fare quartiles to calculate the average survival rate for each quartile and plot the result as a bar plot.
  3. Calculate the correlation between the survival column and the rest of the columns. What are top 3 most important attributes to determine the likelihood of survival?

Answer:

Titanic Survival Prediction

Importing necessary libraries

 

 

titanic-survival-rate

Read Data Into Pandas Dataframe

titanic-survival-rate

titanic-survival-rate

titanic-survival-rate

titanic-survival-rate

titanic-survival-rate

Let's look at all the columns in the data

titanic-survival-rate

Matlabsolutions.com provides guaranteed satisfaction with a commitment to complete the work within time. Combined with our meticulous work ethics and extensive domain experience, We are the ideal partner for all your homework/assignment needs. We pledge to provide 24*7 support to dissolve all your academic doubts. We are composed of 300+ esteemed Matlab and other experts who have been empanelled after extensive research and quality check.

Matlabsolutions.com provides undivided attention to each Matlab assignment order with a methodical approach to solution. Our network span is not restricted to US, UK and Australia rather extends to countries like Singapore, Canada and UAE. Our Matlab assignment help services include Image Processing Assignments, Electrical Engineering Assignments, Matlab homework help, Matlab Research Paper help, Matlab Simulink help. Get your work done at the best price in industry.