Define lower-upper bound for parameters in Optim using Nelder-Mead method
On Wed, May 2, 2012 at 7:58 AM, Arnaud Mosnier <a.mosnier at gmail.com> wrote:
Dear UseRs, Is there a way to define the lower-upper bounds for parameters fitted by optim using the Nelder-Mead method ?
It depends a bit on whether it's plausible that the solution is on the
boundary. If not, simply returning Inf for values outside the range
will work.
-thomas
Thomas Lumley Professor of Biostatistics University of Auckland