pool_prop_wald: Calculates the pooled proportion and standard error according...

View source: R/pool_prop_wald.R

pool_prop_waldR Documentation

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)

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

Details

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

Value

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

Author(s)

Martijn Heymans, 2021

See Also

with.milist, prop_wald

Examples


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


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