I have imputed a data set with mice and want to run a multivariate multiple linear regression on the imputed data. Below is a description of what I have done.
# Imputing data imp<-mice(df, m=25, maxit=100, seed=1234, meth=initial1$method, pred=initial1$predictorMatrix) # Running model fit<-with(imp, lm(cbind(dv1,dv2)+iv3+iv4+iv5)) # Pooling results res<-pool(fit)
However, when trying to pool the results, I get this error code:
Error in glance.mlm(X[[i]], ...) : glance does not support multiple responses
Any suggestions about how to get it to work?