pool_propdiff_wald {miceafter} | R Documentation |
Calculates the pooled difference between proportions and standard error according to Wald across multiply imputed datasets.
Description
pool_propdiff_wald
Calculates the pooled difference between proportions
and standard error according to Wald across multiply imputed datasets.
Usage
pool_propdiff_wald(object, conf.level = 0.95, dfcom = NULL)
Arguments
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 |
Value
The proportion, the Confidence intervals, the standard error and statistic.
Author(s)
Martijn Heymans, 2021
See Also
Examples
imp_dat <- df2milist(lbpmilr, impvar="Impnr")
ra <- with(imp_dat, expr=propdiff_wald(Chronic ~ Gender))
res <- pool_propdiff_wald(ra)
res
[Package miceafter version 0.5.0 Index]