BookmarkSubscribeRSS Feed
Obsidian | Level 7


I have data from Stepped wedge cluster RCT with 2 level clustering. The outcome is error rate per patients (number of error/total number of orders). Patients are clustered withing wards and measurements are clustered within patients. one patient can readmit into different wards during the study period which makes the patient level random effects cross-classified.  With the following variables, can anyone suggest me the correct model specification with cross-random effects?


ward: unique ward id (level 3)

mrn: unique patient id (levl 2)

error: total number of error (level 1)

totalorder: total number of orders (the offset)

int: intervention (binary variable)

time: time of entering the cluster into the intervention group




Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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
  • 0 replies
  • 1 in conversation