# SOCR Courses 2008 2009 Stat13 1 Lab5

### From Socr

## Contents |

## Stats 13.1 - Laboratory Activity 5: Confidence Interval Activity

This is an activity to explore the confidence intervals for the population mean when the standard deviation is known

### Description

You can access the applet for the confidence intervals experiment at SOCR Experiments. Use the scroll down button to find the Confidence Interval Experiment.

The confidence interval for the population mean μ when σ is known is given by (when n>30):
where is the value of *z* such that the area to its left (or right) is . For example if we choose a confidence level then 1 − α = 0.95 or α = 0.05 and therefore which gives . The sample mean is the mean of the sample of size *n*, and σ is the standard deviation. In this lab we will generate many confidence intervals based on different sample sizes. The samples in this lab are always selected from the standard normal distribution *N*(0,1). Therefore we know that the mean is μ = 0, and the standard deviation σ = 1. Let's pretend that μ is unknown and that only σ is known. We will select many samples each one of size *n* and use it to construct a confidence interval for the population mean.

### Exercise 1

Using the scroll down button select "Number of Experiments = 100". Select sample size *n* = 20, and choose number of intervals 200. It means: You will select 200 samples and with each sample you will obtain a confidence interval. You will do this 100 times. Take a snapshot and answer the following questions.

- How many intervals (out of the 200) do you expect to miss the population mean μ = 0?
- What do the number -3, -2, -1, 0, 1, 2, 3 represent?
- What do the blue lines represent?
- How is the confidence interval represented?
- What does the green dot represent?
- Write down the formula on which the confidence intervals are based.

### Exercise 2

- Reset and repeat Exercise 1, answering questions 1 and 6, with α = 0.01. Will the intervals be larger, smaller, or stay the same compared to that of Exercise 1?
- Reset and repeat Exercise 1, answering questions 1 and 6, with sample size now
*n*= 80 and α = 0.01. Will the intervals be larger, smaller, or stay the same compared to that of Exercise 1? - Reset and repeat Exercise 1, answering questions 1 and 6, with sample size
*n*= 80 and α = 1.0*E*− 4 (this is 10^{ − 4}). Will the intervals be larger, smaller, or stay the same compared to that of Exercise 1?

Below you can see a snapshot of the run of 100 intervals with .

- SOCR Home page: http://www.socr.ucla.edu

Translate this page: