pool for gamlss objects #407
Replies: 4 comments
-
Thanks for your note. I am afraid I cannot solve this. I see two ways to go forward:
|
Beta Was this translation helpful? Give feedback.
-
Thank you for quick way idea! The broom::tidy already stores all parameters. I edited the code above showing that. |
Beta Was this translation helpful? Give feedback.
-
@dnzmarcio: How did you get the above return for >summary(pool(fit))? When I ran the same code using your sample data, I returned the following: This is equivalent to the summary output of the gamlss BEINF model on the first imputed dataset. Thanks! |
Beta Was this translation helpful? Give feedback.
-
@abhithetree, it seems that the R-package
Then, you do not have the error message: and you get what you wanted:
@stefvanbuuren Should we open a new issue to figure out how the R-package mice will handle this change in the R-package broom? |
Beta Was this translation helpful? Give feedback.
-
The function pool ignores that there are different models for each parameter in gamlss (Generalized Additive Models for Location, Scale and Shape) objects such that it will average over the regression coefficients from different parameters that are modelled with the same covariates.
Libraries and data generation
Fitting a gamlss model with formula for the mean (mu) and the probability of inflated zeros (nu)
Multiple imputation
Issue: pool ignores that there are two regression models for mu and nu resulting in only one set of coefficients
Session Info
Beta Was this translation helpful? Give feedback.
All reactions