Lifelines Hazard Ratio = 1 for all covariates

147 Views Asked by At

I'm running the following using the lifelines package:

cph = CoxPHFitter()
cph.fit(data, duration_col='T', event_col='vital_status', show_progress=True)
cph.print_summary()

However I'm getting all Hazard ratios equal to 1 (exp(coef) and the same for the confidence intervals

                   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

Have I gone wrong somewhere? How likely is it that all Hazard Ratios should be exactly 1?

Thanks [1]: https://i.stack.imgur.com/aI6sZ.png

0

There are 0 best solutions below