Statalist


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

RE: st: help with displaying appropriately formatted regression coefficients and p-values


From   Roy Wada <[email protected]>
To   <[email protected]>
Subject   RE: st: help with displaying appropriately formatted regression coefficients and p-values
Date   Thu, 1 Oct 2009 09:18:58 -0700

> foreach num of numlist 1.367456 0.0000925 0.5623 13.5678 {

autofmt, input(1.367456 0.0000925 0.5623 13.5678) auto(2)
ret list
 
. ret list
scalars:
             r(deci4) =  1
             r(deci3) =  2
             r(deci2) =  6
             r(deci1) =  2
macros:
           r(output4) : "13.6"
            r(input4) : "13.5678"
              r(fmt4) : "1f"
           r(output3) : "0.56"
            r(input3) : "0.5623"
              r(fmt3) : "2f"
           r(output2) : "0.000092"
            r(input2) : "0.0000925"
              r(fmt2) : "6f"
           r(output1) : "1.37"
            r(input1) : "1.367456"
              r(fmt1) : "2f" 		 	   		  
_________________________________________________________________
Insert movie times and more without leaving Hotmail®.
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009
*
*   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