1 Confidence Interval for the Population Mean. 2 What a way to start a section of notes – but anyway. Imagine you are at the ground level in front of.

Slides:



Advertisements
Similar presentations
1 Confidence Interval for Population Mean The case when the population standard deviation is unknown (the more common case).
Advertisements

Simple Linear Regression 1. 2 I want to start this section with a story. Imagine we take everyone in the class and line them up from shortest to tallest.
1 One Tailed Tests Here we study the hypothesis test for the mean of a population when the alternative hypothesis is an inequality.
1 Normal Probability Distributions. 2 Review relative frequency histogram 1/10 2/10 4/10 2/10 1/10 Values of a variable, say test scores In.
1 The Normal Probability Distribution. 2 Review relative frequency histogram 1/10 2/10 4/10 2/10 1/10 Values of a variable, say test scores
1 Analysis of Variance This technique is designed to test the null hypothesis that three or more group means are equal.
1 Difference Between the Means of Two Populations.
The standard error of the sample mean and confidence intervals
The standard error of the sample mean and confidence intervals
1 More Regression Information. 2 3 On the previous slide I have an Excel regression output. The example is the pizza sales we saw before. The first thing.
An Inference Procedure
1 Confidence Interval for the Population Proportion.
1 The Basics of Regression Regression is a statistical technique that can ultimately be used for forecasting.
Measures of Variability or Dispersion
1 Hypothesis Testing In this section I want to review a few things and then introduce hypothesis testing.
1 More about the Confidence Interval of the Population Mean.
The standard error of the sample mean and confidence intervals How far is the average sample mean from the population mean? In what interval around mu.
More Simple Linear Regression 1. Variation 2 Remember to calculate the standard deviation of a variable we take each value and subtract off the mean and.
CONFIDENCE INTERVALS What is the Purpose of a Confidence Interval?
BPS - 3rd Ed. Chapter 131 Confidence intervals: the basics.
1 T-test for the Mean of a Population: Unknown population standard deviation Here we will focus on two methods of hypothesis testing: the critical value.
1 The Sample Mean rule Recall we learned a variable could have a normal distribution? This was useful because then we could say approximately.
The Sampling Distribution of the Sample Mean AGAIN – with a new angle.
1 Confidence Interval for Population Mean The case when the population standard deviation is unknown (the more common case).
An Inference Procedure
1 Psych 5500/6500 Statistics and Parameters Fall, 2008.
Estimation Statistics with Confidence. Estimation Before we collect our sample, we know:  -3z -2z -1z 0z 1z 2z 3z Repeated sampling sample means would.
Introductory Statistics for Laboratorians dealing with High Throughput Data sets Centers for Disease Control.
A Sampling Distribution
Ch 8 Estimating with Confidence. Today’s Objectives ✓ I can interpret a confidence level. ✓ I can interpret a confidence interval in context. ✓ I can.
Topic 5 Statistical inference: point and interval estimate
Chapter 7 Statistical Inference: Confidence Intervals
Chapter 8 Introduction to Inference Target Goal: I can calculate the confidence interval for a population Estimating with Confidence 8.1a h.w: pg 481:
Population All members of a set which have a given characteristic. Population Data Data associated with a certain population. Population Parameter A measure.
Statistics 101 Chapter 10. Section 10-1 We want to infer from the sample data some conclusion about a wider population that the sample represents. Inferential.
Lecture 14 Dustin Lueker. 2  Inferential statistical methods provide predictions about characteristics of a population, based on information in a sample.
Ch 8 Estimating with Confidence. Today’s Objectives ✓ I can interpret a confidence level. ✓ I can interpret a confidence interval in context. ✓ I can.
Confidence Intervals for Proportions Chapter 8, Section 3 Statistical Methods II QM 3620.
1 Chapter 6 Estimates and Sample Sizes 6-1 Estimating a Population Mean: Large Samples / σ Known 6-2 Estimating a Population Mean: Small Samples / σ Unknown.
Section 10.1 Confidence Intervals
10.1: Confidence Intervals Falls under the topic of “Inference.” Inference means we are attempting to answer the question, “How good is our answer?” Mathematically:
5.1 Chapter 5 Inference in the Simple Regression Model In this chapter we study how to construct confidence intervals and how to conduct hypothesis tests.
Introduction to the Practice of Statistics Fifth Edition Chapter 6: Introduction to Inference Copyright © 2005 by W. H. Freeman and Company David S. Moore.
Chapter 8: Estimating with Confidence Section 8.2 Estimating a Population Proportion.
Section Estimating a Proportion with Confidence Objectives: 1.To find a confidence interval graphically 2.Understand a confidence interval as consisting.
The Single-Sample t Test Chapter 9. t distributions >Sometimes, we do not have the population standard deviation. (that’s actually really common). >So.
© 2008 McGraw-Hill Higher Education The Statistical Imagination Chapter 8. Parameter Estimation Using Confidence Intervals.
12.1 Inference for A Population Proportion.  Calculate and analyze a one proportion z-test in order to generalize about an unknown population proportion.
Chapter 11: Estimation of Population Means. We’ll examine two types of estimates: point estimates and interval estimates.
Unit 6 – confidence intervals
CONFIDENCE INTERVALS: THE BASICS Unit 8 Lesson 1.
Copyright © 2009 Pearson Education, Inc. 8.1 Sampling Distributions LEARNING GOAL Understand the fundamental ideas of sampling distributions and how the.
1 Chapter 8 Interval Estimation. 2 Chapter Outline  Population Mean: Known  Population Mean: Unknown  Population Proportion.
Ch 8 Estimating with Confidence 8.1: Confidence Intervals.
1 Probability and Statistics Confidence Intervals.
Ex St 801 Statistical Methods Inference about a Single Population Mean (CI)
10.1 Estimating with Confidence Chapter 10 Introduction to Inference.
CHAPTER 8 Estimating with Confidence
CHAPTER 8 Estimating with Confidence
More on Inference.
More on Inference.
Problems: Q&A chapter 6, problems Chapter 6:
CHAPTER 22: Inference about a Population Proportion
Inference on Proportions
CHAPTER 8 Estimating with Confidence
CHAPTER 8 Estimating with Confidence
CHAPTER 8 Estimating with Confidence
CHAPTER 8 Estimating with Confidence
CHAPTER 8 Estimating with Confidence
CHAPTER 8 Estimating with Confidence
Presentation transcript:

