-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue recovering inverse Hessian from minimize() #26
Comments
With regard to problem 1, suppose that it is either the |
With regard to problem 2, I have not yet figured out how to recover the The VCV = results.hess_inv.matmat(np.eye(5)) In other words, you perform a matrix multiplication of the |
I ended up using the following .todense() command to obtain the inverse hessian. Example code: results.hess_inv.todense() |
I also used a different method that is somewhat unclear in how it works but after checking it returns the same thing as Professor Evans matmat method and also Meru's todense method. results.hess_inv*np.identity(K) where K is the dimension of the operator |
The inverse Hessian is a nice estimator for the variance-covariance matrix of MLE parameter estimates (see MLE notebook discussion in Section 4). There are two problems with this.
'L-BFGS-B'
) return the inverse Hessian.'L-BFGS-B'
method returns the inverse Hessian as a<KxK LbfgsInvHessProduct with dtype=float64>
, whereK
is the number of parameters being estimated.This issue presents some solutions to these problems as well as some unresolved questions. @merubhanot @dpzhang @olivianatan @alejandroparraguez @bobaekang @ykim17 @kkost84
The text was updated successfully, but these errors were encountered: