7. Product and Process Comparisons 7.1. Introduction 7.1.4. What are confidence intervals? 

How do we form a confidence interval?  The purpose of taking a random sample from a lot or population and computing a statistic, such as the mean from the data, is to approximate the mean of the population. How well the sample statistic estimates the underlying population value is always an issue. A confidence interval addresses this issue because it provides a range of values which is likely to contain the population parameter of interest. 
Confidence levels  Confidence intervals are constructed at a confidence level, such as 95 %, selected by the user. What does this mean? It means that if the same population is sampled on numerous occasions and interval estimates are made on each occasion, the resulting intervals would bracket the true population parameter in approximately 95 % of the cases. A confidence stated at a \(1\alpha\) level can be thought of as the inverse of a significance level, \(\alpha\). 
One and twosided confidence intervals  In the same way that statistical tests can be one or twosided, confidence intervals can be one or twosided. A twosided confidence interval brackets the population parameter from above and below. A onesided confidence interval brackets the population parameter either from above or below and furnishes an upper or lower bound to its magnitude. 
Example of a twosided confidence interval  For example, a \(100(1\alpha)\) % confidence interval for the mean of a normal population is $$ \bar{Y} \pm \frac{z_{1\alpha/2} \, \sigma}{\sqrt{N}} \, , $$ where \(\bar{Y}\) is the sample mean, \(z_{1\alpha/2}\) is the \(1\alpha/2\) critical value of the standard normal distribution which is found in the table of the standard normal distribution, \(\sigma\) is the known population standard deviation, and \(N\) is the sample size. 
Guidance in this chapter  This chapter provides methods for estimating the population parameters and confidence intervals for the situations described under the scope. 
Problem with unknown standard deviation 
In the normal course of events, population standard deviations
are not known, and must be estimated from the data. Confidence
intervals, given the same confidence level, are by necessity wider
if the standard deviation is estimated from limited data because
of the uncertainty in this estimate. Procedures for creating
confidence intervals in this situation are described fully in
this chapter.
More information on confidence intervals can also be found in Chapter 1. 