Chi-Square test for Independence

Problem 5.
You are asked to conduct a study to determine if gender has any bearing on the choice of a dog or cat as a pet. You take a random sample of 350 adults and ask each what kind of pet they would prefer, a dog or a cat? The results of your poll are summarized in the following contingency table:

Male Female
Dog 70 99
Cat 80 101

Test the independence of gender and preferred pet at a 5% level. Explain your conclusion (don't just say "can't reject Ho" or "gender is not independent of pet choice").

© SolutionLibrary Inc. solutionlibary.com 9836dcf9d7 https://solutionlibrary.com/statistics/hypothesis-testing/chi-square-test-for-independence-7h4p

Solution Preview

...t against the alternative hypothesis H1: They are dependent

A(Gender)
Male Female

Dog
B(Preferred Pet)
Cat
70(a) 99(b)

80 (c) 101 (d)

Here total ...