lifelines icon indicating copy to clipboard operation
lifelines copied to clipboard

CoxTimeVaryingFitter: No check_assumptions method

Open czabriskie opened this issue 4 years ago • 1 comments

On the docs, the CoxTimeVaryingFitter object has an attribute check_assumptions like the COXPHFitter. However, when I looked in the code for CoxTimeVaryingFitter, I didn't see this attribute declared.

However, when I run the code COXTimeVaryingFitter.checkassumptions(test_data_frame) I get an error stating 'CoxTimeVaryingFitter' object has no attribute 'entry_col'. I noticed that this attribute isn't declared in the CoxTimeVaryingFitter object either.

Was check_assumptions removed from this object and the docs need to be updated, or is there something else going on here?

czabriskie avatar Nov 22 '20 01:11 czabriskie

Hi @czabriskie, hm, I wonder if I meant to implement it and add the docs in as a placeholder. Currently, as you point out, it's not available - sorry if this wasted your time!

CamDavidsonPilon avatar Nov 23 '20 13:11 CamDavidsonPilon