Skip to content
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

Manually setting parameters #1611

Open
Biorrith opened this issue May 10, 2024 · 0 comments
Open

Manually setting parameters #1611

Biorrith opened this issue May 10, 2024 · 0 comments

Comments

@Biorrith
Copy link

I am working with a dataset that has a lot of missing values. Because of this, I am implementing multiple imputation, by which I get M different complete datasets. After this, I train M different CoxPHFitter()'s, which I wish to pool into one model. To do this, I extract all the parameters from the models and combine them using Rubins rules. However, once I obtain the pooled coefficients, I can't find a way to place them back into the model. Simply setting the params_ of the model effectively does nothing. Is it even possible to do so?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant