# Confusion about Two Way ANOVA test vs Chi-square test for independence. Which one to use here?

A certain drug is claimed to be effective in curing cold. In an experiment on 500 persons suffering from cold, half of them were given the drug and the other half were given the sugar pills. Patients' reactions to the treatment are recorded in the following table (pls refer attached image). On the basis of the table data, can it be concluded that there is a significant difference in the effect of drug and sugar pills ?

My Doubts -

I have learnt that -

(i)Use 2 way ANOVA when to test difference of mean between two categorical variables

(ii)Use Chi-square test of independence when want to know if there is any relation between two categorical variables.

[Doubt 1 ]Have I leant this correctly ?

[Doubt 2 ] To solve the main question on top which one to use - (i) or (ii) ?

• More here on chi sq: stats.stackexchange.com/questions/91970/… Commented Oct 5, 2023 at 16:09
• ANOVA is for means. Chi square is for counts. You could consider a Homogeneity test here. Commented Oct 5, 2023 at 16:11