Statalist The Stata Listserver


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

Re: st: how can I save confidence intervals, t and p values in macros?


From   "Michael Blasnik" <michael.blasnik@verizon.net>
To   <statalist@hsphsun2.harvard.edu>
Subject   Re: st: how can I save confidence intervals, t and p values in macros?
Date   Wed, 12 Jul 2006 12:26:25 -0400

For most Stata commands, results that can derived from other results are often not stored in e() or r() because it is fairly simple to re-create them and it is not clear why you would need to store them.

The real question is what you want to do with the values -- what is you goal?. If you are planning to compare multiple models, then maybe you should be looking at the -estimates- commands (store, table, etc). If you want them for exporting as tables, maybe you should check out -estout- or -outreg2-. Otherwise, you will have to do it "by hand", which can be automated fairly easily depending on your ultimate goal.

Michael Blasnik

----- Original Message ----- From: <Timothy.Mak@iop.kcl.ac.uk>
To: <statalist@hsphsun2.harvard.edu>
Sent: Wednesday, July 12, 2006 11:07 AM
Subject: RE: st: how can I save confidence intervals, t and p values in macros?



i have checked the manuals and searched the help. e(b) gives the
coefficient estimates, and e(V) gives the covariance of the estimates. But
do I then have to calculate the p, the t, and the Confidence Intervals by
hand?

Tim

i think it's the same for all regression type commands...
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index