I am using a Cox proportional hazards model (PHREG
) in SAS. I have used the (t1,t2)*event
specification to indicate the age at which an individual came into the risk set and the age at which s/he left as described here.
I am trying to figure out how to correctly test/assess the proportional hazards assumption for my primary predictor. My initial guess is to include an interaction between the predictor of interest and log(t2-t1)
but I'd like some confirmation beyond my own gut. Thanks for your help.