Programming the statistical procedures from SAS

Random effect for patient change center during follow up

Reply
New Contributor lih
New Contributor
Posts: 2

Random effect for patient change center during follow up

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

New Contributor lih
New Contributor
Posts: 2

Random effect for patient change center during follow up

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

 

 

 

PROC Star
Posts: 631

Re: Random effect for patient change center during follow up

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

 

Super User
Posts: 7,092

Re: Random effect for patient change center during follow up

I merged the posts.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Ask a Question
Discussion stats
  • 3 replies
  • 91 views
  • 0 likes
  • 3 in conversation