BookmarkSubscribeRSS Feed
JudeRW
Calcite | Level 5

Hello,

I would like to compute intraclass correlation using Proc Glimmix for a generalized linear mixed modelling (Poisson) with 1 fixed effect (intervention) and 1 random effect (cluster).

I model proportions with the Poisson model, defining log(n) in the offset term :

proc glimmix data=test method=quad;

class CLUSTER INTERVENTION;

model NEVENTS = INTERVENTION / link=log dist=poisson s offset=logn ;

random intercept / subject=CLUSTER G solution

I understand that the residual variance is the 'Estimate' listed in the "Covariance Parameter Estimates" table (or in the G matrix with only 1 row) but I have maybe some misunderstanding. 
I can't find the common variance in order to estimate the ICC for this model: does it correspond to the 'Estimate' per cluster in the "Solution for random effects" ?
The ICC could then be calculated with ( common variance / common variance + residual variance ) but I'm not sure this is appropriate here.

I thought maybe others with more knowledge in GLMM and GLIMMIX may be able to enlighten me. 

Regards,

Jude

3 REPLIES 3
lvm
Rhodochrosite | Level 12 lvm
Rhodochrosite | Level 12

You are specifying a Poisson distribution. There is no residual variance term with a Poisson, by definition. The variance estimate you are seeing is the cluster variance. If you fitted the model without a random effect term, you would not get any variance terms in the output.

 

The variance of the Poisson conditional distribution that you are using is given by the mean. There would be a different mean for each level of intervention.

JudeRW
Calcite | Level 5

Thanks a lot LVM for your answer. I've got it.

To be sure to understand well, does it mean that I can't compute ICC with this distribution? Or is there a way to quantify the degree of similarity in the responses of individuals from the same cluster for the outcome (nevents) ?
Thanks again,

 

Jude

jkellog
Calcite | Level 5

Totally worthless response from SAS.  How does Stata generate ICCs then?

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
  • 3 replies
  • 2889 views
  • 1 like
  • 3 in conversation