pool_propdiff_wald: Calculates the pooled difference between proportions and...

View source: R/pool_propdiff_wald.R

pool_propdiff_waldR 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 propdiff_wald

Value

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

Author(s)

Martijn Heymans, 2021

See Also

with.milist, propdiff_wald

Examples


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


miceafter documentation built on Oct. 2, 2022, 5:08 p.m.