ods graphics on;

proc phreg data=ps_data plots(overlay)=cif;
class Rx / order=internal ref=first;
model time*event(0) = Rx /eventcode = 1;
weight st_ps_wt;
baseline covariates=treat / rowid=Rx;
Title "Treatment vs. No Treatment";
run;

ods graphics off;