find_maxbinCIwidth: Find the maximum width of confidence interval for binomial...

Description Usage Arguments Value Examples

View source: R/find_maxbinCIwidth.R

Description

Find the maximum width of confidence interval for binomial test

Usage

1
find_maxbinCIwidth(n, alpha = 0.05, method = c("exact", "z-test"))

Arguments

n

sample size

alpha

type I error, defalt=0.05

method

"exact" means exact binomial test, "z-test" means normal approxiamate binomial test

Value

the confidence interval for each possible number of success and the maximum width of CI

Examples

1
find_maxbinCIwidth(n=12, alpha=0.10, method="z-test")

tqchen07/ctool documentation built on Sept. 3, 2019, 8:36 a.m.