R/propCI-jeffreys.R

Defines functions propCI_jeffreys

propCI_jeffreys <-
function(x, n, l){

  lw <- qbeta(l[1], x + .5, n - x + .5)
  up <- qbeta(l[2], x + .5, n - x + .5)

  return(c(lw, up))
}
brechtdv/prevalence documentation built on June 8, 2022, 4:54 a.m.