[R] hi: I am newbie for R too...

ronggui 0034058 at fudan.edu.cn
Fri Apr 22 17:49:48 CEST 2005


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 <uwoactsci2 at yahoo.com.hk> 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]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list