1 Confidence Interval for the Population Mean

2 What a way to start a section of notes – but anyway. Imagine you are at the ground level in front of my house at the curb. The picture below is the view of a sprinkler turned on full blast. The one thing bad about the picture is the sprinkler does not shoot in both directions at once. It shoots left and then right. But I put both for illustrative purposes.

3 When I put my sprinkler in the center of my yard I can cover the middle 95% of the front yard. Let’s think about an experiment we could undertake. Say you are outside my house late at night when all the lights are out and you are blindfolded. Then we spin you around a lot. Your job then is to put the sprinkler down in the yard. What is the probability that the center of the yard will get wet? Did you say 95%? Sure you did and here is why. If, when in the center, 95% of the yard can be hit, then putting the sprinkler at different places in the yard would mean that 95% of the time the center of the yard should be hit. Hope this helps you understand confidence intervals. If not, well, sorry.

4 Overview u In this section we study one of the two basic inference methods - l confidence intervals (hypothesis testing is the other) l Confidence intervals are used when our interest is estimating an unknown population parameter.

5 Another story Say there are five people in a room and the ages of the people are 18, 19, 20, 21, 22. If this is a population, the population mean is 20. Now let’s think about samples of size 2. Say I got the first two people – 18, and 19. The sample mean would be 18.5 – this is not the population mean. Some samples of size two will have sample mean = population mean, some won’t. In the real world we do not know the population mean, but the properties of the distribution of sample means help us learn about the population.

6 From my example you see that sometimes the sample mean will not be the population mean. So, a confidence interval builds in a margin of error around our point estimate in the hopes that the interval will include the population mean. The way we calculate the interval is 1) Take the sample mean 2) Calculate another value I will explain about more later 3) Get two numbers by taking the sample mean and subtracting the other value and taking the sample mean and adding the other value. This interval, from a low value to a high value, is hoped to contain the true unknown population mean.

7 X From the last slide I now reiterate some ideas. The line represents sample means. In our sample we get the one represented by the vertical maker. Then we calculate another value – I show you later. Take this number and subtract it from the sample mean to get the lower limit of the interval and also take this number and add it to the sample mean to get the upper limit of the interval. Lower limit sample mean upper limit

8 Overview u An example of when we do confidence intervals is when we want to estimate the unknown population mean. u The inference is based on the sampling distribution of the statistic of interest.

9 Overview u In a previous section we saw that the sampling distribution of sample means has properties based on the parameters of the population. Namely, the sampling distribution of sample means u 1) has a normal distribution u 2) has the same mean as the mean of the population from which the sample is drawn, and u 3) has a standard error equal to the standard deviation of the population from which the sample was drawn divided by the square root of the sample size. u These properties will be exploited in this section.

10 Overview variable in population sample means This is the mean value of the variable in the population as well as the mean of the sampling distribution. This value is one standard error on the low side of the mean. This value is one standard error on the high side of the mean. Note sample means distribution is “thinner” because of property 3 on the previous screen. quantitative

