Statalist


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

st: putting stored estimates into a table


From   moleps <[email protected]>
To   [email protected]
Subject   st: putting stored estimates into a table
Date   Wed, 3 Feb 2010 22:05:57 +0100

Dear listers,
Help on putting parameters from two different regression models and a -suest- into a formatted table would be greatly appreciated;

I´d like to have it formatted along the lines of rows for a,b and c with the different timepoints as columns. a and b would show the beta, confidence interval and the p value, while c only the p-value.

I´ve been fiddling around with esttab and estout (by Ben Jann...available from ssc) to no avail.

My estimates are stored as

-------------------------------------------------------
        name | command      depvar       npar  title 
-------------+-----------------------------------------
          a0 | regress      log_0_male      2  
          b0 | regress      log_0_female    2  
          c0 | suest        no depvar       6  
          a1 | regress      log_1_male      2  
          b1 | regress      log_1_female    2  
          c1 | suest        no depvar       6  
          a2 | regress      log_2_male      2  
          b2 | regress      log_2_female    2  
          c2 | suest        no depvar       6  
          a3 | regress      log_3_male      2  
          b3 | regress      log_3_female    2  
          c3 | suest        no depvar       6  
          a4 | regress      log_4_male      2  
          b4 | regress      log_4_female    2  
          c4 | suest        no depvar       6  
          a5 | regress      log_5_male      2  
          b5 | regress      log_5_female    2  
          c5 | suest        no depvar       6  
          a6 | regress      log_6_male      2  
          b6 | regress      log_6_female    2  
          c6 | suest        no depvar       6  
          a7 | regress      log_7_male      2  
          b7 | regress      log_7_female    2  
          c7 | suest        no depvar       6  
          a8 | regress      log_8_male      2  
          b8 | regress      log_8_female    2  
          c8 | suest        no depvar       6  
-------------------------------------------------------


Regards,

//M


*
*   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