R/estimProbPrecision.R

Defines functions `estimProbPrecision`

`estimProbPrecision` <-
function(pEstim, n, alpha = 0.025){
# 1 - 2*alpha confidence limits for the estimated (from n Bernouilli trials) probability pEstim
        return(qnorm(1-alpha) * sqrt(pEstim*(1-pEstim)/n))
}

Try the goProfiles package in your browser

Any scripts or data that you put into this service are public.

goProfiles documentation built on Nov. 8, 2020, 8:12 p.m.