BookmarkSubscribeRSS Feed
lih
Calcite | Level 5 lih
Calcite | Level 5

In general, patients don't change cetert in a multicenter follow up study, we can set 'random intercept / subject=center; random intercept /subject=patient(ceter)' to account center variability. What if some patients changed center in middle of follow up (a patient had test in center1 in visit 1 and 2 then mobed to center2  for visit 3 and 4)?

 

proc glimmix;

class patient center;

model outcome=visit;

random intercept / subject=center;

random intercept /subject=patient(center);

run;

 

Thanks,

HL

3 REPLIES 3
lih
Calcite | Level 5 lih
Calcite | Level 5

In general, patients don't change cetert in a multicenter follow up study, we can set 'random intercept / subject=center; random intercept /subject=patient(ceter)' to account center variability. What if some patients changed center in middle of follow up (a patient had test in center1 in visit 1 and 2 then mobed to center2  for visit 3 and 4)?

 

proc glimmix;

class patient center;

model outcome=visit;

random intercept / subject=center;

random intercept /subject=patient(center);

run;

 

Thanks,

HL

 

 

 

PeterClemmensen
Tourmaline | Level 20

You'll have more luck posting this type of question in the statistical procedure forum here:

 

https://communities.sas.com/t5/SAS-Statistical-Procedures/bd-p/statistical_procedures

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1820 views
  • 0 likes
  • 3 in conversation