Math 3680 Lecture #15 Confidence Intervals. Review: Suppose that E(X) =  and SD(X) = . Recall the following two facts about the average of n observations.

Slides:



Advertisements
Similar presentations
Segment 4 Sampling Distributions - or - Statistics is really just a guessing game George Howard.
Advertisements

6-1 Stats Unit 6 Sampling Distributions and Statistical Inference - 1 FPP Chapters 16-18, 20-21, 23 The Law of Averages (Ch 16) Box Models (Ch 16) Sampling.
Lecture 3 Miscellaneous details about hypothesis testing Type II error
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.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
Estimation 8.
Horng-Chyi HorngStatistics II41 Inference on the Mean of a Population - Variance Known H 0 :  =  0 H 0 :  =  0 H 1 :    0, where  0 is a specified.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 8-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Statistics Lecture 22. Last Day…completed 5.1 Today Parts of Section 5.3 and 5.4.
Confidence Intervals: Estimating Population Mean
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Confidence Interval Estimation Business Statistics, A First Course.
Copyright © 2005 by Evan Schofer
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-1 Chapter 7 Confidence Interval Estimation Statistics for Managers.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 7-1 Chapter 7 Confidence Interval Estimation Statistics for Managers.
Review of normal distribution. Exercise Solution.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 7-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
10.3 Estimating a Population Proportion
Confidence Interval Estimation
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.
QBM117 Business Statistics Estimating the population mean , when the population variance  2, is known.
Chapter 8 Estimation Nutan S. Mishra Department of Mathematics and Statistics University of South Alabama.
ESTIMATES AND SAMPLE SIZES
Estimation Bias, Standard Error and Sampling Distribution Estimation Bias, Standard Error and Sampling Distribution Topic 9.
Estimates and Sample Sizes Lecture – 7.4
AP STATISTICS LESSON 10 – 1 (DAY 2)
PARAMETRIC STATISTICAL INFERENCE
When σ is Unknown The One – Sample Interval For a Population Mean Target Goal: I can construct and interpret a CI for a population mean when σ is unknown.
Section 8.1 Estimating  When  is Known In this section, we develop techniques for estimating the population mean μ using sample data. We assume that.
Statistical Interval for a Single Sample
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 8-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Estimating and Constructing Confidence Intervals.
Statistical estimation, confidence intervals
Confidence Intervals: The Basics BPS chapter 14 © 2006 W.H. Freeman and Company.
Stat 112: Notes 2 Today’s class: Section 3.3. –Full description of simple linear regression model. –Checking the assumptions of the simple linear regression.
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.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 8-1 Confidence Interval Estimation.
Statistical Fundamentals: Using Microsoft Excel for Univariate and Bivariate Analysis Alfred P. Rovai Estimation PowerPoint Prepared by Alfred P. Rovai.
LECTURE 25 THURSDAY, 19 NOVEMBER STA291 Fall
CHAPTER-6 Sampling error and confidence intervals.
Estimation of a Population Mean
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.
Math 3680 Lecture #16 Confidence Intervals: Part 2.
STT 315 Ashwini maurya This lecture is based on Chapter 5.4 Acknowledgement: Author is thankful to Dr. Ashok Sinha, Dr. Jennifer Kaplan and Dr. Parthanil.
Math 3680 Lecture #13 Hypothesis Testing: The z Test.
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.
CONFIDENCE INTERVALS: THE BASICS Unit 8 Lesson 1.
1 Chapter 8 Interval Estimation. 2 Chapter Outline  Population Mean: Known  Population Mean: Unknown  Population Proportion.
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.
Uncertainty and confidence Although the sample mean,, is a unique number for any particular sample, if you pick a different sample you will probably get.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Confidence Interval Estimation Business Statistics: A First Course 5 th Edition.
The inference and accuracy We learned how to estimate the probability that the percentage of some subjects in the sample would be in a given interval by.
The accuracy of averages We learned how to make inference from the sample to the population: Counting the percentages. Here we begin to learn how to make.
Review Statistical inference and test of significance.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 8: Estimating with Confidence Section 8.1 Confidence Intervals: The.
CHAPTER 8 Estimating with Confidence
Inference: Conclusion with Confidence
Inference for the Mean of a Population
ECO 173 Chapter 10: Introduction to Estimation Lecture 5a
Confidence Intervals for a Population Mean,
ECO 173 Chapter 10: Introduction to Estimation Lecture 5a
Lecture 15 Sections 7.3 – 7.5 Objectives:
Confidence Interval Estimation
Inference on the Mean of a Population -Variance Known
How Confident Are You?.
Presentation transcript:

Math 3680 Lecture #15 Confidence Intervals

Review: Suppose that E(X) =  and SD(X) = . Recall the following two facts about the average of n observations drawn with replacement:

Estimation

Example: A university has 25,000 registered students. In a survey of 318 students, the average age of the sample is found to be 22.4, with a sample SD of 4.5 years. Estimate the average age of all 25,000 students, and attach a standard error to this estimate.

