Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: RE: Table with lincom output?
From 
 
"Martin Weiss" <[email protected]> 
To 
 
<[email protected]> 
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: [email protected]
[mailto:[email protected]] On Behalf Of Devan Marshall
Sent: Sonntag, 14. März 2010 02:04
To: [email protected]
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/