powered by
Calculate degrees of freedom used in calculating confidence intervals of t-distributed proportion point estimate \(\bar{Q}_m\)
dof(qhats, m, nrow)
vector of Qhats(means of response for each imputed dataset)
number of imputed datasets
number of observations in the imputed dataset
degrees of freedom
# NOT RUN { imp = mice::mice(mice::nhanes) qhats = Qhats(imp, "hyp") m = imp$m nrow = imp$data %>% nrow() dof(qhats, m, nrow) # }
Run the code above in your browser using DataLab