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: suppressing header information in eststo/esttab


From   Isaac Sorkin <[email protected]>
To   [email protected]
Subject   st: suppressing header information in eststo/esttab
Date   Sun, 11 Mar 2012 19:48:25 -0400

Dear Statalist:

I am using eststo and esttab to create a bunch of table fragments that
I then want to combine together.  In particular, I am computing
statistics of the data.  I want to omit the header that says which
statistic is being displayed (since this will show up elsewhere in a
manual part of the table).

My code is:

eststo: quietly estpost tabstat CoolPeople , statistics(sum) columns(statistics)
esttab using "file.tex" ,  fragment cells(sum(fmt(0) ))  unstack
nonote nonumber nomtitles

This generates a file like:

                          &     sum&     sum&     sum& sum&     sum\\
\hline
CoolPeople                            &      130&      247&      474&
257&      196     \\
\hline
Observations                         &     195&     256&     914 &
330&     241\\

I would like the file to look like:

\hline
CoolPeople                            &      130&      247&      474 &
  257&      196     \\
\hline
Observations                         &     195&     256&     914& 330&     241\\

Help?

Thanks.

Isaac

*
*   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