pool_prop_wald Calculates the pooled proportion and standard error according to Wald across multiply imputed datasets and using Rubin's Rules.

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 prop_wald

Value

The proportion, the Confidence intervals, the standard error and the statistic.

Details

Before pooling, the proportions will be naturally log transformed and the pooled estimates back transformed to the original scale.

Author

Martijn Heymans, 2021

Examples


imp_dat <- df2milist(lbpmilr, impvar="Impnr")
ra <- with(imp_dat, expr=prop_wald(Radiation ~ 1))
res <- pool_prop_wald(ra)
res
#>      Prop Wald Statistic   95%CI L   95%CI U
#> [1,] 0.4622519  1.977215 0.3832793 0.5431653
#> attr(,"class")
#> [1] "mipool"