Statalist


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

RE: st: Any ways to specify the regression output to 2 decimal places?


From   Roy Wada <[email protected]>
To   <[email protected]>
Subject   RE: st: Any ways to specify the regression output to 2 decimal places?
Date   Mon, 18 May 2009 05:52:59 -0700

 
 
A correction for typo:

 
findfile _coef_table.ado
filefilter `"`r(fn)'"' regMine1.ado, from("program _coef_table") to("program regMine") replace
filefilter regMine1.ado regMine.ado, from("%9.0g %9.0g %8.2f %5.3f %9.0g %9.0g") to("%7.2f %7.2g %8.2f %5.2f %7.2f %7.2g") replace
cap erase regMine1.ado
prog drop _all
prog define mystuff
version 9
qui `0'
_coef_table_header
regMine
end
 
 
sysuse auto, clear
reg mpg price trunk weight
mystuff reg mpg price trunk weight
 
 
 
_________________________________________________________________
Hotmail® has a new way to see what's up with your friends.
http://windowslive.com/Tutorial/Hotmail/WhatsNew?ocid=TXT_TAGLM_WL_HM_Tutorial_WhatsNew1_052009
*
*   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