In minimizing a convex objective function, does it mean that the Hessian matrix at minimizer should be PSD? If fminunc in Matlab returns a hessian which is not psd what does it mean? am I using a wrong objective?
Asked
Active
Viewed 680 times
2

Amir
- 10,600
- 9
- 48
- 75

user806167
- 43
- 1
- 5
-
is the hessian psd but singular (none of the eigenvalues are negative) or indefinite (some eigenvalues are negative)? – moos Nov 29 '12 at 22:06
1 Answers
0
I do that in environments other than matlab.
Non-PSD means you can't take the Cholesky transform of it (i.e. the matrix square-root), so you can't use it to get standard errors, for example.
To get a good hessian, your objective function has to be really smooth, because you're taking a second derivative, which doubly amplifies any noise. If possible, it is best to use analytic derivatives rather than finite-difference. That is, if you really need the hessian.

Mike Dunlavey
- 40,059
- 14
- 91
- 135