View source: R/pool_prop_nna.R
pool_prop_nna | R Documentation |
pool_prop_nna
Calculates the pooled proportion and
confidence intervals using an approximate Beta distribution.
pool_prop_nna(object, conf.level = 0.95)
object |
An object of class 'mistats' ('Multiply Imputed Statistical Analysis'). |
conf.level |
Confidence level of the confidence intervals. |
The parameters for the Beta distribution are calculated using the method of moments (Gelman et al. p. 582).
The pooled proportion and the 95% Confidence interval.
Martijn Heymans, 2021
Raghunathan, T. (2016). Missing Data Analysis in Practice. Boca Raton, FL: Chapman and Hall/CRC. (paragr 4.6.2)
Andrew Gelman, John B. Carlin, Hal S. Stern, David B. Dunson, Aki Vehtari, Donald B. Rubin. (2003). Bayesian Data Analysis (2nd ed). Chapman and Hall/CRC.
with.milist
, prop_nna
imp_dat <- df2milist(lbpmilr, impvar='Impnr') ra <- with(imp_dat, expr=prop_nna(Radiation)) res <- pool_prop_nna(ra) res
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.