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.

Slides:



Advertisements
Similar presentations
Chapter 12: Inference for Proportions BY: Lindsey Van Cleave.
Advertisements

Chapter 8: Estimating with Confidence
Chapter 10: Estimating with Confidence
Chapter 19 Confidence Intervals for Proportions.
6.1 Confidence Intervals for the Mean (Large Samples)
Section 8.2 Estimating a Population Proportion
Chapter 10: Estimating with Confidence
Chapter 7 Confidence Intervals and Sample Sizes
STT 315 This lecture is based on Chapter 6. Acknowledgement: Author is thankful to Dr. Ashok Sinha, Dr. Jennifer Kaplan and Dr. Parthanil Roy for allowing.
10.3 Estimating a Population Proportion
Introduction to Statistical Inferences Inference means making a statement about a population based on an analysis of a random sample taken from the population.
Dan Piett STAT West Virginia University
Statistics: Concepts and Controversies What Is a Confidence Interval?
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 8: Estimating with Confidence Section 8.1 Confidence Intervals: The.
PARAMETRIC STATISTICAL INFERENCE
Tests About a Population Proportion
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 8: Estimating with Confidence Section 8.2 Estimating a Population Proportion.
STT 315 Ashwini Maurya Acknowledgement: Author is indebted to Dr. Ashok Sinha, Dr. Jennifer Kaplan and Dr. Parthanil Roy for allowing him to use/edit many.
Confidence Interval Estimation for a Population Proportion Lecture 31 Section 9.4 Wed, Nov 17, 2004.
Section 8.2 Estimating a Population Proportion. Section 8.2 Estimating a Population Proportion After this section, you should be able to… CONSTRUCT and.
Sampling Error.  When we take a sample, our results will not exactly equal the correct results for the whole population. That is, our results will be.
+ “Statisticians use a confidence interval to describe the amount of uncertainty associated with a sample estimate of a population parameter.”confidence.
AP Statistics Chapter 19 Notes “Confidence Intervals for Sample Proportions”
+ DO NOW. + Chapter 8 Estimating with Confidence 8.1Confidence Intervals: The Basics 8.2Estimating a Population Proportion 8.3Estimating a Population.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 8: Estimating with Confidence Section 8.2 Estimating a Population Proportion.
Section 6-3 Estimating a Population Mean: σ Known.
10-3 Estimating a Population Proportion. Recall from Chapter 9...
Lesson 10 - R Review of Chapter 10 Confidence Intervals.
STT 315 This lecture is based on Chapter Acknowledgement: Author is thankful to Dr. Ashok Sinha, Dr. Jennifer Kaplan and Dr. Parthanil Roy for.
Chapter 10: Confidence Intervals
Confidence Interval for p, Using z Procedure. Conditions for inference about proportion Center: the mean is ƥ. That is, the sample proportion ƥ is an.
+ Unit 5: Estimating with Confidence Section 8.2 Estimating a Population Proportion.
SAMPLE SIZE.
Estimation by Intervals Confidence Interval. Suppose we wanted to estimate the proportion of blue candies in a VERY large bowl. We could take a sample.
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.
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.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 8: Estimating with Confidence Section 8.2 Estimating a Population Proportion.
+ 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 8.2 Estimating a Population Proportion Outcome: I will state and check all necessary conditions for constructing a.
Statistics 200 Objectives:
Chapter 8: Estimating with Confidence
Statistics for Business and Economics
Chapter 8: Estimating with Confidence
CHAPTER 8 Estimating with Confidence
Week 10 Chapter 16. Confidence Intervals for Proportions
Chapter 8: Estimating with Confidence
Review of Chapter 10 Confidence Intervals
EVEN Homework ANSWERS p. 483 – 484 # 17, 19-24; p. 496 #27, 31, 32, 33
Introduction to Inference
Confidence Intervals: The Basics
Estimating a Population Proportion
Click the mouse button or press the Space Bar to display the answers.
Confidence intervals for the difference between two 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
2/3/ Estimating a Population Proportion.
Chapter 8: Estimating with Confidence
Chapter 8: Estimating with Confidence
8.2 Estimating a Population Proportion
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
Chapter 8: Estimating with Confidence
How Confident Are You?.
Presentation transcript:

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 Roy for allowing him to use/edit some of their slides.

Statistical Inference Inference means that we are making a conclusion about the population parameter based on the statistic we calculated from a sample. Conclusions made using statistical inference are probabilistic in nature. We may not be able to say for sure, but with certain confidence. There are two types of inference: – Confidence Intervals, – Hypothesis Tests. 2

Goal Students will be able to: Construct a confidence interval for a proportion. Interpret a confidence interval for a proportion. Check conditions for the use of inference about a population proportion – Independence (or sample less than 10% of population), – Sample size large enough (successes and failures each greater than 10). Explain the relationship between the margin of error, sample size, and level of certainty. 3

Estimating Smokers Suppose I want to estimate the percent of MSU undergraduate students who smoke. A random sample of 99 undergraduate students were selected and 17 of them smoked tobacco last week. I want to make a 95% confidence interval for the proportion of MSU undergraduates based on this information. 4

