Closed PharmCat closed 1 year ago
😊 @simonster , @andreasnoack , @palday , @nalimilan any considerations please 🙏
Seems reasonable to me to clamp the endpoints to 0 and 1. As a data point, BinomCI
from the R package DescTools seems to do this:
> library("DescTools")
> BinomCI(0, 5, method="agresti-coull")
est lwr.ci upr.ci
[1,] 0.2172412 0 0.4890549
Should lower limit be
min(0, val)
and uppermax(val, 1)
?for example:
Result