Skip to content

How to keep a coefficient fixed when using rq {quantreg}?

4 messages · Tal Galili, Roger Koenker

#
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.Galili at gmail.com |? 972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew)
| www.r-statistics.com (English)
#
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
rkoenker at illinois.edu
On Oct 14, 2011, at 6:55 PM, Tal Galili wrote:

            
#
oops.... *bk  not - bk.


Roger Koenker
rkoenker at illinois.edu
On Oct 14, 2011, at 8:40 PM, Roger Koenker wrote: