prop_nna {miceafter} | R Documentation |
prop_nna
Calculates the posterior beta components
for a single proportion (assuming noninformative prior).
prop_nna(x, data)
x |
name of variable to calculate proportion. |
data |
An object of class 'mistats' ('Multiply Imputed Statistical Analysis'). |
The posterior beta components.
Martijn Heymans, 2021
Raghunathan, T. (2016). Missing Data Analysis in Practice. Boca Raton, FL: Chapman and Hall/CRC. (paragr 4.6.2)
imp_dat <- df2milist(lbpmilr, impvar='Impnr')
ra <- with(imp_dat, expr=prop_nna(Radiation))