From p.dalgaard at biostat.ku.dk  Wed Jul  7 00:30:11 2004
From: p.dalgaard at biostat.ku.dk (Peter Dalgaard)
Date: Wed Jul  7 00:31:35 2004
Subject: [Rd] bugs in summary.lm (PR#7061)
In-Reply-To: <20040706220633.4A5AB108D8@slim.kubism.ku.dk>
References: <20040706220633.4A5AB108D8@slim.kubism.ku.dk>
Message-ID: <x27jtgpy4s.fsf@biostat.ku.dk>

yangsu@rutchem.rutgers.edu writes:

> Full_Name: Yang Su
> Version: 1.9.0
> OS: mac.ox
> Submission from: (NULL) (128.6.69.117)
> 
> 
> Hi 
> 
> I always get a large R^2 when i using summary.lm(lm(x~y-1)), where i force my
> intercept as 0.  also i got 
> an  crazy F - statictis number for the regression compare to my handed
> calculations
> 
> could you like check, and give  me an email ASAP. 
> 
> thanks lots!

Not a bug, but due to the fact that the null model is different when
there is no intercept. Please read the description of what constitutes
a bug at http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html#R%20Bugs

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907


[Rd] bugs in summary.lm (PR#7061)
Peter Dalgaard