I am going to use Chi-squre test to see if two categorical variable are independent or not and I just realized the number of observation can affect the result of test:
Data set 1:
Group 1 Group 2
A 10 20
B 30 40
Date Set2:
Group 1 Group 2
A 100 200
B 300 400
The result of test for the second data set is 10 times bigger than the first data set and it affect the result rejecting/accepting null hypothesis. As the ration of groups in both data set are the same it does not make sens to me to get two different result...Could you please help me to understand what sort of data I nee to use for chi test?
Thanks, Amir