R/pool_propdiff_wald.R
pool_propdiff_wald.Rd
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)
An object of class 'mistats' ('Multiply Imputed Statistical Analysis').
Confidence level of the confidence intervals.
Complete data degrees of freedom. Default
number is taken from function propdiff_wald
The proportion, the Confidence intervals, the standard error and statistic.
imp_dat <- df2milist(lbpmilr, impvar="Impnr")
ra <- with(imp_dat, expr=propdiff_wald(Chronic ~ Gender))
res <- pool_propdiff_wald(ra)
res
#> Prop diff Wald SE t 95 CI low 95 CI high
#> [1,] -0.1389 0.09318 1.95996 -0.32153 0.04373
#> attr(,"class")
#> [1] "mipool"