Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: Table with lincom output?


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Table with lincom output?
Date   Sun, 14 Mar 2010 10:37:39 +0100

<>

You can always employ a -postfile- for this purpose:


*************
sysuse auto, clear
reg  price weight length rep78

//-postfile-
tempname hdle
cap erase info.dta

postfile `hdle' est se df   /* 
*/ using info.dta

lincom weight+rep78
post `hdle' (r(estimate)) (r(se)) (r(df))
lincom 2*weight-4*rep78
post `hdle' (r(estimate)) (r(se)) (r(df))
lincom weight+length-2
post `hdle' (r(estimate)) (r(se)) (r(df))

postclose `hdle'

u info, clear
l, noo
*************


HTH
Martin


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Devan Marshall
Sent: Sonntag, 14. März 2010 02:04
To: statalist@hsphsun2.harvard.edu
Subject: st: Table with lincom output?

Hello everyone.

I have run a series of lincom commands and I'd like to organize the
output in a table. I just need the point estimate and se (which I know
you have access with r(estimate) or r(se). So I can save these as
scalars. But I cannot find how to organize them in a simple table. The
esttab doesn't seem to be able to do this.

Any suggestions would be appreciated.

Thank You.

Devan
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index