Displaying 1 result from an estimated 1 matches for "g1counts".
Did you mean:
counts
2011 Feb 10
0
Chi square test of proprotions in 2 groups of different sizes
...oportions within each
group.
I would like to compare the proportions in 2 groups using Chi Square
test. However, I am not sure how to do it because chisq.test(counts)
does not take into account the fact that the sizes of the groups are
different.
Any hint is greatly appreciated.
Thank you!
Dimitri
G1counts <- matrix(c(54,76,125), ncol = 1)
G2counts <- matrix(c(14,19,35), ncol = 1)
counts<-cbind(G1counts,G2counts)
colnames(counts)<-c("Group1","Group2");
rownames(counts)<-c("Option1","Option2","Option3")
N1=255
N2=68
Ns=c(N1,N2)
prop1&l...