SAS中文论坛

标题: hessian matrix for stderr [打印本页]

作者: shiyiming    时间: 2012-1-3 17:46
标题: 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&nbsp; ** 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>&nbsp;<a href="http://hi.baidu.com/dwdus/blog/item/556099f06c9ec7b1a50f524b.html#comment">查看评论</a>




欢迎光临 SAS中文论坛 (http://www.mysas.net/forum/) Powered by Discuz! X3.2