-
-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Censored Data in Bambi #541
Comments
I was just about to open a similar request... I've built a generic survival model using the pymc-learn API and was thinking about contributing it to bambi. The model uses the Weibull distribution (I don't have a Cox model). However, it has only been tested with 'right' censored data. My proposed syntax for the formula would be: Let's discuss. Would be happy to contribute on this. |
This requires changes in the formulae package. Instead of I opened another issue bambinos/formulae#79 Work in progress on my fork |
Just a ping, here. I love that this is moving along & that there is a really pull-request @ipa! Is there anything that is missing @tomicapretto? Anything I can do to help? |
@ipa @don-jil I haven't had much time to work in Bambi lately. But I'm slowly starting to gain momentum again. The thing with the PR opened is that it will just work for that particular case. I think we need something more general and that requires working both in formulae and bambi internals if I recall correctly. I think I'll have something in my hands in the next 15 days. Would you be interested in helping to test/document stuff? |
Sorry for the delayed response, but yes happy to help test and or document. :-) Will respond in the pull request to that end. |
I'm working on a proposal for models for censored data in Bambi. The problem is that I'm not very familiar with interval censoring (we can decide not to support this in a first shot), but I would still like to understand how it works. @ipa @don-jil do you know of any references to interval censoring? Thanks! |
First, I'm delighted to find babmi and formulae, and very much appreciate all the work you are doing in this space. I'm working with some censored data. I have used brms in R to build models in STAN, but I'd like to transition to python where the data preparation and visualization work occurs. As a feature request, I would very much like to have the ability to use bambi (and formulae) to build the pymc model for censored data and survival analysis. I am currently working on this in pymc without bambi (and formulae), but I love the Wilkinson formula approach. If this should be posted on the formulae repo instead, I'd be happy to do that.
The text was updated successfully, but these errors were encountered: