Skip to content

Using nonlinear regression

2 messages · Mark Miller, Spencer Graves

#
Attached is a copy of my code, the data and the plots obtained by varying 
terms manually, I was told that nonlinear regression in R could find the 
values for me, but I am unable to figure how exactly I could implement this.  
Any help would be very greatly appreciated as I am completely stuck on this 
problem.
On Thursday 04 August 2005 13:40, you wrote:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cumIAT.ps
Type: application/postscript
Size: 47024 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20050811/3e2bdc83/cumIAT.ps
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cumTFR.ps
Type: application/postscript
Size: 13981 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20050811/3e2bdc83/cumTFR.ps
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cumTTR.ps
Type: application/postscript
Size: 35507 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20050811/3e2bdc83/cumTTR.ps
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Rstuff.R
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20050811/3e2bdc83/Rstuff.pl
4 days later
#
Do you want to estimate the parameters of a lognormal distribution or 
learn how to do nonlinear regression in R?

	  If the former, as far as I know, the best known method is maximum 
likelihood, for which the answer is to compute mean and standard 
deviations of the logs.  This assumes you are talking about the 
2-parameter lognormal.  I don't know the best method for a 3-parameter 
lognormal.  If that's what you want, PLEASE do read the posting guide! 
"http://www.R-project.org/posting-guide.html".  Doing so can increase 
the chances of getting a useful reply.

	  If you want examples of nonlinear regression, have you considered 
"nls" and "optim"?

	  spencer graves
Mark Miller wrote: