我正在使用 lifelines 包运行以下命令:
cph = CoxPHFitter()
cph.fit(data, duration_col='T', event_col='vital_status', show_progress=True)
cph.print_summary()
但是我得到的所有危险比都等于 1 (exp(coef) 和置信区间相同
coef exp(coef) se(coef) coef lower 95% coef upper 95% exp(coef) lower 95% exp(coef) upper 95%
0.00 1.00 0.00 -0.00 0.00 1.00 1.00
-0.00 1.00 0.00 -0.00 -0.00 1.00 1.00
-0.00 1.00 0.00 -0.00 0.00 1.00 1.00
-0.00 1.00 0.00 -0.00 0.00 1.00 1.00
-0.00 1.00 0.00 -0.00 0.00 1.00 1.00
0.00 1.00 0.00 -0.00 0.00 1.00 1.00
0.00 1.00 0.00 -0.01 0.01 0.99 1.01
-0.00 1.00 0.00 -0.00 0.00 1.00 1.00
0.00 1.00 0.00 -0.00 0.00 1.00 1.00
0.00 1.00 0.00 -0.00 0.00 1.00 1.00
0.00 1.00 0.00 -0.00 0.00 1.00 1.00
0.00 1.00 0.00 -0.00 0.00 1.00 1.00
-0.00 1.00 0.00 -0.00 0.00 1.00 1.00
-0.00 1.00 0.00 -0.00 0.00 1.00 1.00
-0.00 1.00 0.00 -0.00 0.00 1.00 1.00
我是不是哪里出错了?所有危险比应该正好为 1 的可能性有多大?