parameters
parameters copied to clipboard
vcov argument for pooled mice objects with parameters()
it would be great if parameters() could have the vcov argument for pooled mice objects.
glm_mi <- with(
dt_imp,
glm(y ~ x, family = "binomial")
)
pooled <- pool(glm_mi)
parameters(pooled, exponentiate = TRUE, vcov = "HC4m")
gives:
Following arguments are not supported in
model_parameters()for models of classmipoand will be ignored: "vcov". In case you obtain expected results, please runmodel_parameters()again without specifying the above mentioned arguments. ...
alternatively, is there a way to convert the pooled mice object to a type that parameters() will accept the vcov argument with?
You could use pool_parameters() on a list of model objects, and then pass the vcov argument
ah thank you! i wasn't aware of that function.