In: Statistics and Probability
A magazine subscriber study asked, "In the past 12 months, when traveling for business, what type of airline ticket did you purchase most often?" A second question asked if the type of airline ticket purchased most often was for domestic or international travel. Sample data obtained are shown in the following table.
Type of Ticket | Type of Flight | |
---|---|---|
Domestic | International | |
First class | 31 | 24 |
Business class | 93 | 119 |
Economy class | 518 | 135 |
A) Using a 0.05 level of significance, is the type of ticket purchased independent of the type of flight?
-State the null and alternative hypotheses.
-Find the value of the test statistic
-Find the p-value.
b) Discuss any dependence that exists between the type of ticket and type of flight.