Question #272686

b) Persons who visit the restroom of a certain fast-food outlet were asked to state their opinion of the quality of the restroom facilities, The following tables show the responses from a sample of 100 persons. Gender of Respondent Totals Male Female Quality of Facilities Above Average 8 7 15 Average 26 24 50 Below Average 7 28 35 Totals 41 59 100 A 𝜒 2 test is carried out to determine whether there is an association between the gender of persons and their opinion. i) State appropriate null and alternative hypotheses [2] ii) Determine the critical region of the test at the 1% level of significance [1] iii) Calculate the expected value for Male and below average [2] iv) For a test statistic of 9.825, explain with reason, the conclusion of your test. [


1
Expert's answer
2021-11-30T06:10:11-0500

i)i) The hypotheses for this problem are,

H0:H_0: gender of persons and their opinion on the quality of the restroom facilities are independent.

AgainstAgainst

H1:H_1: Gender of persons and their opinion on the quality of the restroom facilities are not independent.

ii)ii)

To determine the critical region, we need to find the degrees of freedom as follows,

The degrees of freedom for this test are given as,

df=(r1)(c1)df=(r-1)(c-1) where r=3r=3 is the number of rows and c=2c=2 is the number of columns.

Therefore, the number of degrees of freedom is df=(31)(21)=21=2df=(3-1)(2-1)=2*1=2. Thus, the critical region at α=0.01\alpha=0.01 is given as,

χα,22=χ0.01,22=9.21034\chi^2_{\alpha,2}=\chi^2_{0.01,2}=9.21034

iii)iii)

The expected value for Male and below average is found using the formula below,

Eij=(ricj)/nE_{ij}=(r_i*c_j)/n where n=100n=100 .

rir_i is the row total and cjc_j is the column total. For this case, i=3i=3 and j=1j=1.

Therefore, the expected count is,

E31=(r3c1)/n=(3541)/100=14.35E_{31}=(r_3*c_1)/n=(35*41)/100=14.35

iv)iv)

The test statistic χc2=9.825\chi^2_c=9.825 is compared with the table value provided in (ii)(ii) above and the null hypothesis is rejected if χc2>χ0.01,22\chi^2_c\gt \chi^2_{0.01,2} .

Since χc2=9.825>χ0.01,22=9.21034\chi^2_{c}=9.825\gt \chi^2_{0.01,2}=9.21034, we reject the null hypothesis and conclude that there is no sufficient evidence to show that gender of persons and their opinion on the quality of the restroom facilities are independent. Therefore,  there is an association between gender of persons and their opinion on the quality of the restroom facilities.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS