[R] nls not solving
Schatzi
adele_thompson at cargill.com
Tue Mar 1 15:38:50 CET 2011
Here is a reply by Bart:
Yes you're right (I should have taken off my glasses and looked closer).
However, the argument is essentially the same:
Suppose you have a solution with a,b,k,l. Then for any positive c, [a+b-bc]
+ [bc] + (bc) *exp(kl')exp(-kx) is also a solution, where l'
= l - log(c)/k .
Cheers,
Bert
(Feel free to post this correction if you like)
This is from me:
The problem with dropping the "l" parameter is that it is supposed to
account for the lag component. This equation was published in the literature
and has been being solved in SAS. When I put it in excel, it solves, but not
very well as it comes to a different solution for each time that I change
the starting values. As such, I'm not sure how SAS solves for it and I'm not
sure what I should do about the equation. Maybe I should just drop the
parameter "a." Thanks for the help.
--
View this message in context: http://r.789695.n4.nabble.com/nls-not-solving-tp3328647p3329936.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list