Skip to content
Prev 17012 / 398502 Next

glm with four variables

On Fri, 8 Feb 2002, iago mosqueira wrote:

            
Ah well, since you are fitting a linear model why not use lm?
You only used three variables (despite your subject), and it's the design
matrix that is singular.  That has a constant column and expands out any
factors.

R has an alias function to show you what is aliased in a linear model.

I suggest you take some advice on regression from a local expert.