lb_wn: lower bound wilson

Description Usage Arguments Value Examples

View source: R/lb_wn.R

Description

calculates lower bound of (1-alpha)100% confidence interval using Wilson's method

Usage

1
lb_wn(z, phat, n_obs)

Arguments

z

numeric, quantile of either standard normal or t distribution coresponding to the desired confidence level 1- alpha

phat

numeric, proporrtion estimate

n_obs

numeric, number of observations

Value

numeric

Examples

1
lb_wn(1.96, 0.6, 100)

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