Chapter 6

Confidence Intervals

Back to List | Introduction | Weather Patterns | Interesting Applets | Exercises

Introduction

In this project you will compute confidence intervals. In particular, you will compute confidence intervals for the same quantity measured at different times, and you will then compare these intervals. The subject is temperature and the patterns exhibited over several years.

Back to the Top

Weather Patterns

Temperature patterns seen to be changing around the U.S. Winters seem shorter, summers seem hotter, and major storms seem more frequent. Let’s collect some data and look at what’s happening in your area.

Remember the Weather Underground? Their page of weather data can be found at http://www.wunderground.com. For a refresher on how to locate historical data for a particular city, go back to the project for Chapter 2 and review.

Once you recall how to find data, do the following.

Collect the Max. Temperature reading for each day in your home city or a city near you in

  1. February and August of the most recent year containing both.
  2. February and August two years previous
  3. February and August 4 years previous

The Exercises will tell you how to proceed with the data.

Back to the Top

Interesting Applets

The University of South Carolina Statistics Department Web site contains a number of Java Applets located at

http://www.stat.sc.edu/~west/javahtml/ConfidenceInterval.html

Go to this site and locate the applet on confidence intervals. There is a description of what the applet is doing along with instructions on its use. Here’s a little more info.

The applet simulates the sampling of data. In particular, it draws a sample of size 5 from a normal distribution that has a mean of 0 and a standard deviation of 1. The applet then computes a confidence interval for the mean of the distribution using the confidence level 1- (such as 0.95 or 95%) and graphs the interval as a vertical line.

For example, if based on the first sample of 5, the computed confidence interval is then the vertical line

is drawn. If the second sample of size 5 gives the confidence interval then a second vertical line is added to the graph

and so on. The applet shows you fifty such intervals at one time.

Back to the Top

Exercises

Play with the applet and be sure you understand what it is displaying before continuing to the exercises below.

When you've completed each exercise, click "Submit for Grade" in order to submit your answers to your professor.

1.  

Compute 99% confidence intervals for the average daily maximum temperature in February for each of the three years in which you collected data. How do they compare?



2.  

Compute 99% confidence intervals for the average daily maximum temperature in August for each of the three years in which you collected data. How do they compare?



3.  

After repeatedly executing the USC confidence interval applet, you will notice intervals that do not contain 0. Since these are confidence intervals for the mean of the underlying population and we know that population has a mean of 0, should we expect all confidence intervals to contain 0? Explain.



4.  

For an alpha value of 0.05, use the confidence interval applet to estimate the probability that 0 will not be in a confidence interval. Summarize your work in detail. What is the theoretical probability?


   


© 2000 by Addison Wesley Longman
A division of Pearson Education