search for: g2counts

Displaying 1 result from an estimated 1 matches for "g2counts".

Did you mean: g1counts
2011 Feb 10
0
Chi square test of proprotions in 2 groups of different sizes
...ompare 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<-G1counts/N1 prop2<-G2counts/N2 prop<-...