Variable | Definition | Key |
---|---|---|
Survival | Survival | 0=No 1=Yes |
Pclass | Ticket class | 1=1st 2=2nd 3=3rd |
Sex | Sex | 1=Male 0=Female |
Age | Age in years | |
Sibsp | Number of siblings/spouses aboard the Titanic | |
Parch | Number of parents/children aboard the Titanic | |
Ticket | Ticket number | |
Fare | Passenger fare | |
Cabin | Cabin number | |
Enbarked | Port of Embarkation | C=Cherbourg Q=Queenstown S=Southampton |
pclass: A proxy for socio-economic status (SES)
1st is Upper class
2nd is Middle class
3rd is Lower class
Age: Age is fractional if less than 1. If the age is estimated, is it in the form of xx.5
sibsp: The dataset defines family relations in this way:
Sibling = brother, sister, stepbrother, stepsister
Spouse = husband, wife (mistresses and fiancés were ignored)
parch: The dataset defines family relations in this way:
Parent = mother, father
Child = daughter, son, stepdaughter, stepson
Some children travelled only with a nanny, parch=0 for them.