Skip to content
Prev 306466 / 398506 Next

problem with nls starting values

thanks for your reply

I agree that an lm model would fit just as well, however the expectation 
from a mechanistic point of view would be a non-linear relationship.

Also when I "simulate" data as in

y_val<-115-118*exp(-0.12*(seq(1,100)+rnorm(100,0,0.8)))
x_val<-seq(1:100)
plot(y_val~x_val)
summary(mod1<-nls(y_val~a-b*exp(-c*x_val),start=list(a=115,b=118,c=0.12)))

I do not get a convergence. I obviously must be doing something wrong.

Thanks for the help

Benedikt

Am 27.09.2012 20:00, schrieb Bert Gunter: