mi_wald_phat: Calculates the MI-Wald interval if given a vector of observed...

Description Usage Arguments Value Related Functions Examples

View source: R/Wilson.R

Description

Calculates the MI-Wald interval if given a vector of observed binomial proportions (one for each imputed data frame)

Usage

1
mi_wald_phat(phats, n, ci_level = 0.95, summaries = TRUE)

Arguments

phats

vector of binomial proportions (one for each imputation)

n

the common number of observations over the imputed dataframes

ci_level

desired confidence interval level (default 95%)

summaries

boolean: should summary helper values be printed (default TRUE)

Value

Two-length vector of Wilson lower CI and upper CI

Related Functions

Examples

1
2
phats = c(0.2, 0.23, 0.25)
mi_wald_phat(phats, 100, 0.99, TRUE)

MIWilson documentation built on Aug. 24, 2021, 1:06 a.m.