In 1912 the luxury liner Titanic struck an iceberg and sank on its first voyage. Some passengers got off the ship in lifeboats, but many died. Here is information about who lived and who died, by gender.
Men |
Women |
Total |
|
Died |
680 |
126 |
806 |
Survived |
168 |
317 |
485 |
Total |
848 |
443 |
1291 |
Now look at the data set comparing gender and survival.
One test : chi square test of independence, this will tests whether there is an association between gender and survival. The hypothesis under this test is:
H0: Survival of the passengers is independent of gender
H1: Survival of the passengers is dependent on gender.
Another test: G test(likelihood ratio test)
It is another tests used in place of the chi square test. The hypothesis is,
H0: observed frequencies are from random sampling from a distribution with the given expected frequencies
H1: Observed frequencies are not from the given sampling distribution.
Get Answers For Free
Most questions answered within 1 hours.