BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Sanscrit_2prov
Obsidian | Level 7

Proc mixed allows you to output the random effects covariance matrix using an ods table statement. Would anyone know how to convert the covariances to correlations? 

1 ACCEPTED SOLUTION
7 REPLIES 7
jiltao
SAS Super FREQ
You can use the VCORR option in the RANDOM statement to get the correlation matrix for V, or the RCORR option in the REPEATED statement to get the correlation matrix for R.
Sanscrit_2prov
Obsidian | Level 7

I have used the vcorr option but I want the correlation across the whole sample, not within each person. So it would be one correlation coefficient converted from the random effect covariance across all subjects.

jiltao
SAS Super FREQ
The correlation is generally the same from subject to subject. What is your PROC MIXED program?
Sanscrit_2prov
Obsidian | Level 7

Yes I have SAS IML

Sanscrit_2prov
Obsidian | Level 7

Thank you very mch

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 7 replies
  • 957 views
  • 5 likes
  • 3 in conversation