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]

st: ESTPOST strange behavior


From   patrick patrick <verbatimo@hotmail.fr>
To   <statalist@hsphsun2.harvard.edu>
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index