104 110 137 169 171 173 175 184 201 235 247 260 0000000000 22222222222222222222222222 291 302 304 Stata命令为: stset time, failure(d=1) sts test group sts graph, by(group) 结果 g-rank test for equality of survivor functions Event Events group observed expected 16.69 37.31 54.0088 1 2 89 1 2 90 1 2 93 1 2 104 1 2 110 1 2 134 1 2 137 1 2 160 0 2 169 1 2 171 1 2 173 1 2 175 1 2 184 1 2 201 1 2 222 1 2 235 0 2 247 0 2 260 0 2 284 0 2 290 0 2 291 0 2 302 0 2 304 0 2 341 0 2 345 0 2 Stata 命令为: stset time,failure(d=1) sts test group sts graph,by(group) 结果: Log-rank test for equality of survivor functions | Events Events group | observed expected ------+------------------------- 1 | 8 16.69 2 | 46 37.31 ------+------------------------- Total | 54 54.00