Introduction to the Practice of Statistics Fifth Edition Chapter 6: Introduction to Inference Copyright © 2005 by W. H. Freeman and Company David S. Moore.

Slides:



Advertisements
Similar presentations
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
Advertisements

Chapter 10 Section 2 Hypothesis Tests for a Population Mean
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 10: Hypothesis Testing
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Basic Business Statistics.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Chapter 9 Hypothesis Testing.
Chapter 8 Introduction to Hypothesis Testing
BCOR 1020 Business Statistics
Inference about Population Parameters: Hypothesis Testing
Tests of significance: The basics BPS chapter 15 © 2006 W.H. Freeman and Company.
Statistical hypothesis testing – Inferential statistics I.
Chapter Ten Introduction to Hypothesis Testing. Copyright © Houghton Mifflin Company. All rights reserved.Chapter New Statistical Notation The.
Chapter 10 Hypothesis Testing
Overview Definition Hypothesis
Confidence Intervals and Hypothesis Testing - II
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Business Statistics,
Fundamentals of Hypothesis Testing: One-Sample Tests
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
Section 10.1 ~ t Distribution for Inferences about a Mean Introduction to Probability and Statistics Ms. Young.
BPS - 3rd Ed. Chapter 141 Tests of Significance: The Basics.
Chapter 10 Hypothesis Testing
Hypothesis Tests with Proportions Chapter 10 Notes: Page 169.
AP Statistics Section 11.2 A Inference Toolbox for Significance Tests
Significance Tests: THE BASICS Could it happen by chance alone?
Essential Statistics Chapter 131 Introduction to Inference.
INTRODUCTION TO INFERENCE BPS - 5th Ed. Chapter 14 1.
CHAPTER 14 Introduction to Inference BPS - 5TH ED.CHAPTER 14 1.
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
Hypothesis Testing Hypothesis Testing Topic 11. Hypothesis Testing Another way of looking at statistical inference in which we want to ask a question.
Confidence intervals are one of the two most common types of statistical inference. Use a confidence interval when your goal is to estimate a population.
Inference We want to know how often students in a medium-size college go to the mall in a given year. We interview an SRS of n = 10. If we interviewed.
The Practice of Statistics Third Edition Chapter 10: Estimating with Confidence Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
1 Chapter 10: Introduction to Inference. 2 Inference Inference is the statistical process by which we use information collected from a sample to infer.
Significance Test A claim is made. Is the claim true? Is the claim false?
Confidence intervals: The basics BPS chapter 14 © 2006 W.H. Freeman and Company.
Introduction to Inferece BPS chapter 14 © 2010 W.H. Freeman and Company.
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:
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
The z test statistic & two-sided tests Section
Chap 8-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 8 Introduction to Hypothesis.
Statistics 101 Chapter 10 Section 2. How to run a significance test Step 1: Identify the population of interest and the parameter you want to draw conclusions.
MATH 2400 Ch. 15 Notes.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
CHAPTER 15: Tests of Significance The Basics ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
CHAPTER 9 Testing a Claim
BPS - 3rd Ed. Chapter 141 Tests of significance: the basics.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Logic and Vocabulary of Hypothesis Tests Chapter 13.
AP Statistics Section 11.1 B More on Significance Tests.
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Fri, Nov 12, 2004.
© Copyright McGraw-Hill 2004
AP Statistics Section 11.2 A Inference Toolbox for Significance Tests.
AP Statistics Chapter 11 Notes. Significance Test & Hypothesis Significance test: a formal procedure for comparing observed data with a hypothesis whose.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Unit 5: Hypothesis Testing.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Tests of Significance: Stating Hypothesis; Testing 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.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 9 Testing a Claim 9.1 Significance Tests:
CHAPTER 15: Tests of Significance The Basics ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Copyright © 2009 Pearson Education, Inc. 9.2 Hypothesis Tests for Population Means LEARNING GOAL Understand and interpret one- and two-tailed hypothesis.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 9 Testing a Claim 9.1 Significance Tests:
What Is a Test of Significance?
Unit 5: Hypothesis Testing
Essential Statistics Introduction to Inference
Basic Practice of Statistics - 3rd Edition Introduction to Inference
Presentation transcript:

Introduction to the Practice of Statistics Fifth Edition Chapter 6: Introduction to Inference Copyright © 2005 by W. H. Freeman and Company David S. Moore George P. McCabe

