I am trying to obtain accurate survival and/or smoothed hazard function graphs following analysis of a cox regression model run using a propensity score matched sample (with kernel matching using psmatch2). The psmatch2 process created a p-weight variable, which I used in the stcox model (see below) and then also tried to obtain survival curves comparing treatment and control conditions. The resulting curves did not match the survival output in terms of 25th and 50th percentile survival times, which I believe may be due to the kernel-weighted propensity matching. I see that kernel-smoothed cumulative hazard curves can be generated, but am concerned that is a separate issue from incorporating the p-weights. Is there a way to generate either survival curves or smoothed hazard curves that incorporate the kernel-weighted propensity score results?
*Survival.
stset timetormvl18 [pweight = _weight], failure(flrmvl==1)
stsum, by(Completers2)
stcox Completers2, vce(cluster Provider2)
stcurve, survival at1(Completers2=0) at2(Completers2=1)
stcurve, kernel(epan) hazard at1(Completers2=0) at2(Completers2=1)
Thank you for any assistance you can provide,
Christian Connell
Yale University School of Medicine
*Survival.
stset timetormvl18 [pweight = _weight], failure(flrmvl==1)
stsum, by(Completers2)
stcox Completers2, vce(cluster Provider2)
stcurve, survival at1(Completers2=0) at2(Completers2=1)
stcurve, kernel(epan) hazard at1(Completers2=0) at2(Completers2=1)
Thank you for any assistance you can provide,
Christian Connell
Yale University School of Medicine
Comment