Skip to content
Back to formatted view

Raw Message

Message-ID: <8EAA227B-9BDE-46B8-9619-ABD2E9A53B71@illinois.edu>
Date: 2011-10-15T01:40:51Z
From: Roger Koenker
Subject: How to keep a coefficient fixed when using rq {quantreg}?
In-Reply-To: <CANdJ3dUiTBPD2jZ=N6_sCnFqb-Fue5R_OQP5g1F+y=LzcjPERQ@mail.gmail.com>

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:

> 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)
>
> ______________________________________________
> R-help at 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.