StructEst_W20 icon indicating copy to clipboard operation
StructEst_W20 copied to clipboard

inverse hessian variance-covariance matrix

Open cytwill opened this issue 5 years ago • 3 comments

My optimization method can not give an explicit inverse hessian variance-covariance matrix, my current method return the hess_inv as:

<4x4 LbfgsInvHessProduct with dtype=float64>

Can anyone help with this?

cytwill avatar Jan 31 '20 12:01 cytwill

I had the same issue, and I found this: https://github.com/rickecon/StructEst_W17/issues/26

jesuspachecov avatar Jan 31 '20 14:01 jesuspachecov

Thank you, I have got the answer!

cytwill avatar Feb 02 '20 05:02 cytwill

Thanks, @jesuspachecov and @cytwill. The approach (I don't know why it is this way) is to use the results.hess_inv.todense() method at the end of the hess_inv call.

rickecon avatar Feb 03 '20 07:02 rickecon