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: RE: difference b/w corr and pwcorr

From   "Sarah Edgington" <>
To   <>
Subject   st: RE: difference b/w corr and pwcorr
Date   Tue, 9 Apr 2013 15:17:20 -0700

When in doubt, it's always a good idea to consult both help files and the
manual.  The answer wasn't clear to me at all just from the help, but the
manual entry explains the difference pretty clearly.
It has to do with missing data.  -corr- calculates the correlations for the
observations that are non-missing on all the variables in the varlist.
-pwcorr- calculations the correlation for a particular pair of variables,
ignoring the pattern of missing data for all the other variables in the

-----Original Message-----
[] On Behalf Of Wu Zhang
Sent: Tuesday, April 09, 2013 2:56 PM
Subject: st: difference b/w corr and pwcorr

Hi folks,

     I wanna know the difference between correlation and pairwise
correlation: very confusing, for some varlist, they are the same; while
different for other varlist. Could you guys help me out?



*   For searches and help try:

*   For searches and help try:

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