Survival of Passengers on the Titanic
TitanicSurvival.RdInformation on the survival status, sex, age, and passenger class of 1309 passengers in the Titanic disaster of 1912.
Format
A data frame with 1309 observations on the following 4 variables.
survivednooryes.sexfemaleormaleagein years (and for some children, fractions of a year); age is missing for 263 of the passengers.
passengerClass1st,2nd, or3rdclass.
Details
This is part of a larger data set compiled by Thomas Cason. Many additional details are given in the sources cited below.
Source
Data set titanic3 from the now defunct
http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/DataSets.
References
https://www.encyclopedia-titanica.org
F. E. Harrell, Jr. (2001) Regression Modeling Strategies New York: Springer.
Examples
summary(TitanicSurvival)
#> survived sex age passengerClass
#> no :809 female:466 Min. : 0.1667 1st:323
#> yes:500 male :843 1st Qu.:21.0000 2nd:277
#> Median :28.0000 3rd:709
#> Mean :29.8811
#> 3rd Qu.:39.0000
#> Max. :80.0000
#> NA's :263