In: Statistics and Probability
null hypothesis:Ho: there is no relationship between the type of automobile and the gender of the individual
Alternate hypothesis:Ha: there is a relationship between the type of automobile and the gender of the individual
degree of freedom(df) =(rows-1)*(columns-1)= | 3 |
for 3 df and 0.1 level of signifcance critical region χ2= | 6.251 |
Applying chi square test of independence:
Expected | Ei=row total*column total/grand total | Luxury | Large | Midsize | Small | Total |
Men | 12.57 | 7.85 | 58.12 | 21.47 | 100 | |
Women | 11.43 | 7.15 | 52.88 | 19.53 | 91 | |
total | 24 | 15 | 111 | 41 | 191 | |
chi square χ2 | =(Oi-Ei)2/Ei | Luxury | Large | Midsize | Small | Total |
Men | 0.4717 | 0.1674 | 1.4297 | 1.4267 | 3.495 | |
Women | 0.5183 | 0.1840 | 1.5711 | 1.5678 | 3.841 | |
total | 0.990 | 0.351 | 3.001 | 2.995 | 7.3367 |
as test statistic X2 =7.337 falls in rejection region; we reject null hypothesis
we have sufficient evidence at 0.10 level to conclude that there is a relationship between the type of automobile and the gender of the individual