I'm trying to graph survival curves stratified by group and overall on the same plot. I'm able to create these graphs separately, but is there a way to overlay them?
sts graph
sts graph, by(site)
sts graph
sts graph, by(site)
use https://www.stata-press.com/data/r17/drug2, clear set scheme s1color sts graph, hazard saving(gr1, replace) expand 2, g(new) replace drug=3 if new sts graph, by(drug) hazard legend(order(1 "placebo" 2 "drug" 3 "total")) saving(gr2, replace) gr combine gr1.gph gr2.gph
Comment