I am currently working on a cause specific hazard regressions (cox) model and my model currently violates the proportional hazards assumption for my primary independent variable.
I am trying to model the cox with a different distribution (such as square root or log) to see if I can find a way to improve my model's fit.
I am currently using the proc phreg function to model this
proc phreg data=work.hypertension covs(aggregate);
class case (ref='0') incquint (ref='1') ruralnum (ref='0');
model timefromhypertension*AdEvent(0,2)= case incquint ruralnum/RL ties=efron;
id case_num;
run;
Is there any way in SAS for me to model the cox and use a different distribution in order to improve its fit?
Thank you
You cannot use a parametric model specification with the Cox model and PROC PHREG. So, you can't specify a distribution essentially.
You cannot use a parametric model specification with the Cox model and PROC PHREG. So, you can't specify a distribution essentially.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.