Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Question about e(vcetype)


From   "Schaffer, Mark E" <[email protected]>
To   <[email protected]>
Subject   st: Question about e(vcetype)
Date   Tue, 6 Feb 2007 22:07:31 -0000

Hi folks.  An obscure little question for you:

One of the saved macros after estimation with -robust- or -cluster- is
e(vcetype), which has the contents "Robust".  When this macro is
non-empty, the estimation output displayed has an extra line and
"Robust" appears over "Std. Err."

My question: when writing an estimator, is there any reason to stick to
"Robust" or some other Stata standard contents, or is this purely for
display purposes?

I note, for example, that one can have a bit of fun with Ben Jann's
eret2.  After an estimation, try

eret2 local vcetype "Sadly Large", replace

and then replay the results.

More seriously, is there any harm, for example, in writing an estimator
that saves e(vcetype) as "Het.-Rob." if the vce is Eicker-Huber-White
heteroskedastic-robust, and "Clust.-Rob." if it's cluster-robust?

--Mark

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