Confidence Intervals for Percentages and Counts in Bar Charts, Study notes of Mathematical Statistics

How to compute confidence intervals for percentages and counts in bar charts using algorithms based on binomial proportions and jeffreys prior intervals. It provides formulas for lower and upper bounds of counts (wpi) and percentages (100pi), and references to related research.

Typology: Study notes

2011/2012

Uploaded on 10/31/2012

sangawar
sangawar 🇮🇳

4.5

(4)

118 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Confidence Intervals for Percentages and
Counts
Introduction
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.
Notations
The following notation is used throughout this chapter unless otherwise noted:
Xi Distinct values of the category axis variable
i
w Rounded sum of weights for cases with value Xi
W =
ii
w
Total sum of weights over values of X
pi Population proportion of cases at Xi
Specified error level for 100(1-FRQILGHQFHLQWHUYDOV
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.”
Confidence Intervals for Counts (Wpi)
Lower bound for W pi = W [IDF.BETA( /2,wi +.5,W-wi +.5)].
Upper bound for W pi = W [IDF.BETA(1- /2,wi +.5,W-wi +.5)].
Confidence Intervals for Percentages (100pi)
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)].
pf2

Partial preview of the text

Download Confidence Intervals for Percentages and Counts in Bar Charts and more Study notes Mathematical Statistics in PDF only on Docsity!

Confidence Intervals for Percentages and

Counts

Introduction

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.

Notations

The following notation is used throughout this chapter unless otherwise noted:

X (^) i Distinct values of the category axis variable

w i

Rounded sum of weights for cases with value X (^) i

W = ∑

i

wi

Total sum of weights over values of X

pi Population proportion of cases at X (^) i Specified error level for 100(1- p‚svqrprv‡r ‰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.”

Confidence Intervals for Counts ( Wpi )

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)].

Confidence Intervals for Percentages (100 p i )

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.