BookmarkSubscribeRSS Feed
Babloo
Rhodochrosite | Level 12

May I rqeuest someone to explain about Hazard Ratio and Strata statement from proc phreg in simple terms?

3 REPLIES 3
Babloo
Rhodochrosite | Level 12

I would be grateful if someone could help understand Hazard Ratio in Proc PhReg.

 

Thanks!

JacobSimonsen
Barite | Level 11

With the hazardratio statement you can get phreg to compute hazardratios for the parameters of interest. For example, if your parameter of intersest is "A" and you have an interaction term with "A*B", then you can with the hazardratio statement you can get the effect of A for each value of B. Like this example:

proc phreg data=mydata ;
  class A B/param=ref;
  model (entry exit)*event_(0)=A*B;
  hazardratio A/at(B=all);
run;

The hazardratio statement does not decide what model you use. It is only used to specify what output you will see from the fitted model.

 

 

The strata statement is used to specify if the background hazard rate should be dependent on some class variable. If you have a strata variable you in principle adjust for an interaction term between the underlying time scale and the strata variable. You can not have you covariate of interest in strata, because it will not give you estimate for strata effects - the background hazard rate is non-parametric. A very common used model in epidemiology is to have birthyear as strata and age as underlying time, since you then effectively also have a non-parametric adjustement for calendar time.

Babloo
Rhodochrosite | Level 12

My apologies if I was not clear in my intial post. I meant to ask about 'Hazard Ratio' in output window which we used to get after the successful completion proc phreg.

sas-innovate-2024.png

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.

 

Register now!

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
  • 3 replies
  • 2528 views
  • 0 likes
  • 2 in conversation