[R] lm Help!!

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed Apr 12 11:52:53 CEST 2000


Bill Venables <venables at acland.qld.cmis.csiro.au> writes:

> As you will see, you can check the result using
> 
> fm <- lm(y ~ .....)
> drop1(fm, . ~ .)
> 
> but that's an even longer story.
> 
> Warning: with factors, use Helmert, sum or poly contrasts, NOT
> treatment.

*cough*! Why? I get exactly the same results from drop1 whether I use
treatment or Helmert contrasts, as far as I can see.

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



More information about the R-help mailing list