# 6.1: Introduction

- Page ID
- 51808

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\id}{\mathrm{id}}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\kernel}{\mathrm{null}\,}\)

\( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\)

\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\)

\( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)

\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)

\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vectorC}[1]{\textbf{#1}} \)

\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

Suppose you were trying to determine the mean rent of a two-bedroom apartment in your town. You might look in the classified section of the newspaper, write down several rents listed, and average them together. You would have obtained a point estimate of the true mean. If you are trying to determine the percentage of times you make a basket when shooting a basketball, you might count the number of shots you make and divide that by the number of shots you attempted. In this case, you would have obtained a point estimate for the true proportion the parameter \(p\) in the binomial probability density function.

Figure \(\PageIndex{1}\) Have you ever wondered what the average number of M&Ms in a bag at the grocery store is? You can use confidence intervals to answer this question. (credit: comedy_nose/flickr)We use sample data to make generalizations about an unknown population. This part of statistics is called **inferential statistics**. **The sample data help us to make an estimate of a population parameter**. We realize that the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals. What statistics provides us beyond a simple average, or point estimate, is an estimate to which we can attach a measure of accuracy, what we will call a confidence level. We make inferences with a known level of confidence.

In this chapter, you will learn to construct and interpret confidence intervals. You will also learn a new distribution, the Student's-*t*, and how it is used with these intervals. Throughout the chapter, it is important to keep in mind that the confidence interval is a random variable (until a specifi interval is calculated). It is the population parameter that is fixed.

If you worked in the marketing department of an entertainment company, you might be interested in the mean number of songs a consumer downloads a month from iTunes. If so, you could conduct a survey and calculate the sample mean, \(\overline x\), and the sample standard deviation, \(s\). You would use \(\overline x\) to estimate the population mean and \(s\) to estimate the population standard deviation. The sample mean, \(\overline x\), is the **point estimate** for the population mean, \(\mu\). The sample standard deviation, \(s\), is the **point estimate** for the population standard deviation, \(\sigma\).

\(\overline x\) and \(s\) are each called a **statistic**.

A **confidence interval** is another type of estimate but, instead of being just one number, it is an interval of numbers. The interval of numbers is a range of values calculated from a given set of sample data. The confidence interval is likely to include the unknown population parameter.

Suppose, for the iTunes example, we do not know the population mean \(\mu\), but we do know that the population standard deviation is \(\sigma = 1\) and our sample size is 100. Then, by the Central Limit Theorem, the standard deviation of the sampling distribution of the sample means is

\[\frac{\sigma}{\sqrt{n}}=\frac{1}{\sqrt{100}}=0.1.\nonumber\]

The **Empirical Rule**, which applies to the normal distribution, says that in approximately 95% of the samples, the sample mean, \(\overline x\), will be within two standard deviations of the population mean \(\mu\). For our iTunes example, two standard deviations is \((2)(0.1) = 0.2\). The sample mean \(\overline x\) is likely to be within 0.2 units of \(\mu\).

Because \(\overline x\) is within 0.2 units of \(\mu\), which is unknown, then \(\mu\) is likely to be within 0.2 units of \(\overline x\) with 95% probability. The population mean \(\mu\) is contained in an interval whose lower number is calculated by taking the sample mean and subtracting two standard deviations \((2)(0.1)\) and whose upper number is calculated by taking the sample mean and adding two standard deviations. In other words, \(\mu\) is between \(\overline{x}-0.2\) and \(\overline{x}+0.2\) in 95% of all the samples.

For the iTunes example, suppose that a sample produced a sample mean \(\overline{x}=2\). Then with 95% **confidence** the unknown population mean \(\mu\) is between

\[\overline{x}-0.2=2-0.2=1.8 \text { and } \overline{x}+0.2=2+0.2=2.2 \nonumber\]

We say that we are **95% confident** that the unknown population mean number of songs downloaded from iTunes per month is between 1.8 and 2.2. **The 95% confidence interval is (1.8, 2.2).** Please note that we talked in terms of 95% confidence using the Empirical Rule. The Empirical Rule for two standard deviations is only approximately 95% of the probability under the normal distribution. To be precise, two standard deviations under a normal distribution is actually 95.44% of the probability. To calculate the exact 95% confidence level we would use 1.96 standard deviations.

The 95% confidence interval implies two possibilities. Either the interval (1.8, 2.2) contains the true mean \(\mu\), or our sample produced an \(\overline x\) that is not within 0.2 units of the true mean \(\mu\). The second possibility happens for only 5% of all the samples (100% minus 95% = 5%).

Remember that a confidence interval is created for an unknown population parameter like the population mean, \(\mu\).

For the confidence interval for a mean the formula would be:

\[\mu=\overline{X} \pm z_{\alpha/2} \sigma / \sqrt{n}\nonumber\]

Or written another way as:

\[\overline{X}-z_{\alpha/2} \frac{\sigma}{{\sqrt{n}} \leq \mu \leq \overline{X}+z_{\alpha/2} \frac{\sigma}{\sqrt{n}}\nonumber\]

Where \(\overline X\) is the sample mean. The **critical value**, \(z_{\alpha/2}\), is determined by the level of confidence desired by the analyst, and \(\sigma / \sqrt{n}\) is the standard deviation of the sampling distribution for means given to us by the Central Limit Theorem.