Skip to content
Prev 307624 / 398506 Next

"nlmnib" Package + Hessian Output

nserdar <snes1982 <at> hotmail.com> writes:
You can get a finite-difference approximation to the hessian
by using the hessian() function (surprisingly enough) in the
numDeriv package.

  You haven't given enough detail about your problem, but you may
want to consider using the mle2() function in the bbmle package, which
will allow you to use nlminb as your optimizer but provides a wrapper
that computes significance tests (against the null hypothesis that 
individual parameters are zero).