Here is an example contingency table using R
group = c("A","B","C","D","E")
Fail = c(424, 357, 324, 339, 160)
Pass = c(314, 263, 212, 252, 540)
Q1tab = data.frame(group, Fail, Pass)
From what i'm reading, I think I should be doing a Chi Sqr test.
chisq.test(Q1tab,correct=F)
#Output
Pearson's Chi-squared test
data: Q1tab
X-squared = 272.99, df = 4, p-value < 2.2e-16
It shows significance but I have no idea where the differences are. With an ANOVA, I can use Tukey's but I can't here. I feel like I'm missing something basic - any help is appreciated.
question from:
https://stackoverflow.com/questions/66047801/is-there-an-r-function-for-finding-differences-in-chisqr-results 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…