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: Several Correlations in one table with esttab


From   Lukas Borkowski <570722@soas.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   st: Several Correlations in one table with esttab
Date   Sun, 3 Mar 2013 15:10:09 +0000

Dear all,

I am fairly new to the statalist and have a specific question about -esttab- where I really need your experience. I have several dependent variable and want to run correlation analyses for each model, but need to report the correlation results in just one table. So far, however, all columns of my correlation table just report the results from the first correlation analysis in each column. My code is:

eststo clear
estpost corr d_poor $controls
estpost corr d_pextreme $controls
estpost corr d_pnear $controls
esttab using correlation.tex, replace p lines not noobs nonum star(* 0.10 ** 0.05 *** 0.01) ///
plain title("Poverty Correlation Matrix") mtitles("Overall" "Extreme" "Near") b(%9.3f) p(%9.3f) compress booktabs ///
notes alignment(D{.}{.}{-1}) width(1\textwidth)
eststo clear

So what do I have to do to get it right?

Thanks for your help & regards!

Lukas

#
Lukas Borkowski
University of London, School of Oriental and African Studies (SOAS)

M: 570722@soas.ac.uk




*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index