The mean of all ages is 30 years old which indicates that a lot of young audults were on the titanic. This corresponds with the means of female mean of 28 and the male mean of 30.
mean(Titanic_Passenger_List_titanic_passenger_list_1_$age)
## [1] 30.06785
The female mean is aligned with the average mean across all passengers. Pointing to a normal distribution.
mean(Titanic_Passengers_Female_Female_2_$age)
## [1] 28.81818
The male mean is almost identical to the total passenger average. Indicating that there may have been more men on the titanic than women.
mean(Titanic_Passengers_Male_Male_1_$age)
## [1] 30.75928
The distribution of ages on the titanic has a right skew indicating that there were not a lot of older adults on the titanic. The highest frequency of ages are between 20 and 40 years old indicating that there were a lot of couples on the titanic.
hist(Titanic_Passenger_List_titanic_passenger_list_1_$age)