I am using multiple imputation on missing data and then using the pool_mi function to get coefficients. Since my data is clustered I also had to calculate cluster robust SE my regression model using the lm.cluster function. However the output for the coefficients is in log odds form I believe. How can I convert the coefficients to be marginal effects? Or if that is not possible to be in probabilities? I've tried to follow this posts (linked here) but can't figure it out since my situation is a bit more complicated... Below is the example code for what I have done with the function and images of the output. Thank you!
library(mitools)
library(miceadds)
data(data.ma05)
dat <- data.ma05
# imputation of the dataset: use six imputations
resp <- dat[, - c(1:2) ]
imp <- mice::mice( resp, method="norm", maxit=3, m=6 )
datlist <- miceadds::mids2datlist( imp )
# linear regression with cluster robust standard errors
mod <- lapply( datlist, FUN=function(data){
miceadds::lm.cluster( data=data, formula=denote ~ migrant+ misei,
cluster=dat$idclass )
} )
# extract parameters and covariance matrix
betas <- lapply( mod, FUN=function(rr){ coef(rr) } )
vars <- lapply( mod, FUN=function(rr){ vcov(rr) } )
# conduct statistical inference
summary( miceadds::pool_mi( qhat=betas, u=vars ) )
