Programming the statistical procedures from SAS

pcorr in surveyreg

New Contributor
Posts: 2

pcorr in surveyreg

Is it possible to obtain partial correlation coefficients in SAS surveyreg? If so, how? The model statement is not allowing pcorr. Is there a back door or is it just wrong to request partial correlations in SAS Survey?

Respected Advisor
Posts: 2,655

Re: pcorr in surveyreg

Well, I wouldn't call it wrong, but I would call it difficult to do, I think you would have to do the heavy lifting in PROC IML to get the weighted quadratic form matrix, and then do the reduction to partial out each variable.  I don't see any way to do it solely in SURVEYREG--you could export the X'WX matrix to IML and calculate partial correlations there.

Steve Denham

Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation