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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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
  • 625 views
  • 5 likes
  • 3 in conversation