Bookmark and Share

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]

st: ESTPOST strange behavior


From   patrick patrick <[email protected]>
To   <[email protected]>
Subject   st: ESTPOST strange behavior
Date   Wed, 19 Sep 2012 22:08:41 +0200

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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index