I have one question about the line:
drop if (evtimecase >= evtimectl) // control member is not in risk set
This excludes case-control pairs whose time to event for the case is greater than or equal to the time to the event for the control. In the event that the entry date is not the same for all participants wouldn't it also be necessary to exclude the case-control pairs whose age at time of event for the cases is greater than the age at the time of event/death/censoring for the control?
drop if (evtimecase >= evtimectl) // control member is not in risk set
This excludes case-control pairs whose time to event for the case is greater than or equal to the time to the event for the control. In the event that the entry date is not the same for all participants wouldn't it also be necessary to exclude the case-control pairs whose age at time of event for the cases is greater than the age at the time of event/death/censoring for the control?
Comment