Skip to content

GLM and factor in forular

1 message · Knut Krueger

#
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