[R] Non linear modeling

ronggui 0034058 at fudan.edu.cn
Fri Mar 18 16:44:44 CET 2005


then is the nls function can deal the problem as Guillaume STORCHI mentioned in the last post? [X<-nls(y~x+exp(a*x)*eps, data=,start=list(a=,eps=))]
or just can solve the problem as:log(y-x) = a*x + e?



On Fri, 18 Mar 2005 08:56:38 -0500
"Liaw, Andy" <andy_liaw at merck.com> wrote:

> AFAIK most model fitting techniques will only deal with additive errors, not
> multiplicative ones.  You might want to try fitting:
> 
> log(y-x) = a*x + e
> 
> which is linear.
> 
> Andy
> 
> > From: Angelo Secchi
> > 
> > Hi,
> > is there a way  in R to fit a non linear model like
> > 
> > y=x+exp(a*x)*eps
> > 
> > where a is the parameter and eps is the error term? 
> > Thanks
> > Angelo
> > 
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide! 
> > http://www.R-project.org/posting-guide.html
> > 
> > 
> >
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list