title: Simple SAS macros for the calculation of exact binomial and Poisson confidence limits.
abstract: Statistical analysis using confidence intervals is now a preferred approach in the medical literature, and confidence limits for binomial proportions and Poisson counts are commonly required. Normal approximations of varying accuracy are often used in such situations and it is not generally realised that non-iterative exact solutions are available. This paper shows that the exact binomial and Poisson confidence limits can be expressed very simply in terms of the inverse beta and inverse gamma distributions, and describes two macros in the SAS programming language to perform the computations. The exact solutions are compared with some approximations and further applications of the techniques are described.
authors.affiliation: Department of Public Health Medicine and Epidemiology, University College Dublin, Ireland.
authors.forename: L
authors.initials: L
authors.lastname: Daly
mesh_terms: D016010:Binomial Distribution; D016001:Confidence Intervals; D008432:Mathematical Computing; D016012:Poisson Distribution; D011381:Programming Languages