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]

st: esttab - adding horizontal line under R2


From   Deborah Goldschmidt <dgoldjunk@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: esttab - adding horizontal line under R2
Date   Fri, 03 Aug 2012 15:43:41 -0400

Hello,

I'm using esttab to create a latex table from stored regressions. I've added some extra statistics that are printed at the bottom of the table, underneath the # of observations and r-squared. To make them stand out more, I'd like to add a horizontal line under the r-squared line, but I can't figure out how to do it! I can use
varlabels(, elist(var1 \hline))
to add a horizontal line after var1, but I can't figure out how to get the horizontal line under the r-squared. Can anyone help?

I'm using stata 12 for a mac.  Here's a sample of my code:

esttab ABCD using "`file'.tex", replace style(tex)       ///
    b(%9.3f) se(%9.3f) star r2(%9.3f)                          ///
    scalars("stat1 Statistic 1" "stat2 Statistic 2")         ///
    nonotes tex nogaps noisily

Thank you!
Debbie


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