titanic {UPG}R Documentation

Grouped Titanic survival data.

Description

A dataset containing the number of survivals and the total number of persons by passenger class, age group and gender.

Usage

titanic

Format

A data frame with 78 rows and 6 variables:

survived

number of passengers that survived

total

number of total passengers

intercept

an intercept

pclass

passenger class (1 highest, 3 lowest)

female

dummy for females

age.group

age group indicator (0-5yrs, 5-10yrs, ...)

Source

Data originally sourced from https://web.stanford.edu/class/archive/cs/cs109/cs109.1166/stuff/titanic.csv. See also https://towardsdatascience.com/the-binomial-regression-model-everything-you-need-to-know-5216f1a483d3.


[Package UPG version 0.2.2 Index]