Bookmark and Share

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]

st: RE: RE: write all the p values from correlations into a table


From   "Lachenbruch, Peter" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: RE: write all the p values from correlations into a table
Date   Tue, 14 Sep 2010 10:34:47 -0700

I strongly disagree with the philosophy of looking at 600 p-values (and most likely picking off the largest ones).  This is poor statistics and poor science.  Please read something on multiplicity and why this is bad news.

A recent paper in the Lancet showed that eating cereal in the first trimester increased the probability of a male baby to 0.55.  They had done 262 tests on various diets and found the most significant one.  A plot of the p-values (done by a critic of the paper) showed a perfect straight line when comparing the p-values with a line of slope 1. 

I strongly suggest you abandon this approach.

Tony

Peter A. Lachenbruch
Department of Public Health
Oregon State University
Corvallis, OR 97330
Phone: 541-737-3832
FAX: 541-737-4001


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Martin Weiss
Sent: Tuesday, September 14, 2010 10:20 AM
To: [email protected]
Subject: st: RE: write all the p values from correlations into a table


<>

***********
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: [email protected] [mailto:[email protected]] On Behalf Of helen bian
Sent: Dienstag, 14. September 2010 18:17
To: [email protected]
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/

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index