From: Manish on
Hi,

I am estimating mle using fmincon. I want to compute the hessian matrix. Please help me how to get that.

Manish
From: Alan Weiss on
On 4/12/2010 1:12 PM, Manish wrote:
> Hi,
>
> I am estimating mle using fmincon. I want to compute the hessian matrix.
> Please help me how to get that.
> Manish

I am afraid that fmincon does not help you estimate the Hessian matrix
very well. For more information, see
http://www.mathworks.com/access/helpdesk/help/toolbox/optim/ug/bsapd3i.html#bsapedt

To compute the Hessian, use a finite difference procedure, or consult
the File Exchange:
http://www.mathworks.com/matlabcentral/fileexchange/13490-automatic-numerical-differentiation

Alan Weiss
MATLAB mathematical toolbox documentation