BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Jie111
Quartz | Level 8

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

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

 

 

View solution in original post

2 REPLIES 2
Reeza
Super User
What version of SAS/STAT do you have?
You can use an ESTIMATE or other type of statement I believe but it depends on your version.
You can find the version using:

proc product_status;run;

Should be something like SAS/STAT 14.3 or 15.1
Reeza
Super User

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

 

 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 699 views
  • 1 like
  • 2 in conversation