Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: How to save a hessian matrix for post-estimation analysis?
From
[email protected]
To
"[email protected]" <[email protected]>
Subject
st: How to save a hessian matrix for post-estimation analysis?
Date
Sun, 19 Aug 2012 15:54:17 +0800 (CST)
Dear Statalist,
I’m looking for a way to save a hessian matrix. Specifically, when fitting a likelihood-based model, I know that specifying the option “hessian” can show the hessian matrix, but how can I store it for post-estimation analysis?
I don’t wanna got the hessian matrix via "-1*invsym(e(V))", because under certain circumstances, that can’t recover the original hessian matrix. (For example, when the hessian matrix is not negative definite, some columns and rows of the e(V) will be set to be zero. Then, "-1*invsym(e(V))" cannot recover the original hessian matrix.)
Thanks for the help in advance.
Best Regards,
Chi-lin Tsai
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/