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

Jane Shevtsov jane.eco at gmail.com
Tue Apr 26 21:45:23 CEST 2011

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


Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, <www.worldbeyondborders.org>
Check out my blog, <http://perceivingwholes.blogspot.com>Perceiving Wholes

"In the long run, education intended to produce a molecular
geneticist, a systems ecologist, or an immunologist is inferior, both
for the individual and for society, than that intended to produce a
broadly educated person who has also written a dissertation." --John
Janovy, Jr., "On Becoming a Biologist"

More information about the R-sig-ecology mailing list