hi, is there a way out to plot Confidence intervals in a KM graph in weighted data?
By inserting CI - in stata, the following error comes up:
option ci is not allowed with pweighted data
is there as solution to this?
By inserting CI - in stata, the following error comes up:
option ci is not allowed with pweighted data
Code:
stset died [pw=attweight], failure(died==1) exit(time 1) sts graph, by(treatment) per (100) ci title("Survival %") ylabel(90(0.5)100) scheme(white_jet) plot1(colour(orange_red)) plot2(colour(blue)) legend(order(1 "Tx1" 2 "Tx2"))
Comment