BookmarkSubscribeRSS Feed
AniaB
Calcite | Level 5
Is there a way to calculate adjusted hazard curves for specific levels of a single variable which are adjusted for all other covariates in the model? Basically, I would like to plot hazard curves for my outcome for three different race/ethnicity groups, but there are a number of other covariates in the full model, all of which are categorical, that I would like these curves to be adjusted for. The SAS documentation for PROC PHREG only describes how to calculate hazard curves when values are specified for all of the covarites, and if no values are specified, then reference values are used by default. However, I don't want to show these curves for specific subgroups of my population; I'd like the curves to apply to the entire population, adjusted for these other variables. Is this possible?

Thanks in advance for your responses!
1 REPLY 1
Doc_Duke
Rhodochrosite | Level 12
If you recode your categorical covariates into 0/1 numeric variables, then PHREG will set them to their mean in setting up the adjusted curves. I think that is what you are saying when you use the term 'entire population.'

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

What is ANOVA?

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.

Discussion stats
  • 1 reply
  • 1678 views
  • 0 likes
  • 2 in conversation