04-15-2011 07:22 PM
04-19-2011 02:01 PM
08-29-2011 12:07 PM
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.