Standard error of proportion, adjusted for zero- and one-inflation (Gelman et al. 2020)

prop_adj_se(x, n)

Arguments

x

Number of successes

n

Number of tries

References

Gelman A, Hill J, Vehtari A (2020). Regression and other stories. Cambridge University Press.