Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: how to get standard errors from VC


From   Oleksandr Shepotylo <[email protected]>
To   statalist <[email protected]>
Subject   st: how to get standard errors from VC
Date   Thu, 19 Aug 2004 12:25:40 -0400

Hi,

I use matrix commands to estimate the coefficients of a regression. I have got coefficient and variance/covarience matricies: beta and VC. How to get from VC to std. errors?

I suppose first line is
ER=vecdiag(VC)
The second step is to take a square root of each element of ER. How can I do it in one line without going into loops and cyles?

More generally, how can I present the results in the form similar to the Stata: means, std. errors, t-statistics and conf. intervals?


*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index