From ligges@statistik.uni-dortmund.de  Wed Nov 22 21:02:17 2000
From: ligges@statistik.uni-dortmund.de (ligges@statistik.uni-dortmund.de)
Date: Wed, 22 Nov 2000 22:02:17 +0100 (MET)
Subject: [Rd] lm() appears to fail with large number of variables (PR#744)
Message-ID: <200011222102.WAA25841@pubhealth.ku.dk>

r@marksmucker.com wrote:
> 
> Full_Name: Mark Smucker
> Version: 1.1.1
> OS: Windows NT
> Submission from: (NULL) (63.91.145.254)
> 
> Hi,
> 
> I have a data frame with 11 observations and 603 variables.
> 
> When I call,
> 
>     willRaw.fit <- lm( performance ~ ., data=willRaw )
> 
> lm() runs without problems, but computes coefficients for
> only the first 10 variables.  The remaining variables
> get a coefficient of NA.
> 
> There are no NA values in the data frame.  performance
> is one of the columns of the data frame.  I'd be happy
> to email the data file (gzip'd or zip'd).
> 
> My apologies if I've done some stupid (yes, I know it's
> not wise to fit a model to 603 variables, but I was
> just playing around).

That's not a bug!
What do you think about the degrees of freedom, if you have got 11
observations and 603 variables? !!!

Uwe Ligges

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] lm() appears to fail with large number of variables (PR#744)
ligges@statistik.uni-dortmund.de