I'm looking for a way to do simulation-based inference for, say, a population correlation. I need one (numeric) column to stay as it is, and to be able to permute the second (numeric) column. Then compute the correlation between the two. Then do this many, many times and look at the distribution of computed correlations. Is this possible with PROC SURVEYSELECT, or is another approach preferred?

I can almost certainly solve this somehow, but I would prefer existing SAS functionality if it exists :) Thank you!