Calculates the pooled single proportion confidence intervals according to Wilson across multiply imputed datasets.
pool_prop_wilson
Calculates the pooled single proportion and confidence intervals according to Wald across multiply imputed datasets.
pool_prop_wilson(object, conf.level = 0.95)
object
: An object of class 'mistats' ('Multiply Imputed Statistical Analysis').conf.level
: Confidence level of the confidence intervals.The proportion and the 95% Confidence interval according to Wilson.
library(magrittr) lbpmilr %>% df2milist(impvar="Impnr") %>% with(expr=prop_wald(Radiation ~ 1)) %>% pool_prop_wilson() # Same as imp_dat <- df2milist(lbpmilr, impvar="Impnr") ra <- with(imp_dat, expr=prop_wald(Radiation ~ 1)) res <- pool_prop_wilson(ra)
Anne Lott & Jerome P. Reiter (2020) Wilson Confidence Intervals for Binomial Proportions With Multiple Imputation for Missing Data, The American Statistician, 74:2, 109-115, DOI: 10.1080/00031305.2018.1473796.
with.milist
, prop_wald
Martijn Heymans, 2021