[R] GLM and factor in forular

Knut Krueger rh at family-krueger.com
Tue Dec 18 14:52:55 CET 2007


I used a GLM with a factor variable and wondered about that the first 
factor is missing in the results.
means there is no result for Y1
Is it wrong to use factors in GLM or is there a statistical reason that 
there is no Y1 result ?

X<-rnorm(31:40)
Y<-factor(c(1:10))
glm(X~Y)

Knut



More information about the R-help mailing list