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: RE: write all the p values from correlations into a table


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: write all the p values from correlations into a table
Date   Tue, 14 Sep 2010 19:19:49 +0200

<>

***********
capt which estout
if _rc ssc inst estout

sysuse auto, clear
qui ds, has(type numeric)
qui estpost cor `r(varlist)', mat

//show matrix of p-values
mat l e(p)
***********


HTH
Martin

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of helen bian
Sent: Dienstag, 14. September 2010 18:17
To: statalist@hsphsun2.harvard.edu
Subject: st: write all the p values from correlations into a table

Dear All,

I want to record the p values only for the correlation between more
than 600 variables.
It is very difficult to record all the p values by the following command
>pwcorr v1 v2, sig

Does anyone know how to record it automatically? Any advice will be
very much approciated.

Many thanks,
Helen
*
*   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   |   Site index