Learn R Programming

miceafter (version 0.5.0)

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

Value

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

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

Author

Martijn Heymans, 2021

Details

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

See Also

with.milist, prop_wald

Examples

Run this code

imp_dat <- df2milist(lbpmilr, impvar="Impnr")
ra <- with(imp_dat, expr=prop_wald(Radiation ~ 1))
res <- pool_prop_wald(ra)
res

Run the code above in your browser using DataLab