Wrong Answer: The average age of the student body is exactly 22.4 years. What is wrong with this simplistic analysis?

Answer: Of course, we estimate the average of the population to be 22.4 years – but this estimate will not be exact. To determine the magnitude of the error, we need to find the SE, and that means a box model. 25,000 tickets Average = ?? SD = ?? 318 draws

Bootstrap Estimation: Although the SD of the box is unknown, we estimate the SD of the box from the fractions in the sample: SD of box  4.5 SE of the sample average (Why?)

Conclusion: The average age is about 22.4 years, give or take years or so.

Confidence Intervals: Large samples or known 

68% We say that the range 22.4  years = years is a 68% confidence interval for the average age of the population.

95% We say that the range 22.4  (1.96)(0.251) years = years is a 95% confidence interval for the average age of the population.

99.7% We say that the range 22.4  (2.968)(0.251) years = years is a 99.7% confidence interval for the average age of the population.

1 - 2  In general, we say that the range is a  confidence interval for the population average . zz z 

Logic:

Observations: 1) We are NOT saying that 95% of the students are between 21.9 and 22.9 years old – this is patently ridiculous, of course. 2) We are NOT saying that there is a 95% chance that the average age is between 21.9 and 22.9 years. The population average is constant – it is either in this range or it is not.

Observations: 3) The true interpretation is as follows: If several people run this experiment and they all find a 95%- confidence interval, then the true population parameter will lie in about 95% of these intervals.

100 different 95% confidence intervals

100 different 68% confidence intervals

100 different 95% confidence intervals, n = 4 x 318 =1272

Observations: 4) In the previous problem, we replaced the population  with the sample s. (When did we do this?) As it turns out, this makes little practical difference for large samples. More on this later when we consider small samples.

Observations: 5) The normal approximation has been used. As discussed earlier, a large number of draws is required for this assumption to hold. 6) Remember: There is no such thing as a 100% confidence interval. In practice, scientists often use 95% as a balance between a high confidence level and a narrow confidence interval.

Example: In a simple random sample of 680 households (in a city of millions), the average number of TV sets is 1.86, with an SD of Find a 95% confidence interval for the average number of TV sets per household in the city.

True or false: (i) 1.86  0.06 is a 95%-confidence interval for this population average. (ii) 1.86  0.06 is a 95%-confidence interval for this sample average. (iii) There is a 95% chance for the population average to be in the range 1.86  0.06.

Example: The chart to the right shows platelet counts among 120 geriatric patients. Find a 95% confidence interval for the average platelet count among geriatric patients.

Fill in the blanks with either box or draws. Probabilities are used when reasoning from the __________ to the _____________. Confidence levels are used when reasoning from the ____________ to the ______________.

Fill in the blank with either observed or expected. The chance error is in the _______________ value.

Fill in the blank with either sample or population. The confidence level is for the ______________ average.

Confidence Intervals: Projecting Sample Size

Example: In a preliminary simple random sample of 680 households (in a city of millions), the average number of TV sets in the sample households is 1.86, with an SD of Suppose that it’s desired to construct a 90% confidence interval which has a margin of error of How large a sample would be necessary?

Solution: So, the sample size should be at least 1925

Confidence Intervals: Small samples

Example: A biological research team measures the weights of 14 chipmunks, randomly chosen. Find a 90% confidence interval for the average weight of chipmunks.

Note: The previous calculations used the fact that approximately follows the normal curve for large values of n. In this problem, we cannot use this approximation.

However, for both small and large samples, we can use the fact that approximately follows the Student’s t-distribution with n - 1 degrees of freedom.

1 - 2  In general, we say that the range is a  confidence interval for the population average . t n-1,  t n-1, 1- 

90% Therefore, the 90% confidence interval is or 8.40 – 9.12 ounces. Excel: TINV(0.1, 13)

Note: Be sure you look up the correct number on the table in the back of the book. The numbers at the bottom of Table 4 specify the two-sided confidence levels.

Excel 2003: Place all data values in a single row or column. Tools -> Data Analysis -> Descriptive Statistics Select the data range, and check columns or rows, Confidence Level for Mean and Summary Statistics.

Excel 2007 First, to get started… From the circle, select Excel Options. Click Add-Ins. Next to Manage Excel Add-Ins, click Go. Check Analysis ToolPak, and click OK.

Excel 2007 Place all data values in a single row or column. Click Descriptive Statistics. Select the data range, and check columns or rows, Confidence Level for Mean and Summary Statistics.

Notes: The “confidence level” is really the margin of error. The last two rows have to be entered by hand.

Example: Duracell tests 12 batteries in flashlights. They determine that the average life of the batteries in this sample is 3.58 hours, with a sample SD of 1.58 hours. Find a 95% confidence interval for the average life of a Duracell battery in a flashlight. Repeat if 100 batteries were tested (with the same sample mean and SD as above)

Note: In previous lectures, we considered another technique of inferring information about the box from the draws – namely, hypothesis testing. Confidence intervals provide a method of estimating the average of the box. Hypothesis testing checks if the difference between the supposed box average and the sample average is either real or due to chance.