Programming the statistical procedures from SAS

SOS on proc phreg output in data table

Reply
Occasional Contributor
Posts: 18

SOS on proc phreg output in data table

Dear pro:

Any one knows how to export HR and 95%CI for HR to a data table directly please?
I only know how to export beta and variance to a data table of outdataset and then calculate HR and 95% CI for HR. Any shortcut please. Thanks alot. Tulip.

proc phreg data=data covout outest=outdataset;
model status*censor(1)=a b /risklimits;
strata id;
run;
Trusted Advisor
Posts: 2,114

Re: SOS on proc phreg output in data table

User the ODS output statement for HAZARDRATIOS. It's in the 9.2 documentation.
Ask a Question
Discussion stats
  • 1 reply
  • 130 views
  • 0 likes
  • 2 in conversation