### Beyond AP Statistics

#### Probability Basics

#### Small Samples

#### Distributions

#### Power

### Beyond AP Statistics

#### Probability Basics

#### Small Samples

#### Distributions

#### Power

# Confidence Interval: Sample Mean

This lesson describes how to construct a confidence interval around a sample mean, x.

## Estimation Requirements

The approach described in this lesson is valid whenever the following conditions are met:

- The sampling method is simple random sampling.
- The sampling distribution is approximately normally distributed.

Generally, the sampling distribution will be approximately normally distributed when the sample size is greater than or equal to 30.

## The Variability of the Sample Mean

To construct a confidence interval for a sample mean, we need to know the variability of the sample mean. This means we need to know how to compute the standard deviation or the standard error of the sampling distribution.

- Suppose
*k*possible samples of size*n*can be selected from a population of size*N*. The standard deviation of the sampling distribution is the "average" deviation between the*k*sample means and the true population mean, μ. The standard deviation of the sample mean σ_{x}is:σ

where σ is the standard deviation of the population,_{x}= σ * sqrt{ ( 1/n ) * ( 1 - n/N ) * [ N / ( N - 1 ) ] }*N*is the population size, and*n*is the sample size. When the population size is much larger (at least 20 times larger) than the sample size, the standard deviation can be approximated by:σ

_{x}= σ / sqrt( n ) - When the standard deviation of the population σ is unknown,
the standard deviation of the sampling distribution
cannot be calculated. Under these
circumstances, use the standard error.
The standard error (SE) can be calculated from the equation below.
SE

where_{x}= s * sqrt{ ( 1/n ) * ( 1 - n/N ) * [ N / ( N - 1 ) ] }*s*is the standard deviation of the sample, N is the population size, and*n*is the sample size. When the population size is much larger (at least 20 times larger) than the sample size, the standard error can be approximated by:SE

_{x}= s / sqrt( n )

Note: In real-world analyses, the standard deviation of the population is seldom known. Therefore, the standard error is used more often than the standard deviation.

## Alert

The Advanced Placement Statistics Examination only covers the "approximate" formulas for the standard deviation and standard error.

σ_{x} =
σ / sqrt( n )

SE_{x} =
s / sqrt( n )

However, students are expected to be aware of the limitations of these formulas; namely, the approximate formulas should only be used when the population size is at least 20 times larger than the sample size.

## How to Find the Confidence Interval for a Mean

Previously, we described how to construct confidence intervals. For convenience, we repeat the key steps below.

- Identify a sample statistic. Use the sample mean to estimate the population mean.
- Select a confidence level. The confidence level describes the uncertainty of a sampling method. Often, researchers choose 90%, 95%, or 99% confidence levels; but any percentage can be used.
- Find the margin of error. Previously, we showed how to compute the margin of error.
- Specify the confidence interval. The range of the confidence
interval is defined by the
*sample statistic*__+__*margin of error*. And the uncertainty is denoted by the confidence level.

In the next section, we work through a problem that shows how to use this approach to construct a confidence interval to estimate a population mean.

## Sample Planning Wizard

As you may have noticed, the four steps required to specify a confidence interval for a sample mean can involve many time-consuming computations. Stat Trek's Sample Planning Wizard does this work for you - quickly, easily, and error-free. In addition to constructing a confidence interval, the Wizard creates a summary report that lists key findings and documents analytical techniques. Whenever you need to construct a confidence interval, consider using the Sample Planning Wizard. The wizard is free. It can found in the Stat Trek main menu under the Stat Tools tab. Or you can tap the button below.

Sample Planning Wizard## Test Your Understanding

**Problem 1**

Suppose a simple random sample of 150 students is drawn from a population of 3000 college students. Among sampled students, the average IQ score is 115 with a standard deviation of 10. What is the 99% confidence interval for the students' IQ score?

(A) 115 __+__ 0.01

(B) 115 __+__ 0.82

(C) 115 __+__ 2.1

(D) 115 __+__ 2.6

(E) None of the above

**Solution**

The correct answer is (C). The approach that we used to solve this problem is valid when the following conditions are met.

