powered by
Calculate Qhats (means of response for each imputed dataset)
Qhats(mids_obj, response)
mids object created by mice package
string name of binary response variable
Qhats: vector of response means for each imputed dataset
# NOT RUN { imp = mice::mice(mice::nhanes) Qhats(imp, "hyp") # }
Run the code above in your browser using DataLab