Thank you for the prompt reply Roger, Your solution works great for me. With much respect, Tal
----------------Contact Details:------------------------------------------------------- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) ---------------------------------------------------------------------------------------------- On Sat, Oct 15, 2011 at 3:40 AM, Roger Koenker <rkoen...@illinois.edu>wrote: > Ah yes offsets, I've meant to look into this, but never quite understood > why something like: > > rq((y - xk - bk) ~ x1 + x2) > > wasn't just as convenient.... > > > Roger Koenker > rkoen...@illinois.edu > > > > > > On Oct 14, 2011, at 6:55 PM, Tal Galili wrote: > > Hello all, >> >> I would like to compute a quantile regression using rq (from the >> quantreg package), while keeping one of the coefficients fixed. >> Is it possible to set an offset for rq in quantreg? (I wasn't able to >> make it to work) >> >> Thanks, >> Tal >> >> >> >> ----------------Contact >> Details:----------------------**------------------------------**--- >> Contact me: tal.gal...@gmail.com | 972-52-7275845 >> Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) >> | www.r-statistics.com (English) >> >> ______________________________**________________ >> R-help@r-project.org mailing list >> https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help> >> PLEASE do read the posting guide http://www.R-project.org/** >> posting-guide.html <http://www.R-project.org/posting-guide.html> >> and provide commented, minimal, self-contained, reproducible code. >> > > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.