BookmarkSubscribeRSS Feed
SAS_User
Calcite | Level 5

I ran a Proc phreg with 2 continuous variables and 3 binary variables. One of the continuous variables (ranges between 10 and 250) is highly significant but the HR is only 1.013. This is from the "Analysis of Maximum Likelihood Estimates" table.

Any thoughts on what might cause such results? I have a reasonable sample size of 150 observations. The binary variables have a distribution of <10 yeses and 140 "no"s

 

5 REPLIES 5
mkeintz
PROC Star

Why is a hazard ratio of 1.013 particularly small for a continuous variable thet ranges from 10 to 250? The HR is presumably for a 1 unit change in the variable (e.g. from 10 to 11). So a 10-unit change has an HR of 1.1378, and the full range of 240 units has an HR of 22.195.  Is that disappointingly low?

--------------------------
The hash OUTPUT method will overwrite a SAS data set, but not append. That can be costly. Consider voting for Add a HASH object method which would append a hash object to an existing SAS data set

Would enabling PROC SORT to simultaneously output multiple datasets be useful? Then vote for
Allow PROC SORT to output multiple datasets

--------------------------
SAS_User
Calcite | Level 5

Thank you very much for your explanation. My HR is actually exactly 1 for a variable that ranges from .1 to 1600. Would that be just displayed that way due to rounding? How can I explain that? Thanks

SAS_User
Calcite | Level 5

It's 1.000 to be exact

JacobSimonsen
Barite | Level 11

I think you should scale your contionous variable such that the variable you put into PHREG goes in from 0 to 10 (or of that order of magnitude).Otherwise rounding errors and errors due to numerical precision otherwise can easily get a too big impact on the interpretation of the estimates.

SAS_User
Calcite | Level 5

Thank you for the suggestion. That was very helpful

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