pool_prop_wald {miceafter} | R Documentation |
Calculates the pooled proportion and standard error according to Wald across multiply imputed datasets.
Description
pool_prop_wald
Calculates the pooled proportion and
standard error according to Wald across multiply imputed datasets
and using Rubin's Rules.
Usage
pool_prop_wald(object, conf.level = 0.95, dfcom = NULL)
Arguments
object |
An object of class 'mistats' (repeated statistical analysis across multiply imputed datasets). |
conf.level |
Confidence level of the confidence intervals. |
dfcom |
Complete data degrees of freedom. Default
number is taken from function |
Details
Before pooling, the proportions will be naturally log transformed and the pooled estimates back transformed to the original scale.
Value
The proportion, the Confidence intervals, the standard error and the statistic.
Author(s)
Martijn Heymans, 2021
See Also
Examples
imp_dat <- df2milist(lbpmilr, impvar="Impnr")
ra <- with(imp_dat, expr=prop_wald(Radiation ~ 1))
res <- pool_prop_wald(ra)
res
[Package miceafter version 0.5.0 Index]