- The sampling method must be simple random sampling. This condition is satisfied; the problem statement says that we used simple random sampling.
- The sampling distribution should be approximately normally distributed. Because the sample size is large, we know from the central limit theorem that the sampling distribution of the mean will be normal or nearly normal; so this condition is satisfied.

Since the above requirements are satisfied, we can use the following four-step approach to construct a confidence interval.

- Identify a sample statistic. Since we are trying to estimate a population mean, we choose the sample mean (115) as the sample statistic.
- Select a confidence level. In this analysis, the confidence level is defined for us in the problem. We are working with a 99% confidence level.
- Find the margin of error. Elsewhere on this site, we show
how to compute the margin of error when the sampling
distribution is approximately normal. The key steps are
shown below.
- Find standard deviation or standard error. Since we do not
know the standard deviation of the population, we cannot compute the
standard deviation of the sample mean; instead, we compute the standard
error (SE). Because the sample size is much smaller than the
population size, we can use the "approximate" formula for the
standard error.
SE = s / sqrt( n ) = 10 / sqrt(150)

SE = 10 / 12.25 = 0.82

- Find critical value. The critical value is a factor used to
compute the margin of error. For this example, we'll express the critical
value as a
t score.
To find the critical value, we take these steps.
- Compute alpha (α):
α = 1 - (confidence level / 100)

α = 1 - 99/100 = 0.01

- Find the critical probability (p*):
p* = 1 - α/2 = 1 - 0.01/2 = 0.995

- Find the
degrees of freedom (df):
df = n - 1 = 150 - 1 = 149

- The critical value is the t statistic having 149 degrees of freedom and a cumulative probability equal to 0.995. From the t Distribution Calculator, we find that the critical value is 2.61.

Note: We might also have expressed the critical value as a z-score. Because the sample size is fairly large, a z-score analysis produces a similar result - a critical value equal to 2.58.

- Compute alpha (α):
- Compute margin of error (ME):
ME = critical value * standard error

ME = 2.61 * 0.82 = 2.1

- Find standard deviation or standard error. Since we do not
know the standard deviation of the population, we cannot compute the
standard deviation of the sample mean; instead, we compute the standard
error (SE). Because the sample size is much smaller than the
population size, we can use the "approximate" formula for the
standard error.
- Specify the confidence interval. The range of the confidence
interval is defined by the
*sample statistic*__+__*margin of error*. And the uncertainty is denoted by the confidence level.

Therefore, the 99% confidence interval is 112.9 to 117.1. That is, we are 99%
confident that the true population mean is in the range
defined by 115 __+__ 2.1.

Bestsellers Advanced Placement Statistics Updated daily | ||

1. Barron's AP Statistics, 9th Edition $18.99 $12.91 | ||

2. Barron's AP Statistics, 8th Edition $18.99 $17.98 | ||

3. Cracking the AP Statistics Exam, 2017 Edition: Proven Techniques to Help You Score a 5 (College Test Preparation) $19.99 $14.20 | ||

4. Barron's AP Statistics, 7th Edition $18.99 $8.99 |

Texas Instruments TI-83 Plus Graphing Calculator $149.99 $94.98 37% off | |

See more Graphing Calculators ... |

Bestsellers Handheld Calculators Updated daily | ||

1. Sharp EL-W535B WriteView Scientific Calculator $24.99 $14.99 | ||

2. Texas Instruments Nspire CX CAS Graphing Calculator, Frustration Free Package $149.99 $149.99 | ||

3. Casio FX-CG10 PRIZM Color Graphing Calculator (Black) $110.57 $110.57 | ||

4. Sharp EL-W516B Scientific Calculator with WriteView (Black) $46.50 $46.50 |

Analyzing Business Data with Excel: Forecasting, Statistics, and Data Management $39.99 $9.41 76% off | |

See more Excel books ... |

Bestsellers Statistics and Probability Updated daily | ||

1. Barron's AP Statistics, 9th Edition $18.99 $12.91 | ||

2. Naked Statistics: Stripping the Dread from the Data $16.95 $13.70 | ||

3. Statistics For Dummies (For Dummies (Math & Science)) $19.99 $13.11 | ||

4. How to Lie with Statistics $13.95 $9.87 |