Statalist


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

RE: st: Re: add results of lincom postestimation command to a table using outreg2


From   Roy Wada <[email protected]>
To   <[email protected]>
Subject   RE: st: Re: add results of lincom postestimation command to a table using outreg2
Date   Thu, 2 Apr 2009 16:38:50 -0700

 
This works, too.


> 
> ****
> sysuse auto, clear
> reg pr we rep tu tr
> lincom weight+trunk
> local coef=r(estimate)
> local se=r(se)
> local t `=`coef'/`se''
> outreg2 using myfile, addstat("estimate", `coef', "standard error", `se', "t 
> statistic", `t')
> seeout using "myfile.txt"
> ****
> 
> Re Excel, see - help outreg2, mark(s_11) -
> 
> HTH
> Martin
_________________________________________________________________
Rediscover Hotmail®: Now available on your iPhone or BlackBerry
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile1_042009
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index