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, 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 <>
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 Borkowski
University of London, School of Oriental and African Studies (SOAS)


*   For searches and help try:

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