我用以下代码估计样本量时,想根据已有的报告给出曲线,但总是报错,不知道该如何解决。WARNING: The magnitude of the effect is ill-defined in one of the scenarios in the output table.不知道该如何处理?
代码如下
proc power;
twosamplesurvival test=logrank
curve("Control") = (0 to 9 by 1):(1.00 0.84 0.57 0.41 0.29 0.19 0.12 0.06 0.03 0)
curve("Treatment") = (0 to 9 by 1):(1.00 0.95 0.79 0.62 0.48 0.33 0.24 0.10 0.04 0.02)
groupsurvival = "Control" | "Treatment"
accrualtime = 6
followuptime = 6
npergroup = .
alpha= .05
power = .8;
run;