1 Topic 6 - Confidence intervals based on a single sample Sampling distribution of the sample mean Sampling distribution of the sample variance Confidence.

Slides:



Advertisements
Similar presentations
Estimating a Population Proportion
Advertisements

© 2011 Pearson Education, Inc
Confidence Intervals This chapter presents the beginning of inferential statistics. We introduce methods for estimating values of these important population.
Chap 8-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 8 Estimation: Single Population Statistics for Business and Economics.
Statistics and Quantitative Analysis U4320
Chapter 11- Confidence Intervals for Univariate Data Math 22 Introductory Statistics.
Topic 6: Introduction to Hypothesis Testing
Class notes for ISE 201 San Jose State University
Estimation Procedures Point Estimation Confidence Interval Estimation.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-1 Chapter 7 Confidence Interval Estimation Statistics for Managers.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Confidence Interval Estimation Basic Business Statistics 10 th Edition.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 7-1 Introduction to Statistics: Chapter 8 Estimation.
Chapter 8 Estimation: Single Population
OMS 201 Review. Range The range of a data set is the difference between the largest and smallest data values. It is the simplest measure of dispersion.
Chapter 7 Estimation: Single Population
8-1 Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall Chapter 8 Confidence Interval Estimation Statistics for Managers using Microsoft.
Copyright ©2011 Pearson Education 8-1 Chapter 8 Confidence Interval Estimation Statistics for Managers using Microsoft Excel 6 th Global Edition.
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics
Inference on averages Data are collected to learn about certain numerical characteristics of a process or phenomenon that in most cases are unknown. Example:
Confidence Interval.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Confidence Interval Estimation Business Statistics, A First Course.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-1 Chapter 7 Confidence Interval Estimation Statistics for Managers.
Chapter 7 Confidence Intervals and Sample Sizes
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 7-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Chapter 7 Estimation: Single Population
Confidence Interval Estimation
Conditions Required for a Valid Large- Sample Confidence Interval for µ 1.A random sample is selected from the target population. 2.The sample size n.
8.1 Inference for a Single Proportion
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Confidence Interval Estimation Basic Business Statistics 11 th Edition.
Confidence Interval Estimation
Chap 8-1 Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chapter 8 Confidence Interval Estimation Business Statistics: A First Course.
Estimation of Statistical Parameters
Lecture 14 Sections 7.1 – 7.2 Objectives:
PROBABILITY (6MTCOAE205) Chapter 6 Estimation. Confidence Intervals Contents of this chapter: Confidence Intervals for the Population Mean, μ when Population.
AP Statistics Chap 10-1 Confidence Intervals. AP Statistics Chap 10-2 Confidence Intervals Population Mean σ Unknown (Lock 6.5) Confidence Intervals Population.
Statistical Decision Making. Almost all problems in statistics can be formulated as a problem of making a decision. That is given some data observed from.
Topic 7 - Hypothesis tests based on a single sample Sampling distribution of the sample mean - pages Basics of hypothesis testing -
1 Topic 7 - Hypothesis tests based on a single sample Sampling distribution of the sample mean Basics of hypothesis testing Hypothesis test for a population.
STA Lecture 181 STA 291 Lecture 18 Exam II Next Tuesday 5-7pm Memorial Hall (Same place) Makeup Exam 7:15pm – 9:15pm Location TBA.
Topic 6 - Confidence intervals based on a single sample Sampling distribution of the sample mean - pages Sampling distribution of the.
Module 14: Confidence Intervals This module explores the development and interpretation of confidence intervals, with a focus on confidence intervals.
Chap 7-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 7 Estimating Population Values.
Section 10.1 Confidence Intervals
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 8-1 Confidence Interval Estimation.
© Copyright McGraw-Hill 2000
Chap 7-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 7 Estimating Population Values.
Chap 8-1 Chapter 8 Confidence Interval Estimation Statistics for Managers Using Microsoft Excel 7 th Edition, Global Edition Copyright ©2014 Pearson Education.
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Example: In a recent poll, 70% of 1501 randomly selected adults said they believed.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 8-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 7-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Department of Quantitative Methods & Information Systems
1 Probability and Statistics Confidence Intervals.
10.1 – Estimating with Confidence. Recall: The Law of Large Numbers says the sample mean from a large SRS will be close to the unknown population mean.
Learning Objectives After this section, you should be able to: The Practice of Statistics, 5 th Edition1 DESCRIBE the shape, center, and spread of the.
Chapter 8 Estimation ©. Estimator and Estimate estimator estimate An estimator of a population parameter is a random variable that depends on the sample.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Confidence Interval Estimation Business Statistics: A First Course 5 th Edition.
6-1 Copyright © 2014, 2011, and 2008 Pearson Education, Inc.
Sampling: Distribution of the Sample Mean (Sigma Known) o If a population follows the normal distribution o Population is represented by X 1,X 2,…,X N.
Chapter Nine Hypothesis Testing.
CHAPTER 8 Estimating with Confidence
Chapter 7 Confidence Interval Estimation
ESTIMATION.
Confidence Interval Estimation
Week 10 Chapter 16. Confidence Intervals for Proportions
CONCEPTS OF ESTIMATION
Confidence Interval Estimation
Confidence Intervals with Proportions
Comparing Two Proportions
Chapter 7 Estimation: Single Population
Presentation transcript:

