2.173 Survival, class, and sex on the Titanic. Refer to the previous exercise and Exercise 2.122 (page 146). When we looked at survival and class, we ignored sex. When we looked at survival and sex, we ignored class. Are we missing something interesting about these data when we choose this approach to the analysis? Here is one way to answer this question.
(a) Create two separate two-way tables. One for survival and class for the women and another for survival and class for the men.
(b) Perform an analysis of the relationship between survival and class for the women. Summarize your findings.
(c) Perform an analysis of the relationship between survival and class for the men. Summarize your findings.
(d) Compare the analyses that you performed in parts (b) and (c). Write a short report on the relationship between survival and the two explanatory variables, class and sex.