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

Re: st: how to get standard errors from VC


From   Stas Kolenikov <[email protected]>
To   [email protected]
Subject   Re: st: how to get standard errors from VC
Date   Thu, 19 Aug 2004 14:09:53 -0400 (EDT)

> Can I do it in one line without going into loops and cyles?

An extremely neat solution was posted already, but I personally would not
mind running this in a cycle. It won't take much longer, but the code is
going to be far more transparent. If you revisit it a year from now, you
would have to recall what exactly Cholesky decomposition is, and why you
wanted to use it this way here :).

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

You would need to master the basic programming with -program- command, and
then you can write your estimators with -ereturn post-. Then Stata will
format the output for you with -estimates replay- or -ereturn display-,
whatever is handier. (May be you won't really need any -program-ming for
that to work out, but you should think in big blocks and repeating your
estimation routine in different circumstances, and may be by different
people, and thus writing your own ado-file once will save you from a lot
of trouble of repeating small steps later).

 ---                                    Stas Kolenikov
 --       Ph.D. student in Statistics at UNC-Chapel Hill
 - http://www.komkon.org/~tacik/  -- [email protected]

* This e-mail and all attachments to it are not intended to provide any
* reasonable point of view and was transmitted to you in error. It
* should be immediately deleted by all recipients unless they really
* enjoy communicating with the author :). Other restrictions apply.

*
*   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