TITANIC Data: surv n class age sex 1 20 23 0 1 0 2 192 862 0 1 1 3 1 1 1 0 0 4 5 5 1 0 1 5 140 144 1 1 0 6 57 175 1 1 1 7 13 13 2 0 0 8 11 11 2 0 1 9 80 93 2 1 0 10 14 168 2 1 1 11 14 31 3 0 0 12 13 48 3 0 1 13 76 165 3 1 0 14 75 462 3 1 1 Description: Relationship between survival and passenger class on the Titanic. The records of the sinking of the Titanic were studied to establish the relationship between survival and passenger class on the ship. For each person on board the ocean liner, this dataset records sex, age (child/adult), class (crew, 1st, 2nd, 3rd class) and whether or not the person survived. Format: - surv number of survivors - n total number of people - class passenger class (0 = crew, 1 = first, 2 = second, 3 = third) - age age group (1 = adult, 0 = child)) - sex gender (1 = male, 0 = female) Task: Model the survival probability.