Skip to content
Prev 274569 / 398506 Next

nlrq {quantreg}

The model _is_ linear in parameters, after the log transformation of  
the response, so
you don't need nlrq.  If you really want something like:

	y = exp(a + b x)   +  u

then you need to make a token effort to look at the documentation.    
Here is another
example:

x <- exp(rnorm(50))
y <- exp(1 + .5*x) + rnorm(50)

nlrq(y ~ exp(a  + b * x), start = list(a = 2, b = 1))
Nonlinear quantile regression
    model:  y ~ exp(a + b * x)
     data:  parent.frame
      tau:  0.5
deviance:  15.39633
         a         b
1.0348673 0.4962638


Roger Koenker
rkoenker at illinois.edu
On Oct 16, 2011, at 3:59 AM, Julia Lira wrote: