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 <lgrenon@sfu.ca> 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/