Question: what is the difference between correlation and pairwise correlation?
Answer: There are two kinds of difference between both commands. The first one is that with "corr", Stata uses listwise deletion. ... In contrast, "pwcorr" uses pairwise deletion; in other words, each correlation is computed for all cases that do not have missing values for this specific pair of variables.