Data describes the survival status of individual passengers on the British
luxury passenger liner Titanic that sank when it struck an iceberg on April 1912, on its maiden voyage to
New York City from Southampton, England (Weisberg, 2003). Information were
obtained from Encyclopedia Titanica. The variables on the dataset called
titanic3 were made available by Harrell Jr (2001) and contains pclass, sex,
embarked and survival status for each person on the board of the Titanic.
pclass refers to passenger class (1st, 2nd, 3rd), and is a proxy for socio-economic class.
embarked indicates the place where the passenger embarked on the ship.
The variables pclass and embarked were recoded in the present version of the dataset.
These data were used to compute prevalence ratios and corresponding confidence intervals.
Usage
data(titanic)
Arguments
source
The data were originally obtained from
Dawson, Robert J. MacG. (1995), The Unusual Episode Data Revisited. Journal of
Statistics Education, 3.
http://www.amstat.org/publications/jse/v3n3/datasets.dawson.html
References
Weisberg, S. (2005) Applied Linear Regression. Third Edition. New Jersey: John-Wiley & Sons.
Frank E. Harrell Jr (2001) Regression Modelling Strategies. New York: Springer-Verlag.