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:
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.