Hi! I use RStudio to conduct Chi Square tests. I use table(var1, var2) to create contingency tables, but they look weird as there are numbers (0s) that i have no idea where they are from.
(it shows distribution of genders (male, female) in two groups (experimental and wait list)
When i conduct ChiSquare Tests with those tables, i get this message (half in german, translates to" ChiSquare Approximation my be incorrect").
Warning message:
In chisq.test(table_gen) : Chi-Quadrat-Approximation kann inkorrekt sein
I think it may be due to those extra numbers. Any thoughts on how to fix this? I am a psychology student and not very familiar with programming.
Any help is much appreciated!!