Hi,
I have similar problem. I have over 300 clusters, where sizes of clusters varied from 1 (there are many totally independent subjects) to 250 of individuals with total of over 5000 individuals. I have already obtained correlation matrix between indiviuals using R for each of the clusters. I would like to used PROC GENMOD in SAS and use my own correlation structure instead of using say, EXCH for each cluster. There is an option for userdefined matrix in SAS for a single matrix, but how would I specify these several matrices for these clusters? Also, how do I make sure that the SAS picks up the correct correlation between any two individuals from my data in the GENMOD analysis?
Is there any way to specify user defined correlation matrix of all individuals in GENMOD without spefifying clustering variable?
Many thanks in advance.
BNO.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.