With the information shown, Please do step 3 & 4 of the hypothesis testing 1.The number of people who survived the Titanic based on class and sex is collected is collected in the table. Is there enough evidence to show that the class and the sex of a person who survived the Titanic are independent?  0.05 significance level. Null Hypothesis: class and sex of a person who survived the titanic are independent. Alternative Hypothesis: class and sex of a person who survived the titanic are dependent. The contingency table is:   Class Male Female Total  1st 134 59 193 2nd 94 25 119 3rd 80 58 138 Total 308 142 450                                                                                                                                                     Expected frequencies table is:   Class Male   Female               Total 1st 193×308450=132.09 193×142450=60.90 193 2nd 119×308450=81.45 119×142450=37.55 119 3rd 138×308450=94.46 138×142450=43.55 138 Total 308 142  450   Conditions for the Chi-Square test for independence: Categorical Variables: The number of people who survived the titanic is divided based on sex and class. Therefore, the two categorical variables are sex and class. Categories: Sex and class are further divided into two and three categories: male and female for sex and 1st, 2nd, and 3rd for class. Independence of observation: Males of the 1st class are different from the male of the 2nd class. Similarly, the females of the 1st class are different from females of the 2nd class and so on. Relatively large sample: All the values of the expected frequencies in the table must be greater than 5. For this case, the required condition is satisfied.

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Topic Video
Question

With the information shown, Please do step 3 & 4 of the hypothesis testing

1.The number of people who survived the Titanic based on class and sex is collected is collected in the table. Is there enough evidence to show that the class and the sex of a person who survived the Titanic are independent?  0.05 significance level.

Null Hypothesis: class and sex of a person who survived the titanic are independent.

Alternative Hypothesis: class and sex of a person who survived the titanic are dependent.

  1. The contingency table is:

 

Class

Male

Female

Total 

1st

134

59

193

2nd

94

25

119

3rd

80

58

138

Total

308

142

450

                                                 

 

                                               

                                               

Expected frequencies table is:  

Class

Male

  Female              

Total

1st

193×308450=132.09

193×142450=60.90

193

2nd

119×308450=81.45

119×142450=37.55

119

3rd

138×308450=94.46

138×142450=43.55

138

Total

308

142

 450

 

  1. Conditions for the Chi-Square test for independence:

Categorical Variables: The number of people who survived the titanic is divided based on sex and class. Therefore, the two categorical variables are sex and class.

Categories: Sex and class are further divided into two and three categories: male and female for sex and 1st, 2nd, and 3rd for class.

Independence of observation: Males of the 1st class are different from the male of the 2nd class. Similarly, the females of the 1st class are different from females of the 2nd class and so on.

Relatively large sample: All the values of the expected frequencies in the table must be greater than 5. For this case, the required condition is satisfied.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
Hypothesis Tests and Confidence Intervals for Proportions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman