|
楼主

楼主 |
发表于 2012-1-3 17:46:18
|
只看该作者
hessian matrix for stderr
From dwdus's blog on Baidu
<p>** The SAS subroutine nlpfdd( ), in IML, was also applied to calculate the standard errors of estimates and 95% CIs. The Hessian matrix ** is named as hes2. The variance and covariance were calculated by taking minus the inverse of the Hessian matrix</p><p>** The program is written as follows: </p><p>call nlpfdd(f,g,hes2,‘‘f logL’’, estimate);<br />cov=-inv(hes2);<br />norqua=probit(1-0.05/2);<br />stderr=sqrt(vecdiag(cov));<br />low=estimate-norqua∗ stderr;<br />up=estimate+norqua∗ stderr;<br />** Low and up are the corresponding 95% confidence intervals.</p> <a href="http://hi.baidu.com/dwdus/blog/item/556099f06c9ec7b1a50f524b.html">阅读全文</a>
<br/><b>类别:</b><a href="http://hi.baidu.com/dwdus/blog/category/%C4%AC%C8%CF%B7%D6%C0%E0">默认分类</a> <a href="http://hi.baidu.com/dwdus/blog/item/556099f06c9ec7b1a50f524b.html#comment">查看评论</a> |
|