I defined a Cox model that evaluates the relationship between the number of diseases (x) and hospitalisations for infectious diseases (y). I would like to represent in a plot the hazard ratios, with their 95% CIs, for different values of the number of diseases (0, 1, 2, 3, ...) . Is there a way to do this?
Thank you in advance.
I think so. Can you show the code that you are running to fit the Cox model?
Hi Rick,
this is the code I considered:
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!
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.