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)

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