pool_prop_wilson function

Calculates the pooled single proportion confidence intervals according to Wilson across multiply imputed datasets.

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)

Arguments

  • object: An object of class 'mistats' ('Multiply Imputed Statistical Analysis').
  • conf.level: Confidence level of the confidence intervals.

Returns

The proportion and the 95% Confidence interval according to Wilson.

Examples

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)

References

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.

See Also

with.milist, prop_wald

Author(s)

Martijn Heymans, 2021

  • Maintainer: Martijn Heymans
  • License: GPL (>= 2)
  • Last published: 2022-10-02