Closed dnzmarcio closed 3 years ago
Thanks for your note.
I am afraid I cannot solve this. gamlss
fits a model for each moment of the distribution. From your mail I conclude that the tidy()
function for gamlss
objects only stores the model parameters for the model of the first moment.
I see two ways to go forward:
tidy()
and glance()
functions for gamlss
object to include all model coefficients;mice::pool.scalar()
to combine them.
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 tau resulting in only one set of coefficients
Session Info