i think the log-linear model can deal with this. and the glm with poisson family,loglin,loglm from MASS packages can estimate log-linear model. hope help:)
On Fri, 22 Apr 2005 22:15:23 +0800 hau chung chan <[EMAIL PROTECTED]> wrote: > I have so much questions about using R...but i will try my best to solve > myself before bothering you guys.... > firstly... yes no > male old 130 70 > young 34 48 > female old 50 60 > young 79 23 > > can I do a chisq.test for such contingency table?....cuz...it is not 2 > dimension ....is there any other method to test the independency to the > answer for the factors (male, female) (old, young) > or you guys will suggest me to add them up and do chosq.test 2 times.. thank > you... > [[alternative HTML version deleted]] > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
