7.4    Confidence Intervals

Idea:  Use the value of  from a sample to try to find an interval in which the true population mean m is likely to lie

Consider:  Suppose original population is normal, with mean  m,  standard deviation  s
 

Gives an interval for m such that for 95% of samples, m will lie in the interval!

Called a 95% confidence interval

Actually, slightly more than 95% of values lie within 2 standard deviations of the mean; to get exactly 95%, we need to use those values that are within 1.96 standard deviations of the mean. Thus a slightly refined 95% confidence interval is

 

Glitch:  to use this, need to know s for popluation!

ex:

Why are we 95% confident?  Because we could have gotten a bad sample!  In fact, only for 95% of the samples we could choose will the value of the population mean m lie in the specified interval; for 1 in 20 samples, the "bad" or nonrepresentative samples, the true mean will lie outside of specified interval, and we'll draw an incorrect conclusion by assuming it is in the specified range!
 

99% Confidence Interval

Goal:    find an interval such that  for 99% of samples, the true value of m will lie in the specified range!

Approach:

This is our 99% confidence interval for m
 
The .005 critical value can be found from (accurate) tables, and has the value   z.005  = 2.576
This gives the interval ex: Note: Using the above argument, we can derive confidence intervals for any desired level of confidence; we'd get

A (100 - a)% confidence interval for m (given that s is known)  is given by

where  za/2 = upper  a/2  critical value. (Note that the probability associated with the critical value is half that of the "uncertainty" associated with the confidence interval - we use za/2 for the (100 - a)% confidence interval. For example, for the 95% confidence interval (where we are going to draw the wrong conclusion 5% of the time, i.e., the probability of making a mistake is .05), the critical value used is z.025 !

Usual confidence levels and associated critical values:

90%:  z.05  = 1.645
95%:  z.025  = 1.960
99%:  z.005  = 2.576

ex:

 
 

Sample size vs. Accuracy

A 100% - a% confidence interval for m is

ex:

 
Previous section  Next section