p2_full_ci: condifence interval for difference in binomial proportions

Description Usage Arguments Details Value See Also Examples

View source: R/p2_full_ci.R

Description

calculates (1-alpha) 100% confidence interval for difference in binomial proportions

Usage

1
p2_full_ci(dt_mle, method = c("wald", "fm", "wn"), alpha)

Arguments

dt_mle

tibble containing mle estimated from p2_mle output

method

character string indicating one of the following methods for confidence interval construction: "wald", "fm", "wn".

alpha

numeric, alpha level for two-sided confidence interval

Details

DETAILS

Value

tibble

See Also

mutate,select Normal map2

Examples

1
2
3
dt <- dt_p2(100, 0.7, 0.65)
dtmle <- p2_mle(dt, m2 = 0.05)
p2_full_ci(dtmle, method = "wald", alpha = 0.05)

yuliasidi/bin2mi documentation built on March 11, 2021, 8:10 p.m.