11 Estimating with confidence - overview u When we do not know the value of a population parameter, we may want to estimate it. u The population mean is estimated by the sample mean – in fact we saw before that the sample mean is a point estimate of the population mean.

12 Estimating with confidence - overview u Now, when we look just at the sampling distribution of the sample mean, we know this is the long run pattern of the sample mean. u This is similar to the idea that we don’t know what will come up on the next flip of a coin, but we know heads will come up 50% of the time.

13 Estimating with confidence - confidence interval u A property we learned earlier, combined with our more precise notion of the rule, is that 95% of sample means lie within 1.96 standard errors of the mean.  Imagine 1.96 standard errors is the length of my sprinkler in one direction. If in the center 95% of the yard can get wet, then by putting then sprinkler at other parts of the yard the center will get wet 95% of the time.

14 Estimating with confidence - confidence interval Sample means The mean of the distribution of sample means is the population mean If we start at the pop. Mean and add 1.96 times the standard error we get here. Start at the pop. Mean and subtract 1.96 times the standard error. This is a visual of where the middle 95% of sample means will fall.

15 Estimating with confidence - confidence interval Even if we do not know the value of the population mean, the center of the distribution of sample means will still be located at the population mean. 95% of the sample means will be within 1.96 standard errors from the mean standard errors can be thought of as a distance. We will use this distance to help us make up an interval where we think the unknown population mean will be located.

16 Estimating with confidence - confidence interval To get a confidence interval for the unknown population mean we 1. Calculate the sample mean. 2. Calculate 1.96 standard errors. 3. Take the sample mean and subtract 1.96 standard errors. Take the sample mean and add 1.96 standard errors.

17 Estimating with confidence - confidence interval Sampl e means This is the same slide as on slide 14, but with new information 95% of the sample means are within 1.96 standard errors of the true mean. Using the same 1.96 standard errors as length, then when we get a sample mean and place the same interval around the sample mean, then the interval should contain the unknown population mean 95% of the time. A sample mean example

18 Example Say a company is interested in customer satisfaction. It has created a survey such that from the consumer the company gets a score that measures satisfaction. The company would like to know the population mean score. Say the population standard deviation is 20 (this is a heroic assumption, but let’s use it) and a sample of size 100 has been taken. The standard error of the sampling distribution of sample means is then 20/square root 100 = 20/10 = standard errors is then 1.96(2) = 3.92

19 Estimating with confidence Say the sample mean (x bar) = 82 (I pulled this number out of thin air – in problems given to you the context will dictate what to use). The 95% confidence interval is found by two calculations 1) the low value of the interval is 82 – 3.92 = and 2) the high value of the interval is = The interval is typically reported by writing (78.08, 85.92) The way we report what this interval means is to say: “We can be 95% confident that the true unknown population mean is in the interval (78.08, 85.92).” But, what we really mean is, “we got these numbers by a method that gives correct results 95% of the time.”

20 Estimating with confidence - critical z u The z of 1.96 was the z to get a 95% confidence interval is called the critical z, or z*. x is the area to the right of the critical z = Let’s call this area to the right of the critical z the upper p critical value.

21 Estimating with confidence - critical z u What if we want a 90% confidence interval? x The Z we should use is 1.645

22 Estimating with confidence Let’s redo the example we did before, but do a 90% confidence interval. Sample mean (x bar) = 82 Standard error = 2 and standard errors is The 90% confidence interval is found by two calculations 1) the low value of the interval is 82 – 3.29 = and 2) the high value of the interval is = Or (78.71, 85.29)

23 Estimating with confidence Note that when we went from a 95% to a 90% interval the interval shrank. The 90% interval leaves us less confident and we get a smaller interval. This also means a 95% interval leaves us more confident and gives us a bigger interval. If you want to be 100% sure the interval includes the unknown mean, guess the interval is between a minus infinity and infinity. You can be sure the number is in that rather large interval – but this is not very practical.

24 99% confidence interval The z to use if you want a 99% confidence interval is – so ignore what the dude says on the soundtrack

25 Estimating with confidence - summary u A C% confidence interval means we can be C% confident the unknown parameter lies within Z* standard deviations of the sample mean. u This really means we arrived at these numbers by a method that gives correct results C% of the time. u Here C is the Confidence Coefficient.

26 Level of significance – alpha The book uses the Greek letter alpha to stand for what is called the level of significance. Alpha = 1 – Confidence Coefficient. Well, if we are, for example, 95% confident the interval includes the unknown mean then there is a 5% probability the interval will not include the unknown mean.