[R] NLS estimation: Starting values

Giovanni Caggiano G.Caggiano at exeter.ac.uk
Fri Oct 24 16:18:02 CEST 2003


Dear All,

I am trying to fit to the data a nonlinear function, say z(tau;b) where tau 
is the independent variable and b is 3x1 vector of parameters. Following 
previous suggestions from the list, I am trying to find some "optimal" 
starting values for the three parameters by using the command 'optim' and 
then feed these values to nls for estimation. Does anybody know hot to use 
'optim' for this purpose?

Many thanks,
Giovanni




More information about the R-help mailing list