BookmarkSubscribeRSS Feed
sam369
Obsidian | Level 7

Hi All,

i need to find the risk ratio using phreg model.

i have a dataset with  lenth of tretment variable

i want to find the risk ratio for group (<18 months Vs >=24 months)  And (18-24 Vs >=24)

Can any one help me with an exampl

Thanks

Sam

1 REPLY 1
Reeza
Super User

You need to explain your situation more.

Also, an assumption of PHREG, or a Cox regression model, is proportional hazard over time. So that means that the 'risk ratio' (which I think is the hazard ratio) should be constant?

But its morning and coffee hasn't kicked in yet...

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