[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Calculating p-values for listwise Pearson correlation coefficients
At 08:08 PM 2/12/2005 -0600, Mosi A. Ifatunji wrote:
Restrict -pwcorr- to the cases with complete data, e.g.
My question is, How do I get Stata to report p-values for listwise (not
pairwise) correlation coefficients?
At present I can get p-values for pairwise correlation coefficients when
using the pwcorr command, but I cannot get p-values when using the
correlate command for listwise correlations.
pwcorr x1 x2 x3 x4 if !missing(x1, x2, x3, x4), sig
It does seem odd to me that -pwcorr- and -corr- do not offer the same
options. If I was writing such a routine from scratch I'd probably write a
single corr command that had a lot of options, one of which was pairwise
* For searches and help try: