powered by
Calculate Ubar (average response variance over MICE datasets)
Ubar(qhats, m, nrow)
vector of Qhats(means of response for each imputed dataset)
number of imputed datasets
number of observations in the imputed dataset
Ubar: average response variance over MICE datasets
# NOT RUN { imp = mice::mice(mice::nhanes) qhats = Qhats(imp, "hyp") m = imp$m nrow = imp$data %>% nrow() Ubar(qhats, m, nrow) # }
Run the code above in your browser using DataLab