Just a note
c=c(5,14,18); d=c(25,16,12) ; x=c(1,2,3) n=c+d T1=sum(c*x) T2=sum(n*x) T3=sum(n*x^2) C=sum(c);D=sum(d);N=sum(n) V=C*D*(N*T3-T2^2)/(N^2*(N-1)) (X2=(T1-(C*T2/N))^2/V) 1-pchisq(X2,1)
Except where otherwise specified, all text and images on this page are copyright InfluentialPoints, all rights reserved. Images not copyright InfluentialPoints credit their source on web-pages attached via hypertext links from those images.