turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- Analytics
- /
- Stat Procs
- /
- Spearman correlation with complex survey data

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

11-08-2012 12:25 AM

I am interested in estimating Spearman correlations with survey data. As I understand, the PROC CORR Spearman option is not valid when a WEIGHT statement is used. I have not seen an option for Spearman correlations in the SURVEY procedures. Any suggestions on how to calculate Spearman correlations and use a survey weight? Ideally, I would like to use the bootstrap weights for estimating the p-value for the Spearman coefficient

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

11-16-2012 10:44 AM

Spearman correlations are equivalent to Pearson correlations between the ranks of two variables and Pearson correlations are functions of totals. Therefore, you can estimate Spearman correlations using PROC SURVEYMEANS and a little programming. The method is described in the book "Model Assisted Survey Sampling" by Sardal, Swensson and Wretman. The essential formula that you will need for correlations is found in exercise 13.1.

There are also two Web Examples available at support.sas.com that demonstrate this method. The Web Examples demonstrate how to estimate the variance of a variable and the standard deviation of a variable; correlations are just an extension of the same idea.

http://support.sas.com/rnd/app/examples/stat/SurveyVariance/new_example/index.html

http://support.sas.com/rnd/app/examples/stat/SurveyStdDev/new_example/index.html