Re: st: Landscape tables with -estout/esttab-

Dear Clint,
thanks for your help. It is not only a LaTex issue as STATA has to produce the correlation table in a matrix form first. However, the usual -eststo- -esttab- combination does not do it. I therefore just went the extra mile to get it down by using the -foreach- loop,
eststo clear
foreach var in d_poor $controls {
eststo: estpost corr `var' $controls
}
esttab using correlation_matrix.tex, replace p lines not noobs nonum star(* 0.10 ** 0.05 *** 0.01) ///
title("Poverty Correlation Matrix") b(%9.3f) p(%9.3f) booktabs compress notes
eststo clear
The orientation of the table can indeed be changed in Latex, thanks for the link. But is there no way to do it in STATA?
Thanks again for your help, Clint!
Regards,
Lukas
#
Lukas Borkowski
University of London, School of Oriental and African Studies (SOAS)
M: 570722@soas.ac.uk
On 04.03.2013, at 11:36, Clinton Thompson <clintonjthompson@gmail.com> wrote:
> I'm neither an expert on -estout- nor LaTex, but I think this is a
> LaTex issue. There are a number of resources for figuring this out,
> e.g.: http://en.wikibooks.org/wiki/LaTeX/Page_Layout#Page_orientation
> .
> HTH,
> Clint
>
> On Mon, Mar 4, 2013 at 12:12 PM, Lukas Borkowski <570722@soas.ac.uk> wrote:
>> Dear all,
>>
>> I am trying to generate a correlation matrix with quite a few variables and to produce it directly in latex-format. However, so far I can only generate a normal table that is not in landscape format and is too wide. So my question is how do I get -esttab- to produce a landscape table? My command line is
>>
>> eststo clear
>> estpost corr d_poor $controls, matrix listwise
>> esttab using correlation_matrix.tex, replace p lines not noobs nonum star(* 0.10 ** 0.05 *** 0.01) ///
>> title("Poverty Correlation Matrix") b(%9.3f) p(%9.3f) compress booktabs ///
>> notes width(1\textwidth)
>> eststo clear
>>
>> So what do I have to do to get it right? Thank you very much for your help!
>>
>> Kind regards,
>>
>> Lukas
>>
>>
>> #
>> Lukas Borkowski
>> University of London, School of Oriental and African Studies (SOAS)
>>
>> M: 570722@soas.ac.uk
>>
>>
>>
>>
>> *
>> * 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/