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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.