Re: [R] Non-linear regression/Quantile regression

2009-06-09 Thread despaired
nts so try these: > > library(quantreg) > > rq1 <- rq(demand ~ Time + I(Time^2), data = BOD, tau= 1:3/4); rq1 > > # or > rq2 <- rq(demand ~ poly(Time, 2), data = BOD, tau = 1:3/4); rq2 > > > On Tue, Jun 9, 2009 at 10:55 AM, despaired wrote: >> >&

[R] Non-linear regression/Quantile regression

2009-06-09 Thread despaired
Hi, I'm relatively new to R and need to do a quantile regression. Linear quantile regression works, but for my data I need some quadratic function. So I guess, I have to use a nonlinear quantile regression. I tried the example on the help page for nlrq with my data and it worked. But the example