Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: having regression tables appear on top of each other in excel, using estout
From
Hilde Karlsen <[email protected]>
To
[email protected]
Subject
Re: st: having regression tables appear on top of each other in excel, using estout
Date
Mon, 4 Jul 2011 11:24:07 +0200
Thank you so much for helping me. Unfortunately, I mis-spesified the
model, which is why the example on the web page
<http://repec.org/bocode/e/estout/advanced.html#advanced907> does not
seem to solve my problem (unless I misunderstood it). I am very sorry
for this. The thing is, I have five different educational groups for
which I would like to run the same linear regression. However, I have
four different dependent variables (Depvar1-Depvar4), which means I
run four linear regressions for each educational group. Then I would
like to export the results to excel in .csv having the results appear
like this:
Eduation1
Education2 Education3 Education4 Education
5
B se(B)
B se(B) B se(B) B se(B) B
se(B)
Depvar1 (e.g. wage)
Indepvars:
Constant
Male
Age
Depvar2 (e.g. logwage)
Indepvars:
Constant
Male
Age
Depvar3 (e.g. hours worked)
Indepvars:
Constant
Male
Age
Depvar4 (e.g. logours worked)
Indepvars:
Constant
Male
Age
N
R2
As of now, my results are reproduced row-wise for the dependent
variables, not column-wise, like in this example. This means I have to
manually cut and paste in order to have the table look like this.
Best regards,
Hilde
*
* 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/