Statalist


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

st: Loop & estout


From   "Ana R. Rios" <[email protected]>
To   [email protected]
Subject   st: Loop & estout
Date   Thu, 8 Jan 2009 21:13:03 -0800 (PST)

Fellow Stata users,

I am using a loop to run regressions over different groups.  Is it possible to use estout to create a table from the stored estimates?  I would appreciate any advise/help.

Here is my code:

foreach XXX in urbano rural female male {

reg loginhr aedu edad edad2 exper if `XXX'==1 & muestraok==1[aweight=weight]
reg loginhr niv1p-niv6p edad edad2 exper if `XXX'==1 & muestraok==1  [aweight=weight]
xi: reg loginhr i.aedu edad edad2 exper if `XXX'==1 & muestraok==1 [aweight=weight]

}


Thank you for your time.

Regards,

Ana Rios   


      

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