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]
Re: st: Spearman correlations with survey data
From
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: st: Spearman correlations with survey data
Date
Thu, 8 Nov 2012 09:58:49 +0000
Spearman correlation is just Pearson correlation applied to ranks, so
ranking first (use -egen-) gets you from one to the other. Otherwise
P-values for correlations are over-rated in my view, whether in -svy-
contexts or otherwise.
Others should have comments on the -svy- aspects.
Nick
On Thu, Nov 8, 2012 at 5:42 AM, Lee Grenon <[email protected]> wrote:
> I am interested in calculating Spearman correlations for complex survey data. As I understand, I can calculate Pearson correlations using corr with aweight for the coefficients and then calculate the p-values using svy: regress y x and svy: regress x y then selecting the larger p-value. Is there a way of calculating Spearman correlations using a survey weight and bootstrap weights?
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/