Description Usage Arguments Value Examples
Calculates the MI-Wilson interval if given a vector of observed binomial proportions (one for each imputed data frame)
1 | mi_wilson_phat(phats, n, ci_level = 0.95, summaries = TRUE)
|
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) |
two-length vector of Wilson lower CI and upper CI
1 2 | phats = c(0.2, 0.23, 0.25)
mi_wilson_phat(phats, 100, 0.99, TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.