Introduction to Inference 6.1 – Estimating with Confidence 6.2 – Tests of Significance 6.3 – Use and Abuse of Tests 6.4 – Power and Inference as a Decision (optional) We will explore these ideas in the context of estimating and/or testing hypotheses about a population mean,.

Section 6.1 Estimating with Confidence Example 6.2 (page 384): Goal: Estimate the mean SATM score,, for all California seniors. Take SRS of 500 California seniors. Find the sample mean,. How well does estimate ? Question: What is the sampling distribution of (suppose we know )??? Why??

Values of are distributed according to this density curve. How likely is it that your value of will be within of the (unknown) value of ? Sampling Distribution of ??

95% of the time, will be within of ! 5% of the time will not be within of

If is within of, then is within of ! Thus, we are 95% confident that Or in our case ( ) that There is a 5% chance that this interval does not capture the population mean!

Confidence Intervals We have just computed a 95% confidence interval for The endpoints of the interval (452, 470) depended on three values: –The point estimate for, –The level of confidence which determined how many standard deviations to use (95%: we used approximately two standard deviations) –The standard deviation of the point estimate, which also depends on the sample size, n. The interval also depended on the fact that we knew that the sampling distribution of the statistic, is normal (or approximately normal, since n is large)!

We are 95% confident that the true population mean is contained in the confidence interval. WHY? Because according to the Central Limit Theorem, there is a 95% chance that the estimate of the population mean (i.e. the sample mean), will be within 2 standard deviations (of the sampling distribution!) of the true population mean. Let’s try playing with the “Confidence Interval” applet on your CD…. Page 386

For finding a level C confidence interval for a population mean, how does the confidence level determine the number of standard deviations to use to compute the interval? For a 95% confidence interval for we used approximately 2 standard deviations to compute the endpoints of our interval: How do we find ? What happens to when the C-level changes?

Let’s find for various C-levels for a C-level confidence interval for a population mean,. (see page 387) Standard Normal Density Curve C - Level Value of 99% % % %1.440 Use the invNorm key on your TI-83! ??

Let’s use our TI-83 calculators to find some C-level confidence intervals and explore their behavior!

Example 6.3 (page 388): Find a 95% confidence interval for. (What is ??) You are given what values? What is the margin of error for this confidence interval? What is the confidence interval? Write a sentence that explains the meaning of this interval. Let’s also use the Stat|Tests|ZInterval key on your TI-83! What if we change the C-level to 99%? How will the interval change (see picture page 391)? What if we change the C-level to 90%

What if the sample size in Example 6.3 (page 388) was actually 320 instead of 1280? How will this effect the margin of error, the confidence interval? New margin of error? New confidence interval? See Figure 6-5 on page 390 (and below):

Goals for Estimating Population Parameters: –High Confidence –Low Margin of Error How to Reduce the Margin of Error –Change C-Level? –Change Sample Size? –Change Population Standard Deviation? Lower C-Level Results in Smaller Value of. Larger n will reduce m since you will divide by a larger value. Smaller will reduce m. This may not be possible to do. Page 390

Suppose we want a certain margin of error for our confidence interval for a population mean. What sample size will be needed to get the desired result? (Assume we know the population standard deviation.) Let’s solve this equation for n!! Let’s work Problem 6.28 on page 399!

Example 6.14 (page 410): Goal: Test a claim about a population parameter (in this case, the mean systolic b.p.,, for all middle aged male executives). Is the mean significantly different than the mean for the general population of males aged 35 to 44 (which equals 128)? Take SRS of size 72 from the middle aged male executives (i.e. from the population for ). Find the sample mean,. What is this value? Does the data from the sample support the claim or not? I.e. based on the data ( ), do you believe the mean systolic b.p. for middle aged male executives ( ) is significantly different than mean for the general population of males (i.e. 128 mmHG)? Collect the evidence. Section 6.2 Tests of Significance What is the claim, what is being tested about the parameter? Draw the appropriate conclusions based on the evidence.

For us, the null hypothesis will contain an equality involving the parameter! The alternative hypothesis is what we hope or suspect is true about the parameter (instead of the equality in the null hypothesis). This will depend on the problem statement. For our example: Formulating Hypotheses Says the mean systolic b.p. of middle-aged male executives is not different (i.e. not statistically significantly different) than 128 Says the mean systolic b.p. of middle-aged male executives is different (i.e. statistically significantly) than 128

