The ship Titanic sank after colliding with an iceberg
Problem 1
On April 15, 1912, during her maiden voyage, the ship Titanic sank after colliding with an iceberg, killing many passengers and crew. Here, we will use a subset of the data to analyze the survival rates for different groups of people. Please download the dataset TitanicPartial_v2.csv from Canvas and work through the following questions.
Variables used in this analysis:
Survival: survival status. 1 = survived, 0 = did not survive
Pclass: passenger class, 1= First, 2 = Second, 3 = Third
Age: age in years.
(a)_Explore the data. How many passengers are included in the dataset? How many of them survived and how many of them did not survive? Please explain how you obtain the answers.