Suppose I have a sample comprising two distinct groups. I want to estimate the survival curve separately for each group using the Kaplan-Meier method. My primary goal is to visualize any differences in time-to-event between the groups. Additionally, I plan to conduct a log-rank test to formally test for differences.
However, a potential concern arises from the presence of other characteristics of the observations that are unrelated to the group membership. These characteristics may have an impact on the time-to-event outcomes, potentially influencing the picture I wish to portray and hindering the accurate highlighting of differences between the two groups.
To address this issue, I was considering using propensity score matching based on the characteristics and create a more balanced sample that can better isolate the true effects of group membership on the survival curves.
I am seeking advice from the community on whether using propensity score matching in this context would be a sensible approach. Any suggestions or references are highly appreciated.
In a cox model, would I estimate the survival curve for the two groups separately? Or would I just add an indicator variable for group A and then check significance of this coefficient? And is it possible to visualize this? My intention of using the Kaplan Meier with propensity score matching was to get a nice looking graph.
– John Jul 05 '23 at 17:07groupand include it in a single model along with the covariates you want to control for. Yes, evaluate the significance of the coefficient forgroup. In R you can usesurvfit()on the model to display survival curves, with confidence intervals, distinguished only bygroup, at identical representative covariate values. That can "get a nice looking graph" of modeled results. You shouldn't necessarily rule out propensity-matched K-M curves for display purposes. Don't use them for inference; rely on the Cox model instead. – EdM Jul 05 '23 at 17:39