Quickbasic program for exact and mid-P confidence intervals for a binomial proportion.
Computation of the exact confidence interval for a binomial proportion is tedious and requires iterative computer techniques. A Quickbasic program for the IBM PC computer is described that accomplishes the confidence interval calculation accurately, quickly, and with no limits placed on the confidence level, or the size of the numerator or denominator. If desired, the mid-P confidence interval can be computed. The compiled program takes one second on the IBM PC 386/33 without a math co-processor.
Fagan
T
T
MICU/CCU, VAMC Wilkes-Barre, PA 18711, USA.
D000465:Algorithms; D016010:Binomial Distribution; D016001:Confidence Intervals; D008838:Microcomputers; D009716:Numerical Analysis, Computer-Assisted; D015203:Reproducibility of Results; D012985:Software Design; D013997:Time Factors