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 at the end of May, and its replacement, statalist.org is already up and running.


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

RE: st: ESTPOST strange behavior


From   patrick patrick <verbatimo@hotmail.fr>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: ESTPOST strange behavior
Date   Thu, 20 Sep 2012 00:21:48 +0200

Do someone know how to include this output in a beamer presentation?
The resulting tex output obtained grom esttab seems too big for a frame in beamer, but I am unable to resize it and even \tiny does not suffice ...

many thanks

----------------------------------------
> From: verbatimo@hotmail.fr
> To: statalist@hsphsun2.harvard.edu
> Subject: RE: st: ESTPOST strange behavior
> Date: Wed, 19 Sep 2012 22:57:55 +0200
>
> it works!
> thanks Carsten!
>
> ----------------------------------------
> > Date: Wed, 19 Sep 2012 22:45:02 +0200
> > From: carsten.sauer@uni-bielefeld.de
> > Subject: Re: st: ESTPOST strange behavior
> > To: statalist@hsphsun2.harvard.edu
> >
> > Hi,
> > specify the cell option:
> >
> > esttab . using D:\Gdrive\Drop\Dropbox\STATADO\paper\tabstat.tex, replace
> > label cell(A B C D E)
> >
> > Example:
> > ------
> > sysuse auto
> > estpost tabstat price weight length , s(count mean p25 med p75)
> > esttab . using test, cell(price weight length) replace
> > -----
> >
> > Best, Carsten
> >
> >
> >
> > Am 19.09.2012 22:08, schrieb patrick patrick:
> > > Dear all
> > >
> > > I am using estpost in order to export in latex a simple table
> > > but when I type
> > >
> > > -estpost tabstat A B C D E, s(count mean p25 med p75)
> > >
> > > Summary statistics: count mean p25 p50 p75
> > > for variables: A B C D E
> > >
> > > | e(A) e(B) e(C) e(D) e(E)
> > > -------------+-------------------------------------------------------
> > > count | 130152 130152 130152 128751 128751
> > > mean | 118.4549 12.76874 -456.4158 -22.37209 19.15267
> > > p25 | 7 3 -366 -51 -8
> > > p50 | 28 5 -40.8 -23 21
> > > p75 | 105 11 96.10001 5 49
> > > esttab . using D:\Gdrive\Drop\Dropbox\STATADO\paper\tabstat.tex, replace label
> > > (output written to D:\Gdrive\Drop\Dropbox\STATADO\paper\tabstat.tex)
> > >
> > > everything seems correct ...
> > > however... the file tabstat.tex has only the tabular structure and no content
> > >
> > > {
> > > \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
> > > \begin{tabular}{l*{1}{c}}
> > > \hline\hline
> > > &\multicolumn{1}{c}{(1)}\\
> > > &\multicolumn{1}{c}{} \\
> > > \hline
> > > \hline
> > > Observations & 596125 \\
> > > \hline\hline
> > > \multicolumn{2}{l}{\footnotesize \textit{t} statistics in parentheses}\\
> > > \multicolumn{2}{l}{\footnotesize \sym{*} \(p<0.05\), \sym{**} \(p<0.01\), \sym{***} \(p<0.001\)}\\
> > > \end{tabular}
> > > }
> > >
> > >
> > > what is wrong here ?
> > >
> > > Many thanks
> > >
> > > *
> > > * 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/
> >
> > --
> >
> > Carsten Sauer
> > SFB 882 "Von Heterogenitäten zu Ungleichheiten"
> > Teilprojekt A6 "Die Legitimation von Ungleichheiten - Strukturelle Bedingungen von Gerechtigkeitseinstellungen"
> > Fakultät für Soziologie
> > Universität Bielefeld
> > Postfach 10 01 31
> > 33501 Bielefeld
> > Tel.: 0521 106-70056/-6948 (Sekr. Frau Fischer)
> > Fax: 0521 106-6479
> >
> > *
> > * 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/
>
> *
> * 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/
 		 	   		  
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index