1 Topic 6 - Confidence intervals based on a single sample Sampling distribution of the sample mean Sampling distribution of the sample variance Confidence interval for a population mean Confidence interval for a population variance Confidence interval for a population proportion

22 Confidence Intervals To use the CLT in our examples, we had to know the population mean, , and the population standard deviation, . It is okay to estimate the population parameters if we have a huge amount of sample data, using and s respectively. In most cases, the primary goal of the analysis of our sample data is to estimate and to determine a range of likely values for these population values.

33 Confidence interval for  with  known Suppose for a moment we know  but not  The CLT says that is approximately normal with a mean of  and a variance of  2 / n. So, will be standard normal. For the standard normal distribution, let z  be such that P( Z > z  ) = 

44 Confidence interval for  with  known Safety tip…..When working with Confidence Intervals, alpha is the total area of the curve outside the upper and lower boundaries. For example, if you want a 95% confidence interval, the area between the extremes, limits or boundaries specified is 95% and the area outside, or alpha, is 5%.

55 Confidence interval for  with  unknown For large samples ( n ≥ 30), we can replace  with s, so that is a (1-  )100% confidence interval for . For small samples ( n < 30) from a normal population, is a (1-  )100% confidence interval for . The value t , n -1 is the appropriate quantile from a t distribution with n -1 degrees of freedom. Demonstration of the t distribution calculator

66 Acid rain data The EPA states that any area where the average pH of rain is less than 5.6 on average has an acid rain problem. The pH values collected at Shenandoah National Park are listed below. Calculate 95% and 99% confidence intervals for the average pH of rain in the park.

77 Acid rain calculations by hand

88 Light bulb data The lifetimes in days of 10 light bulbs of a certain variety are given below. Give a 95% confidence interval for the expected lifetime of a light bulb of this type. Do you trust the interval?

99 Interpreting confidence statements For any % CI, a valid interpretation is, “If we perform this study a large number of times, we would expect the estimated parameter to fall within our confidence interval that % of the time.” The “confidence” deals with the long-term view, not the percentage on any specific trial. Run the confidence interval applet in StatCrunch.

10 Sample size effect As sample size increases, the width of our confidence interval clearly decreases (of course, as long as you’re dealing with sample means). If  is known, the width of our interval for  is Solving for n, If  is known or we have a good estimate, we can use this formula to decide the sample size we need to obtain a certain interval length.

11 Paint example Suppose we know from past data that the standard deviation of the square footage covered by a one gallon can of paint is somewhere between 2 and 4 square feet. How many one gallon cans do we need to test so that the width of a 95% confidence interval for the mean square footage covered will be at most 1 square foot?

12 Additional sample size problem We buy sacks of flour from a vendor that claims the average bag weighs 100 lbs. with a standard deviation of 2 lbs. How many bags do we need to sample to estimate the actual average weight of bags from this vendor to within 0.5 lb. with 90% confidence? How about with 95% confidence?

