@kthartma wrote: Tot_2009 Tot_2010 Tot_2011 Tot_2012 Female Male If that makes sense. Let me know.
Actually, it doesn't make any sense to me. This is just words without description or meaning in the context of correlation of matrices.
The only thing that makes sense to me in the context of correlation matrices is to produce a correlation matrix for males and a different correlation matrix for females. If that's the case, sort by male/female, and then put a BY statement into your PROC CORR.
If that's NOT what you mean, please describe this in detail, instead of the rather brief descriptions you have given so far. Show us an example of what you want.
As long as we're discussing this, I don't see any reason to correlate rate2009 with tot_2016, for example, I can't image how this correlation of data 7 years apart would be meaningful.
... View more