Are the conditions met? Firstly it is a random sample. Though the sample is without replacement, but it satisfies 10% condition as there are more than 1000 undergraduate students in MSU. Also both number of smokers (17) and non-smokers (82) are larger than 10, the sample can be considered to be large enough. 5

Use the results to make a CI The sampling distribution results guarantees us that the sample proportions will be roughly normally distributed around the population proportion. So 95% of samples should fall within two standard deviations of the population proportion. But we don’t know the population proportion (that’s what we are trying to estimate)! So we cannot get Therefore we need to use the sample proportion and work backward from there. 6

To make a 95% confidence interval we must create an interval that is 2 standard deviations long, above and below the statistic. One standard deviation is So 2 standard deviations is 2(.0379) =.0758 (and 7.58% is the margin of error). In our sample, 17 out of 99 students smoked tobacco in the last week, or 17.2%. 17.2% is a statistic (or a point estimate). We will use 17.2% to make an interval estimate for the value of the parameter. Construction of C.I. 7

And we write: We are 95% confident that between 9.62% and 24.78% of MSU undergraduates smoke tobacco. If we want to make a 68% confidence interval, we only have to extend the interval one standard deviation from the statistic in each direction: So a 68% confidence interval has endpoints at = , and = and we write: We are 68% confident that between 13.4% and 21.0% of MSU undergraduates smoke tobacco. So a 95% confidence interval has endpoints at = , and =

Our 95% CI for smokers was 9.62% to 24.78%. This means that (find the correct one): a)95% of random samples of MSU undergraduates will have between 9.62% and 24.78% smokers. b)Between 9.62% and 24.78% of MSU undergraduates smoke. c)95% of MSU undergraduates smoke between 9.62% and 24.78% of the time. d)We are 95% sure that between 9.62% and 24.78% of MSU undergraduates smoke. 9

Standard Error (S.E.) If subjects are independent, and if the sample size is large enough, then the sample proportions are approximately normally distributed with mean p, and standard deviation i.e., But in an estimation problem, p is unknown. So we replace population proportion ( p ) by the sample proportion ( ) in its formula and get standard error of sample proportion approximately. where 10

Confidence Interval (C.I.) and Margin of Error (M.E.) Since for large n, the sample proportion ( ) is approximately normal, we can conclude (using empirical rule) that  within a margin of error of 1 ×S.E. we are about 68% sure the population proportion ( p ) lies.  within a margin of error of 2 ×S.E. we are about 95% sure the population proportion ( p ) lies. So confidence interval for p is Obviously, more the confidence you require, larger the margin of error. 11

Find the exact area between -2 and 2 standard deviations from the mean on a normal curve using your calculator. Hint: normalcdf(-2,2,0,1) = = 95.4%. So this is not exactly 95%, but slightly more. On the other hand the exact area between and 1.96 standard deviations from the mean is normalcdf(-1.96,1.96,0,1) = 0.95 = 95%. Using 1.96, we get the 95% C.I. for p to be: (0.097, 0.246). Is it 1.96 or 2 for 95% C.I.? Note: calculator uses But how to use calculator to construct C.I.? 12

13

C.I. with TI 83/84 Plus Want to make a 85% confidence interval for smokers among MSU undergraduates. In a random sample of 99 MSU undergraduates 17 smoked tobacco last week. Press [STAT]. Select [TESTS]. Choose A: 1-PropZInt…. Input the following: o x: 17 o n: 99 o C-Level: 85 Choose Calculate and press [ENTER]. Answer: 85% C.I. for p is (0.117, 0.226). 14

How would I a confidence interval a proportion using a calculator? Sample Input Sample Output The sample input shows finding a 99% confidence interval with a sample size of 4040 people and 2048 smokers. We would interpret the sample output as: “We are 99% confident that between 48.7% and 52.7% of the population smokes. Note: This example wasn’t actually about smoking. 15

Width of a C.I. Since the formula of confidence interval for p is the width of the C.I. is 2×M.E. So if we know the width of C.I., we can compute the M.E. by halving the width. Example: Given a 90% C.I. for p is (0.23, 0.37), find the values of (a) sample proportion and (b) margin of error of the 90% C.I. Solution: Since the width = ( ) = 0.14, and so the margin of error of 90% C.I. for p is 0.14/2 = Moreover and so 16

Smoker example We found that 17.2% of a sample of 99 MSU undergraduates had smoked in the past week. We used this to find a 95% confidence interval for the proportion of MSU undergraduates who smoke. The endpoints of our 95% confidence interval is (0.096, 0.248). The width of 95% C.I. is ( ) = 0.15, and so the margin of error is (0.15/2) = If we want to reduce the margin of error while keeping the confidence level the same, we could increase the sample size. 17

M.E. and sample size If we wanted to reduce the margin of error to 4%, minimum how many undergrads would we have to survey? The formula is: But what p to use (remember q = 1-p )? So we would need 342 subjects. Two cases:  No information about p is given. In that case use p = 0.5. In our exercise, if nothing about p is known: So we would need 601 subjects.  If some information about p is known, use that information. If we use the information of sample: p = 0.172, q = =

Summary Larger sample size makes smaller margin of error. Larger confidence makes larger margin of error. The level of confidence is the proportion of intervals that will contain the value of the population parameter. As long as the conditions are met, the process of confidence interval works. 19