I want to calculate the HR and 95%CI with one unit increase in variable A using proc surveyphreg.
However, there is no output for the confidence interval.
In some files, they suggested to use HAZARDRATIO to output CI, however, there is no this function in my SAS version.
Is there any other solutions? Thanks in advance.
I'm also assuming you've tried the CLPARM option on the MODEL statement which will give you the CI for the estimate, you'll need to do the log transformation yourself but that's easy enough.
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.3/statug/statug_surveyphreg_syntax11.htm
I'm also assuming you've tried the CLPARM option on the MODEL statement which will give you the CI for the estimate, you'll need to do the log transformation yourself but that's easy enough.
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.3/statug/statug_surveyphreg_syntax11.htm
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.