

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


This document describes the algorithms for computing confidence intervals for percentages and counts for bar charts. The data are assumed to be from a simple random sample, and each confidence interval is a separate or individual interval, based on a binomial proportion of the total count. The computed binomial intervals are equal-tailed Jeffreys prior intervals (see Brown, Cai, & DasGupta, 2001, 2002, 2003). Note that they are generally not symmetric around the observed proportion. Therefore, the plotted interval bounds are generally not symmetric around the observed percentage or count.
The following notation is used throughout this chapter unless otherwise noted:
X (^) i Distinct values of the category axis variable
Rounded sum of weights for cases with value X (^) i
i
Total sum of weights over values of X
pi Population proportion of cases at X (^) i Specified error level for 100(1- psvqrprvr hy
IDF.BETA(p,shape1,shape2) in COMPUTE gives the pth^ quantile of the beta distribution or incomplete beta function with shape parameters shape1 and shape2. For a precise mathematical definition, see page 2 of “Appendix 12: Cumulative Distribution, Percentile Functions, and Random Numbers.”
Lower bound for W p (^) i = W [IDF.BETA( /2, wi +.5, W - wi +.5)].
Upper bound for W pi = W [IDF.BETA(1- /2, wi +.5, W - wi +.5)].
Lower bound for 100 pi = 100 [IDF.BETA( /2, wi +.5, W - wi +.5)].
Upper bound for 100 pi = 100 [IDF.BETA(1- /2, wi +.5, W - wi +.5)].
References
Brown, L. D., Cai, T., & DasGupta, A. (2001). Interval estimation for a binomial proportion. Statistical Science , 16 (2): 101-133.
Brown, L. D., Cai, T., & DasGupta, A. (2002). Confdence intervals for a binomial Proportion and asymptotic expansions. The Annals of Statistics , 30 (4): 160-201.
Brown, L. D., Cai, T., & DasGupta, A. (2003). Interval estimation in exponential families. Statistica Sinica , 13: 19-49.