Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: RE: Stata to Latex: Table of tables


From   Stefan Bernhard <stefanbernhard88@gmail.com>
To   statalist <statalist@hsphsun2.harvard.edu>
Subject   Re: st: RE: Stata to Latex: Table of tables
Date   Sat, 1 Jun 2013 11:04:46 +0200

Dear Mustafa, I use esttab of the estout package for my Latex tables,
but I cannot think of a way to produce the output I am looking for.
There are two things that I need to change from the standard output of
the esttab command: I need to include only one coefficient, and I need
to put regressions that are usually reported in columns into rows.

I give a more detailed example:

Suppose there are 4 regressions that i can easily put in 2 Latex
tables via esttab:

........2007
... Cars Houses
X     x       x
Z     z       z
Z     z       z

........2008
... Cars Houses
X     x       x
Z     z       z
Z     z       z


Of those 2 tables I need only the values x and want a single table in
the form (plus standard errors):

..... .... .2007 2008
Cars       x      x
Houses   x      x


I cannot think of a way to do that.

regards, Stefan Bernhard,


2013/6/1 Mustafa Ornek <ornekmstatalist@gmail.com>:
> Do you know about estout?
>
> http://repec.org/bocode/e/estout/
>
> Mustafa
>
> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Stefan Bernhard
> Sent: June-01-13 4:33 AM
> To: statalist
> Subject: st: Stata to Latex: Table of tables
>
> My setup is that I have 60 regressions, which go over 6 years and 10
> categories. From each regression, I only need one coefficient.
> I want to put these 60 coefficients (and standard errors) into a Table with
> the format where the columns are the years and the rows are the categories.
>
> ......2007 2008 2009...
> cat1   X     X      X
> cat2   X     X      X
> cat3   X     X      X
> ...
>
> Is there anyone who knows how to do that (I currently do it by hand but that
> is tedious and prone to mistakes).
> Regards, Stefan Bernhard,
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index