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

 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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