How to optimize function parameters?
If you can somehow add the sign of the output to the root square error,
nlm, nlminb, and many options within optimx accept bounds.
--------------------------------------
Jonathan P. Daily
Technician - USGS Leetown Science Center
11649 Leetown Road
Kearneysville WV, 25430
(304) 724-4480
"Is the room still a room when its empty? Does the room,
the thing itself have purpose? Or do we, what's the word... imbue it."
- Jubal Early, Firefly
r-help-bounces at r-project.org wrote on 12/20/2010 01:13:53 PM:
[image removed] Re: [R] How to optimize function parameters? zbynek.janoska at gmail.com to: r-help 12/20/2010 02:35 PM Sent by: r-help-bounces at r-project.org Thanks for your suggestions, I will certainly look at that To answer your question... I can calculate root square error between empirical data a those
predicted
by model (I used this to optimize the parameters using gafit()). -- View this message in context: http://r.789695.n4.nabble.com/How-to- optimize-function-parameters-tp3095603p3095938.html Sent from the R help mailing list archive at Nabble.com.
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.