13 Confidence interval for a variance In many cases, especially in manufacturing, understanding variability is very important. Often times, the goal is to reduce the variability in a system. For samples from a normal population, is a (1-  )100% confidence interval for  2. The value   , n -1 is the appropriate quantile from a   distribution with n - 1 degrees of freedom.

14 Acid rain data Calculate a 95% confidence interval for the variance of pH of rain in the park. We have everything but the Chi-square values.

15 95% Chi-square values;

16 95% Chi-square values;

17 Confidence interval for a proportion A binomial random variable, X, counts the number of successes in n Bernoulli trials where the probability of success on each trial is p. In sampling studies, we are often times interested in the proportion of items in the population that have a certain characteristic. We think of each sample, X i, from the population as a Bernoulli trial, the selected item either has the characteristic ( X i = 1) or it does not ( X i = 0). The total number with the characteristic in the sample is then

18 Confidence interval for a proportion The proportion in the sample with the characteristic is then The CLT says that the distribution of this sample proportion is then normally distributed for large n with For the CLT to work well here, we need – X ≥ 5 and n - X ≥ 5 – n to be much smaller than the population size

19 Confidence interval for a proportion Example: In a survey of 277 randomly selected shoppers, 69 stated that if the advertised item is unavailable, they request a rain check. Construct a 95% CI for µ. What is the underlying distribution? What is ? What is ?

20 Murder case example Find a 95% confidence interval for the proportion of African Americans in the jury pool. (22 out of 295 African American in sample)

21 Sample size considerations The width of the confidence interval is To get the sample size required for a specific length, we have

22 CI sample size with no clue for actual proportion Often in TV/Media polls, they talk about a margin of error of +/- 3%. This margin of error is actually a 95% confidence interval. How large of a sample do we need to have to result in a margin of error of 3%? How do we continue? What is ? We have a catch-22 situation, because to find the sample size we need an estimate of the population proportion and vice-versa.

23 CI sample size – “no clue for p” (cont) So, if you have a good supportable estimate for the population proportion, use it. If not, you 0.50.

24 Nurse employment case How many sample records should be considered if we want the 95% confidence interval for the proportion all her records handled in a timely fashion to be 0.02 wide? Where did the.9 come from? That was the original percentage from the nurses contract in Topic 3. If that wasn’t in place on average, there would be chaos in the hospital. The additional file for Topic 6 contains examples of confidence intervals, sample size calculations and prediction intervals.

25 Prediction intervals Sometimes we are not interested in a confidence interval for a population parameter but rather we are interested in a prediction interval for a new observation. For our light bulb example, we might want a 95% prediction interval for the time a new light bulb will last. For our paint example, we might want a 95% prediction interval for the amount of square footage a new can of paint will cover.

26 Prediction intervals Given a random sample of size n, our best guess at a new observation, x n+1, would be the sample mean,. Now consider the difference,.

27 Prediction intervals If  is known and our population is normal, then using a pivoting procedure gives If  is unknown and our population is normal, a (1-  )100% prediction interval for a new observation is

28 Acid rain example For the acid rain data, the sample mean pH was and the sample standard deviation was What is a 95% prediction interval for the pH of a new rainfall? Does this prediction interval apply for the light bulb data?

29 Additional Prediction Interval A 7th generation citrus farmer is worried about revenues from this year’s crop, specifically because if he doesn’t get at least an 82% yield, he won’t be able to make the payments on the family farm and the bank will foreclose. It’s late spring and the last cold snap is coming tonight; forecast low is 30-degrees. He pulls up the Department of Agriculture data for citrus crops for the area and finds 30 matches for impacts on crop yields due to a 30-degree night, with an average of 85% and a standard deviation of 3.5%. Right before bed, he mentions this all to his wife and the last thing his wife says is, “Well, I’m sure you’ve run some sort of prediction interval to tell whether we’re in trouble or not……….Zzzzzzz”

30 Additional Prediction Interval (cont) Will the farmer sleep well tonight (ie., is there a statistical chance that he’s not going to make 82% or more on a crop yield?), using a 95% Prediction Interval? The answer would be no. His disaster number falls within the realm of reasonable values, given the historical values…… He could expect to lose the farm