Re: [Rd] bugs in summary.lm (PR#7061)

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Wed 07 Jul 2004 - 08:30:11 EST

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

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
Received on Wed Jul 07 08:34:43 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:45:01 EST