[R] Quantile regression model with nonparametric effect and interaction
Roger Koenker
rkoenker at illinois.edu
Thu Jun 11 15:33:28 CEST 2015
The main effect trend seems rather dangerous, why not just estimate the f’s in a loop?
url: www.econ.uiuc.edu/~roger Roger Koenker
email rkoenker at uiuc.edu Department of Economics
vox: 217-333-4558 University of Illinois
fax: 217-244-6678 Urbana, IL 61801
> On Jun 11, 2015, at 1:57 AM, Waltl, Sofie (sofie.waltl at uni-graz.at) <sofie.waltl at uni-graz.at> wrote:
>
> Dear all,
>
> I would like to estimate a quantile regression model including a bivariate nonparametric term which should be interacted with a dummy variable, i.e.,
> log p ~ year + f(a,b):year.
> I tried to use Roger Koenker's quantreg package and the functions rqss and qss but it turns out that interactions are not possible in this setting. Also weights are not implemented yet to build a work-around. I am looking for something like the by-statement in Simon Wood's package mgcv. Does anything comparable exist?
> I am grateful for any help on this issue.
>
> Kind regards,
> S. Waltl
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
More information about the R-help
mailing list