I have tried below sybtaxes (status: 1=stroke, 0=no stroke)
proc lifetest data = want plot= survival (nocensor failure );
time time*status(0);
strata group ;
run;
proc phreg data=want;
class group (ref='1');
model time*status(0)= group/ rl ;
run;
I just cannot get Hazard rate (I don't get hazard ratio) and 95% CI for four levels of group. The output shoulb like this table below.
group
|
N
|
stroke
|
Hazard rate
|
95%CI
|
1
|
|
|
|
|
2
|
|
|
|
|
3
|
|
|
|
|
4
|
|
|
|
|
Is it possible SAS 9.4 can give results like above?
THanks,
XD