BookmarkSubscribeRSS Feed
xinjian
Calcite | Level 5

Dear All,

I am doing COX analysis, here is my syntax:

proc phreg data=a;

class HR;

model time*status(0)=sex HR age HTN / rl;

run;

Sex , HR, and HTN are binary variables, age is a continuous variable. the output of Analysis of Maximum Likelihood Estimates showed below:

Parameter  DF Hazard 95% Hazard Ratio Confidence 

                         Ratio          Limits 

HR  low        1   16.143    5.8      79.678

age              1    0.753     0.643     0.882

sex              1    0.099     0.015     0.637

HTN            1   5100      0            .

Why HTN has this kind of 95% hazard ratio confidence limits: 0, . ?

is this related to small number of no HTN in HR low group? below is a 2X2 table:

             NO HTN HTN

HRLOW 1           17

HRhigh  4           51

How can I solve this problem?

Thanks for your help.

1 REPLY 1
JacobSimonsen
Barite | Level 11

I think your own answer is correct, namely that the samplesize is too low in some group. Though, since you did not include the interaction between HR and HTN I rather think it is the total "NO HTN" group that are too small.

Also, remember that you need to see some events in all groups, therefore it is relevant to count the number of events at each level for all variables. If there are some level with 0 events, then you can not estimate the hazard-ratio for that level.

Sometimes estimating becomes impossible even if there are events at all levels. Forexample if there are just one event at some level and that event happens at some time where there are no other at risk in any other levels - or if that event is the only event in some level for some other variable (a kind of coliniarity). Try therefore to make the 2X2 table you did, but weighted with number of events.

Jacob

SAS Innovate 2025: Call for Content

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!

Submit your idea!

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
  • 1639 views
  • 0 likes
  • 2 in conversation