csv2md / result.txt
Chris Pang
first draft
bc88deb
Yes, we can perform survival analysis, demographic analysis, correlation analysis, and predictive modeling on this data.
Females had a higher survival rate than males on the Titanic.
Yes, passengers in higher classes had a higher survival rate. The survival rate decreases as the class number increases.
The survival rate varies by age. Very young passengers (less than 1 year old) had a high survival rate, while the survival rate decreases for older passengers, with a few exceptions.
The survival rate is highest for passengers with one sibling/spouse aboard (53.59%). It decreases as the number of siblings/spouses increases, with no survivors among those with five or eight siblings/spouses aboard.
The survival rate is highest for passengers with 3 parents/children aboard (60%) and lowest for those with 4, 5, or 6 parents/children aboard (0%). Passengers with 1 or 2 parents/children aboard also had a relatively high survival rate (55% and 50% respectively), while those with no parents/children aboard had a survival rate of 34%.
The average fare for passengers who did not survive was approximately $22.12, while the average fare for passengers who survived was approximately $48.40. This suggests that passengers who paid a higher fare were more likely to survive.
Yes, the embarkation point had an impact on the survival of the passengers. Passengers who embarked from Cherbourg had a higher survival rate compared to those who embarked from Queenstown and Southampton.
The correlation between age and fare is approximately 0.096, indicating a very weak positive correlation.
The correlation between passenger class and fare is `correlation`.
The average age of passengers is approximately 29.7 years, with a standard deviation of approximately 14.5 years. The youngest passenger is less than a year old (0.42 years), and the oldest passenger is 80 years old. The 25th percentile (Q1) is approximately 20.1 years, the median (Q2) is 28 years, and the 75th percentile (Q3) is 38 years. This means that 50% of the passengers are between 20.1 and 38 years old.
The average fare among the passengers is approximately 32.20, with a standard deviation of approximately 49.69. The minimum fare is 0, and the maximum fare is 512.33. The 25th percentile is 7.91, the median (50th percentile) is 14.45, and the 75th percentile is 31.00. This suggests that the distribution of fares is skewed to the right, with a few passengers paying much higher fares than most.
There were 491 passengers in class 3, 216 passengers in class 1, and 184 passengers in class 2.
There were 577 male and 314 female passengers on the Titanic.
The distribution of the number of siblings/spouses aboard among the passengers is as follows:
- 0 siblings/spouses: 608 passengers
- 1 sibling/spouse: 209 passengers
- 2 siblings/spouses: 28 passengers
- 3 siblings/spouses: 16 passengers
- 4 siblings/spouses: 18 passengers
- 5 siblings/spouses: 5 passengers
- 8 siblings/spouses: 7 passengers
The distribution of the number of parents/children aboard among the passengers is as follows: 678 passengers had no parents/children aboard, 118 passengers had one parent/child aboard, 80 passengers had two parents/children aboard, 5 passengers had three parents/children aboard, 4 passengers had four parents/children aboard, 5 passengers had five parents/children aboard, and 1 passenger had six parents/children aboard.