Dear all,
I sent an email on Friday asking about nlrq {quantreg}, but I haven't received
any answer.
I need to estimate the quantile regression estimators of a model as: y =
exp(b0+x'b1+u). The model is nonlinear in parameters, although I can linearise
it by using log.When I write:
fitnl <- nlrq(y ~ exp(x), tau=0.5)
I have the following error: Error in match.call(func, call = cll) : invalid
'definition' argument
Is there any way to estimate this model, or should I accept the following
change:
fitnl <- rq(log(y) ~ x, tau=0.5) ?
Thanks in advance!
Best,
Julia
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.