Question #155341

Association of attributes :

The patients reactions to the treatment are recorded in the following table. Test the hypothesis that the drug is no better than sugar pills foru cring colds. Let a =0.05.


Category


Drug, Sugar


Helped

52, 44

Harmed

10, 12

No Effect

20, 26


1
Expert's answer
2021-01-17T14:54:55-0500

The expected frequencies are


row totalcolumn totalgrand total\frac{row\ total*column\ total}{grand\ total}


Drug.helped=(52+44)(52+10+20)52+10+20+44+12+26=48Drug.helped= \frac{(52+44)(52+10+20)}{52+10+20+44+12+26}= 48


Drug.harmed=(10+12)(52+10+20)52+10+20+44+12+26=11Drug.harmed= \frac{(10+12)(52+10+20)}{52+10+20+44+12+26}= 11


Drug.no.effect=(20+26)(52+10+20)52+10+20+44+12+26=23Drug.no.effect= \frac{(20+26)(52+10+20)}{52+10+20+44+12+26}= 23


Sugar.helped=(52+44)(44+12+26)52+10+20+44+12+26=48Sugar.helped= \frac{(52+44)(44+12+26)}{52+10+20+44+12+26}= 48


Sugar.harmed=(10+12)(44+12+26)52+10+20+44+12+26=11Sugar.harmed= \frac{(10+12)(44+12+26)}{52+10+20+44+12+26}= 11


Sugar.no.effect=(20+26)(44+12+26)52+10+20+44+12+26=23Sugar.no.effect= \frac{(20+26)(44+12+26)}{52+10+20+44+12+26}= 23

The degrees of freedom for the chi square coefficient is


(31)(21)=2(3-1)(2-1)=2

The chi square test statistic is given by


X2=(observedexpected)2expectedX^2=\sum\frac{(observed-expected)^2}{expected}

X2=(5248)248+(1011)211+(2023)223+(4448)248+(1211)211+(2623)223X^2=\frac{(52-48)^2}{48}+\frac{(10-11)^2}{11}+\frac{(20-23)^2}{23}+ \frac{(44-48)^2}{48}+\frac{(12-11)^2}{11}+\frac{(26-23)^2}{23}

X2=1.6311X^2=1.6311

The p value corresponding to the chi square score of 1.63111.6311 and a level of significance of0.050.05 is 0.44240.4424 . We therefore conclude that there is no significant evidence to conclude that there is a difference in sugar and the drug.


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