The Logic of Hypothesis Testing Assume the null hypothesis is TRUE! Determine how likely it is to get data as extreme as what you got IF this is the case (i.e. IF the null hypothesis is TRUE). If it is very unlikely to get data as extreme as what you got, then you doubt the assumption that the null hypothesis is true (i.e. you will reject the null hypothesis). If it is not very unlikely to get data as extreme as what you got, then you have no reason to doubt the null hypothesis (i.e. you will fail to reject the null hypothesis). The direction “as extreme” is determine by the alternative hypothesis.

Following the Logic for Our Example (6.14 page 410) IF the null hypothesis is TRUE (and assume the population of middle-aged executives has the same standard deviation as the males aged 35 to 44, i.e. assume ), then what is the (approximate?) sampling distribution for ? Why? How “far out” is our data? I.e. how many standard deviations from the mean is for our sampling distribution? This is called the z test statistic for the data, note it is just the z-score for the data!.

The z-test statistic for our data tells us that our data differs from the hypothesized mean by z = standard deviations (assuming the null hypothesis is true). What other values of the z-test statistic are as extreme as our data’s test statistic (i.e. differ by at least as many standard deviations from the hypothesized mean as our data)? Note that our alternative hypothesis is. z 1.09 (This is a two-tailed test!) How will this z test statistic be distributed (Hint: We are standardizing a variable that is approximately normal: !)??? This z test statistic has an approximately standard normal distribution (mean=0, standard deviation=1) P-value How likely is it to get a result “as extreme” as our data?

P-value Let’s compute the P-value for our test two ways: 1.Using the invNorm key: 2.Using the Stat|Tests|Z-Test key: Our data is not too “rare,” thus it will not cause us reject the null hypothesis in favor of the alternative hypothesis.

Typical levels in the “real world” are Most statistical software will report the P-value – but will not tell you what conclusion to reach! That is the hardest part!

Steps in Hypothesis Testing (page 407) OR What Have We Done (in Example 6.14)? State the null and alternative hypothesis (clearly identify the population parameter!): Calculate the value of the test statistic on which the test will be based: Find the P-value for the observed data: State a conclusion: P= Since P is large, we will fail to reject the null hypothesis in favor of the alternative (i.e. it is not very unlikely to get a result as extreme as ours). Thus the data do not provide strong evidence that the mean systolic b.p. of middle-aged male executives differs significantly from the mean of other men (i.e. 128). Where is the mean systolic b.p. of middle- aged male executives.

We Have Just Conducted a (two-tailed) z-test for a Population Mean, ! Assumptions (see page 393): Data from a SRS of the population. Population standard deviation is known (i.e. known). Data does not have extreme outliers (since not resistant to outliers) The smaller n is, the more concerned we need to be about the population distribution and outliers. Two-tailed Test One-tailed Test Page 410

Let’s Work Another Example: Example 6.15 page 412 State the null and alternative hypothesis (clearly identify the population parameter!): Calculate the value of the test statistic on which the test will be based: Find the P-value for the observed data: State a conclusion:

Let’s Revisit Example 6.15 page 412: What if our alternative hypothesis was two sided? What would be the P-value of the test? Would you reject the null hypothesis at any of the standard alpha levels? Find the -level confidence intervals for using the standard alpha levels. Which confidence intervals computed above contain the value of stated in the null hypothesis of the test? Relationship Between Two-Sided Significance Tests and Confidence Intervals

Section 6.3 Use and Abuse of Tests Read on Your Own! You will have a hand-in homework assignment from this section. You will be asked questions about this material on future tests and quizzes.

Section 6.4 Power and Inference as a Decision* Type I and Type II Errors The Power of a Statistical Hypothesis Test Increasing the Power of a Test Significance and Type I Errors Power and Type II Errors *Optional Section

Possible Errors in Hypothesis Testing Type I and Type II Errors Page 436

An Example Page 435

More on Type I and Type II Error – Example 6.28 What is the likelihood of a Type I Error? Test at level of significance. Reject null if z-test statistic is greater than what? Reject if get a sample mean greater than what? If it is true that, then what is the likelihood of a Type II Error? If it is true that, then what is the likelihood of correctly rejecting the null hypothesis? TRUE

Power, Significance, and Type I and Type II Errors