BookmarkSubscribeRSS Feed
kc
Quartz | Level 8 kc
Quartz | Level 8

Hello,

 

How do I get get the at-risk table by treatment group (variable 'trt') at specific end points say day (0, 100, 200, 300 etc.) from the phreg code below.

 

proc phreg data=meds covs(aggregate) covm;
class trt(ref='B') strata(ref="1");
model (TSTART, TSTOP)*STATUS(0 2) = trt strata/ rl;
hazardratio "A vs. B" trt / diff=ref;
baseline covariates=covd out=outd cmf=_all_/nomean;
id subjid;
run;

Thanks!

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 0 replies
  • 46 views
  • 0 likes
  • 1 in conversation