Re: [R] Non-Linear Regression with two Predictors

2009-07-27 Thread Berlinerfee
is always 0 and so the gradient is singular. Why do you need delta at all? --- On Mon, 27/7/09, Berlinerfee berliner...@yahoo.de wrote: From: Berlinerfee berliner...@yahoo.de Subject: [R] Non-Linear Regression with two Predictors To: r-h...@stat.math.ethz.ch Received: Monday, 27 July, 2009

[R] Non-Linear Regression with two Predictors

2009-07-26 Thread Berlinerfee
Hello there, I am using nls the first time for a non-linear regression with a logistic growth function: startparam - c(alpha=3e+07,beta=4000,gamma=2) fit - nls(dataset$V2~(( alpha / ( 1 + exp( beta - gamma * dataset$V1 ) ) ) ),data=dataset,start=startparam) Everything works fine and i get