PROC PHREG DATA = my_data;
CLASS industry_code;
MODEL (tstart, tstop)*endpt(0) = treatment_variable industry_code/ TIES = EFRON RL;
RUN;
Answering your questions in order:
1. Yes, the industry code variable should be included in the class statement. You do not need to create dummy variables yourself.
2. If you know that your treatment variable actually is time-varying, I recommend modeling it that way.
Answering your questions in order:
1. Yes, the industry code variable should be included in the class statement. You do not need to create dummy variables yourself.
2. If you know that your treatment variable actually is time-varying, I recommend modeling it that way.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.