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

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

[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