Skip to content
Prev 240684 / 398500 Next

saddle points in optim

Jonathan Phillips <994phij <at> gmail.com> writes:
It's hard to say very much more without a reproducible example.
  If you can invert the hessian, then you can see whether the trouble
is arising from particular parameters or parameter combinations.  
For each 'difficult' parameter, you can try varying its value while
holding the others fixed at the point that optim() has found and see
whether the curvature is indeed negative in these directions.
  You could try restarting from the current values, or trying other
optimization methods (possibly taking a look at the 'optimx' package
on R-forge), or using a stochastic optimization method such as SANN,
or somehow coming up with better starting parameters.