pool_propdiff_wald {miceafter} | R Documentation |
pool_propdiff_wald
Calculates the pooled difference between proportions
and standard error according to Wald across multiply imputed datasets.
pool_propdiff_wald(object, conf.level = 0.95, dfcom = NULL)
object |
An object of class 'mistats' ('Multiply Imputed Statistical Analysis'). |
conf.level |
Confidence level of the confidence intervals. |
dfcom |
Complete data degrees of freedom. Default
number is taken from function |
The proportion, the Confidence intervals, the standard error and statistic.
Martijn Heymans, 2021
imp_dat <- df2milist(lbpmilr, impvar="Impnr")
ra <- with(imp_dat, expr=propdiff_wald(Chronic ~ Gender))
res <- pool_propdiff_wald(ra)
res