At the 5 significance level test the claim that hair color i
At the 5% significance level, test the claim that hair color is independent of the sex of the individual.
Solution
CHI TEST OF INDEPENDENCE
Doing an Expected Value Chart,
43.34328358 36.44776119 30.20895522
88.65671642 74.55223881 61.79104478
Using chi^2 = Sum[(O - E)^2/E],
chi^2 = 3.011683036
With df = (a - 1)(b - 1), where a and b are the number of categories of each variable,
a = 3
b = 2
df = 2
Thus, the critical value is
significance level = 0.05
chi^2(critical) = 5.991464547
Thus, we FAIL TO REJECT THE NULL HYPOTHESIS.
That means there is no significant evidence that hair color is dependent on the sex of the individual.
