Skip to content
Back to formatted view

Raw Message

Message-ID: <XFMail.20020208141342.plummer@iarc.fr>
Date: 2002-02-08T13:13:42Z
From: Martyn Plummer
Subject: glm with four variables
In-Reply-To: <02c801c1b093$7c526420$0362c69b@th.ic.ac.uk>

On 08-Feb-2002 iago mosqueira wrote:
> Hi,
> 
> Sorry if this is a very basic question, but when I run this
> 
> glm(formula = loge ~ lat + ne + dep, family = gaussian)
> 
> summary shows the same formula but results only for the first two variables.
> What am I doing wrong?

Probably dep is aliased: i.e. some linear combination of lat, ne and the
intercept equals dep for all values. A model with all four terms is, in
this case, unidentifiable so dep is dropped.  This appears to take place
silently.  It might be more useful to issue a warning.

Martyn
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._