Skip to content
Prev 75106 / 398502 Next

Using nonlinear regression

Is there some reason you don't want to use maximum likelihood?  With 
the 2-parameter lognormal and no censored observations, the maximum 
likelihood estimates (MLEs) are just the mean and standard deviation of 
the logs.  See ?fitdistr in library(MASS).

	  If you really want nonlinear least squares, have you considered "nls"?

	  In the likely event that this response does not meet your needs, I 
suggest you consider preparing another question using the posting guide! 
http://www.R-project.org/posting-guide.html, as it can increase the 
chances of getting a more helpful reply -- if you don't find an answer 
in the course of preparing a question following the guide.

	  spencer graves
Mark Miller wrote: