BookmarkSubscribeRSS Feed
tulip
Calcite | Level 5
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;
1 REPLY 1
Doc_Duke
Rhodochrosite | Level 12
User the ODS output statement for HAZARDRATIOS. It's in the 9.2 documentation.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 1 reply
  • 1540 views
  • 0 likes
  • 2 in conversation