[R-sig-eco] Using rq() for least absolute deviation regression

2011-04-26 Thread Jane Shevtsov
I've seen several websites say that the function rq() from the package quantreg can be used to do least absolute deviation regression. How do you go about doing this and what's the connection between quantile regression and LAD? (I'm very new to the former topic.) Thanks, Jane -- -

Re: [R-sig-eco] Using rq() for least absolute deviation regression

2011-04-26 Thread Farrar . David
., median regression in rq is LAD. r-sig-ecology-boun...@r-project.org wrote on 04/26/2011 03:45:23 PM: From: Jane Shevtsov jane@gmail.com To: r-sig-ecology@r-project.org Date: 04/26/2011 03:46 PM Subject: [R-sig-eco] Using rq() for least absolute deviation regression