I need to run a coxph model with time dependent weights. I am using proc phreg. Our data set contains patients that transfer from one hospital to another as well as patients that are readmitted. The PI is interested in thirty day mortality from the first day at each individual hospital. Therefore, each patient will only have one outcome but on a specific relative day, they could appear in the risk set more than once. Does this justify needing the random effect at the patient level? I also need a random effect at the hospital level and so if both are required, i run out of resources. If the patient level random effect is needed, is there another way to program around this? -Sammi
... View more