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]
Re: st: Several Correlations in one table with esttab
From
Ryan Kessler <[email protected]>
To
[email protected]
Subject
Re: st: Several Correlations in one table with esttab
Date
Sun, 3 Mar 2013 14:06:16 -0500
sysuse auto
eststo clear
eststo: estpost corr mpg weight trunk
eststo: estpost corr price weight trunk
eststo: estpost corr displacement weight trunk
esttab
On Sun, Mar 3, 2013 at 10:10 AM, Lukas Borkowski <[email protected]> wrote:
> 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: [email protected]
>
>
>
>
> *
> * 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/
*
* 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/