Cameron Davidson-Pilon

Results 297 comments of Cameron Davidson-Pilon

Subtracting the mean happens internally after all the interactions have been done. If you want to use interactions, you should use the `forumla=` kwarg.

`X1+X2+X3*X4` goes in, and then we subtract the mean of each column. > If I have centered the matrix (subtracted the mean) before fitting, is subtracting the mean invalid? I...

Hi @Jackmrzhou, unfortunately this repo isn't actively updated. You can still PR, but I can't promise a good review or testing, or even if it will be merged. You could...

hi @microprediction, I'm surprised it fails so bad for discrete data. I don't know a solution immediately, this will take some thought...

I can put a conditional in to use the parent's method if `conditional_after is not None`

There's no option to do this in lifelines. You may have to write an external function to achieve this.

Hi @vunh16, thanks for the suggestion. Can you provide a simple reproducible example so I know what to look for in a fix?

What is the survival function of an AFT model? The AFT model is conditional (i.e requires covariates). Maybe you want `predict_survival_function`?

That's the `WeibullFitter`, not `WeibullAFTFitter`

> How can I get the baseline curve alone There's not really a baseline curve for AFT models (terminology isn't used), but I think you just want to set the...