You are on page 1of 3

Module 3 Excel Utility

This workbook contains two utilities related to confidence intervals.


Click on the appropriate worksheet tab to access the desired utility.

1. Confidence interval utility. Calculates confidence intervals for specified:


- sample mean or - sample proportion
- sample standard deviation - sample size
- sample size - level of confidence
- level of confidence

2. Sample size utility. Calculates the minimum sample size for a confidence
interval for specified:
- sample standard deviation
- level of confidence
- confidence interval width

347904258.xls Introduction 1/3


Confidence Interval Utility

Type of Estimate: Mean Proportions


Sample Size: n >= 30 n < 30 n >= 30
Input Area n 100 n 20 n 100
x-bar 5 x-bar 5 p-bar 0.5
s 10 s 10 confidence level 0.95
confidence level 0.95 confidence level 0.95

Output Area Center of Interval 5.00 Center of Interval 5.00 Center of Interval 0.50
z*s/sqrt(n) 1.96 t*s/sqrt(n) 4.68 z*s/sqrt(n) 0.10
Lower end of int'l 3.04 Lower end of int'l 0.32 Lower end of int'l 0.402
Upper end of int'l 6.96 Upper end of int'l 9.68 Upper end of int'l 0.598

Other Interval width 3.92 Interval width 9.36 Interval width 0.20
Calculations 1-confidence level 0.05 1-conf 0.05 1-confidence level 0.05
(1-confidence level)/2 0.025 t 2.09 (1-confidence level)/2 0.025
z 1.96 z 1.96
sqrt(n) 10.00 sqrt(n) 4.47 (p)(1-p) 0.25
s/sqrt(n) 1.00 s/sqrt(n) 2.24 s = sqrt[(p)(1-p)} 0.50

sqrt(n) 10.00
s/sqrt(n) 0.05

Check assumptions:
np>5 OK
n(1-p) > 5 OK

347904258.xls Confidence Intervals 2/3


Sample Size Utility

Type of Estimate: Mean Proportion

Input Area Sample Standard Deviation, s 50 Estimate of p 0.5


Desired Accuracy: Half Width of Interval, d 5 Desired Accuracy: Half Width of Interval, d 0.02
Confidence level 0.95 Confidence level 0.95

Output Area Required Sample Size 385 Required Sample Size 2,401

Other 1-confidence level 0.05 1-confidence level 0.05


Calculations (1-confidence level)/2 0.025 (1-confidence level)/2 0.025
z 1.96 z 1.96

z*s 98.00 (p)(1-p) 0.25


z*s/d 19.60 s = sqrt[(p)(1-p)} 0.50
Minimal n 384.15 z*s = {z*sqrt[(p)(1-p)]} 0.98
z*s/d = {z*sqrt[(p)(1-p)]}/d 49.00
Minimal n to ensure np>5 10.0
Minimal n to ensure n(1-p)>5 10.0
Minimal n to ensure d < (zs/sqrt(n)) 2,400.9
Minimal n to satisfy all constraints 2,400.9
Assumptions:
Sample Size will be above 30. If not, raise sample size to 30 to make assumptions valid.
Proportion Estimate is the maximum you expect p to be. If you don't have a good estimate of the proportion,
use p = .5, which gives maximal standard deviation.

347904258.xls Sample Size 3/3

You might also like