Learn R Programming

miceafter (version 0.5.0)

pool_propdiff_wald: 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)

Value

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

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 propdiff_wald

Author

Martijn Heymans, 2021

See Also

with.milist, propdiff_wald

Examples

Run this code

imp_dat <- df2milist(lbpmilr, impvar="Impnr")
ra <- with(imp_dat, expr=propdiff_wald(Chronic ~ Gender))
res <- pool_propdiff_wald(ra)
res

Run the code above in your browser using DataLab