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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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