BookmarkSubscribeRSS Feed
Ceeejay
Calcite | Level 5

Outcome variable = DWHFDAYS*DWHF

treatment = KSUPP

 

PSM

PROC PSMATCH DATA= KMPLOT REGION=ALLOBS;
CLASS TRTMT ACEINHIB DIURETK NSYM HYPERTEN DIURET KSUPP GENDER;
PSMODEL KSUPP(TREATED='1')= ejf_per TRTMT ACEINHIB DIURETK NSYM HYPERTEN DIURET AGE GENDER CHFDUR CREAT KLEVEL;
MATCH METHOD= OPTIMAL(K=1) STAT= LPS EXACT=GENDER CALIPER=0.25;
ASSESS LPS ALLCOV/PLOTS= (BARCHART, BOXPLOT) WEIGHT=NONE;
OUTPUT OUT (OBS=MATCH)= PS_MATCH MATCHID= MATCHID_;
RUN;

 

I need the codes for Proc phreg for my matched output? (Outcome =DWHFDAYS*DWHF; primary exposure = ksupp)

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 386 views
  • 0 likes
  • 1 in conversation