Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: AW: pwcorr with more than one "star-level"


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: pwcorr with more than one "star-level"
Date   Mon, 8 Jun 2009 22:21:26 +0200

<> 


********
capt ssc inst estout

sysuse auto, clear

local vars /* 
 */ "pri mpg turn for disp tr tu"

pwcorr `vars' ,/* 
 */  star(.1) bon

qui estpost correlate `vars', /* 
 */ matrix

esttab ., not unstack/* 
 */  compress noobs /* 
 */  star(* 0.10 ** 0.05 *** 0.01)
 ********


HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Christian Weiss
Gesendet: Montag, 8. Juni 2009 21:53
An: statalist@hsphsun2.harvard.edu
Betreff: st: pwcorr with more than one "star-level"

Hello!

I guess I just created my 100 correlation table with several
variables.  So far, I used pwcorr with the "star" option, first with
star(.1), than with star(.05) and lastly with star(.01), combined the
results.Although  this works perfectly, it always takes some time to
manual combine the results for the different significance levels.

Is there any way to realize a pwcorr with different "star" levels, so
that the output marks .1 with *, .05 with ** and .01 with ***?

Best regards
Christian
*
*   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/


*
*   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   |   What's new   |   Site index