SAS中文论坛

标题: 参考已知生存曲线进行生存分析样本量估计时遇到的问题? [打印本页]

作者: shiyiming    时间: 2013-11-1 11:29
标题: 参考已知生存曲线进行生存分析样本量估计时遇到的问题?
我用以下代码估计样本量时,想根据已有的报告给出曲线,但总是报错,不知道该如何解决。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;

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)
         refsurvival = "Control"
         hazardratio = 0.37
         accrualtime = 6
         followuptime = 6
         npergroup = .
         alpha= .05
         power = .8;
run;




欢迎光临 SAS中文论坛 (http://mysas.net/forum/) Powered by Discuz! X3.2