[R] least absolute deviation regression

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Thu Mar 6 17:12:38 CET 2003


Christoph Lehmann <lehmann at puk.unibe.ch> writes:

> is there any package or method which enables to compute a linear
> regression with the leas absolute value fit-criterion?

Try rq() from the quantreg package.

-- 
   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



More information about the R-help mailing list