Chapter 9 Hypothesis Testing.

Slides:



Advertisements
Similar presentations
Tests of Hypotheses Based on a Single Sample
Advertisements

“Students” t-test.
Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Chapter Seventeen HYPOTHESIS TESTING
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
Chapter Eight Hypothesis Testing McGraw-Hill/Irwin Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Inferences About Process Quality
BCOR 1020 Business Statistics
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Chapter 9 Title and Outline 1 9 Tests of Hypotheses for a Single Sample 9-1 Hypothesis Testing Statistical Hypotheses Tests of Statistical.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. A PowerPoint Presentation Package to Accompany Applied Statistics.
Chapter 10 Hypothesis Testing
Overview Definition Hypothesis
Confidence Intervals and Hypothesis Testing - II
Chapter 8 Hypothesis Testing (假设检验)
Fundamentals of Hypothesis Testing: One-Sample Tests
Chapter 9.3 (323) A Test of the Mean of a Normal Distribution: Population Variance Unknown Given a random sample of n observations from a normal population.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
More About Significance Tests
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Chapter 9 Hypothesis Testing: Single Population
Adapted by Peter Au, George Brown College McGraw-Hill Ryerson Copyright © 2011 McGraw-Hill Ryerson Limited.
Hypothesis testing Chapter 9. Introduction to Statistical Tests.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
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.
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
CHAPTER 17: Tests of Significance: The Basics
Chapter 9 Tests of Hypothesis Single Sample Tests The Beginnings – concepts and techniques Chapter 9A.
CHAPTER 9 Testing a Claim
Chapter 8 Introduction to Hypothesis Testing ©. Chapter 8 - Chapter Outcomes After studying the material in this chapter, you should be able to: 4 Formulate.
Lecture 16 Section 8.1 Objectives: Testing Statistical Hypotheses − Stating hypotheses statements − Type I and II errors − Conducting a hypothesis test.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
1 9 Tests of Hypotheses for a Single Sample. © John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. 9-1.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
One-Sample Hypothesis Tests Chapter99 Logic of Hypothesis Testing Statistical Hypothesis Testing Testing a Mean: Known Population Variance Testing a Mean:
AP Statistics Section 11.1 B More on Significance Tests.
© Copyright McGraw-Hill 2004
Chapter 8 Hypothesis Testing (假设检验)
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
Copyright © 2009 Pearson Education, Inc t LEARNING GOAL Understand when it is appropriate to use the Student t distribution rather than the normal.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
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.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
+ Homework 9.1:1-8, 21 & 22 Reading Guide 9.2 Section 9.1 Significance Tests: The Basics.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Chapter Nine Hypothesis Testing.
Statistical Inferences for Population Variances
9.3 Hypothesis Tests for Population Proportions
Chapter 9 Hypothesis Testing.
8-1 of 23.
Hypothesis Testing: Hypotheses
Hypothesis Tests for a Population Mean in Practice
Chapter 9 Hypothesis Testing.
Chapter 9 Hypothesis Testing.
Chapter 9 Hypothesis Testing: Single Population
Presentation transcript:

Chapter 9 Hypothesis Testing

Chapter Outline 9.1 The Null and Alternative Hypotheses and Errors in Testing 9.2 z Tests about a Population Mean: σ Known 9.3 z Tests about a Population Mean: σ Unknown 9.4 z Tests about a Population Proportion 9.5 Type II Error Probabilities and Sample Size Determination (Optional) 9.6 The Chi-Square Distribution (Optional) 9.7 Statistical Inference for a Population Variance (Optional)

9.1 Null and Alternative Hypotheses and Errors in Hypothesis Testing One-Sided, “Greater Than” Alternative H0:   m0 vs. Ha:  > m0 One-Sided, “Less Than” Alternative H0 :   m0 vs. Ha :  < m0 Two-Sided, “Not Equal To” Alternative H0 :  = m0 vs. Ha :   m0 where m0 is a given constant value (with the appropriate units) that is a comparative value

The Idea of a Test Statistic

Type I and Type II Errors Table 9.1

Typical Values Low alpha gives small chance of rejecting a true H0 Typically,  = 0.05 Strong evidence is required to reject H0 Usually choose α between 0.01 and 0.05  = 0.01 requires very strong evidence is to reject H0 Tradeoff between  and β For fixed n, the lower , the higher β

9.2 z Tests about a Population Mean: σ Known Test hypotheses about a population mean using the normal distribution Called z tests Require that the true value of the population standard deviation σ is known In most real-world situations, σ is not known When σ is unknown, test hypotheses about a population mean using the t distribution Here, assume that we know σ

Steps in Testing a “Greater Than” Alternative State the null and alternative hypotheses Specify the significance level a Select the test statistic Determine the critical value rule for rejecting H0 Collect the sample data and calculate the value of the test statistic Decide whether to reject H0 by using the test statistic and the critical value rule Interpret the statistical results in managerial terms and assess their practical importance

Steps in Testing a “Greater Than” Alternative in Trash Bag Case #1 State the null and alternative hypotheses H0:   50 Ha:  > 50 Specify the significance level α = 0.05 Select the test statistic

Steps in Testing a “Greater Than” Alternative in Trash Bag Case #2 Determine the critical value rule for deciding whether or not to reject H0 Reject H0 in favor of Ha if the test statistic z is greater than the rejection point zα This is the critical value rule In the trash bag case, the critical value rule is to reject H0 if the calculated test statistic z is > 1.645

Steps in Testing a “Greater Than” Alternative in Trash Bag Case #3 Figure 9.1

Steps in Testing a “Greater Than” Alternative in Trash Bag Case #4 Decide whether to reject H0 by using the test statistic and the rejection rule Compare the value of the test statistic to the critical value according to the critical value rule In the trash bag case, z = 2.20 is greater than z0.05 = 1.645 Therefore reject H0: μ ≤ 50 in favor of Ha: μ > 50 at the 0.05 significance level Interpret the statistical results in managerial terms and assess their practical importance

Effect of α At α = 0.01, the rejection point is z0.01 = 2.33 In the trash example, the test statistic z = 2.20 is < z0.01 = 2.33 Therefore, cannot reject H0 in favor of Ha at the α = 0.01 significance level This is the opposite conclusion reached with α=0.05 So, the smaller we set α, the larger is the rejection point, and the stronger is the statistical evidence that is required to reject the null hypothesis H0

The p-Value The p-value is the probability of the obtaining the sample results if the null hypothesis H0 is true Sample results that are not likely if H0 is true have a low p-value and are evidence that H0 is not true The p-value is the smallest value of α for which we can reject H0 The p-value is an alternative to testing with a z test statistic

Steps Using a p-value to Test a “Greater Than” Alternative Collect the sample data and compute the value of the test statistic Calculate the p-value by corresponding to the test statistic value Reject H0 if the p-value is less than α

Steps in Testing a “Less Than” Alternative in Payment Time Case #1 State the null and alternative hypotheses H0:  ≥ 19.5 vs. Ha:  < 19.5 Specify the significance level α = 0.01 Select the test statistic

Steps in Testing a “Less Than” Alternative in Payment Time Case #2 Determine the rejection rule for deciding whether or not to reject H0 The rejection rule is to reject H0 if the calculated test statistic –z is less than –2.33 Collect the sample data and calculate the value of the test statistic

Steps in Testing a “Less Than” Alternative in Payment Time Case #3 Decide whether to reject H0 by using the test statistic and the rejection rule In the payment time case, z = –2.67 is less than z0.01 = –2.33 Therefore reject H0: μ ≥ 19.5 in favor of Ha: μ < 19.5 at the 0.01 significance level Interpret the statistical results in managerial terms and assess their practical importance

Steps Using a p-value to Test a “Less Than” Alternative Collect the sample data and compute the value of the test statistic Calculate the p-value by corresponding to the test statistic value Reject H0 if the p-value is less than α

Steps in Testing a “Not Equal To” Alternative in Valentine Day Case #1 State null and alternative hypotheses H0:  = 330 vs. Ha:  ≠ 330 Specify the significance level α = 0.05 Select the test statistic

Steps in Testing a “Not Equal To” Alternative in Valentine Day Case #2 Determine the rejection rule for deciding whether or not to reject H0 Rejection points are zα = 1.96, –zα = – 1.96 Reject H0 in favor of Ha if the test statistic z satisfies either: z greater than the rejection point zα/2, or –z less than the rejection point –zα/2

Steps in Testing a “Not Equal To” Alternative in Valentine Day Case #3 Collect the sample data and calculate the value of the test statistic Decide whether to reject H0 by using the test statistic and the rejection rule Interpret the statistical results in managerial terms and assess their practical importance

Steps Using a p-value to Test a “Not Equal To” Alternative Collect the sample data and compute the value of the test statistic Calculate the p-value by corresponding to the test statistic value The p-value is 0.1587 · 2 = 0.3174 Reject H0 if the p-value is less than 

Interpreting the Weight of Evidence Against the Null Hypothesis If p < 0.10, there is some evidence to reject H0 If p < 0.05, there is strong evidence to reject H0 If p < 0.01, there is very strong evidence to reject H0 If p < 0.001, there is extremely strong evidence to reject H0

9.3 t Tests about a Population Mean: σ Unknown Suppose the population being sampled is normally distributed The population standard deviation σ is unknown, as is the usual situation If the population standard deviation σ is unknown, then it will have to estimated from a sample standard deviation s Under these two conditions, have to use the t distribution to test hypotheses

Defining the t Random Variable: σ Unknown Define a new random variable t: The sampling distribution of this random variable is a t distribution with n – 1 degrees of freedom

Defining the t Statistic: σ Unknown Let x be the mean of a sample of size n with standard deviation s Also, µ0 is the claimed value of the population mean Define a new test statistic If the population being sampled is normal, and s is used to estimate σ, then … The sampling distribution of the t statistic is a t distribution with n – 1 degrees of freedom

t Tests about a Population Mean: σ Unknown

9.4 z Tests Tests about a Population Proportion

Example 9.6: The Cheese Spread Case

9.5 Type II Error Probabilities and Sample Size Determination (Optional) Want the probability β of not rejecting a false null hypothesis That is, want the probability β of committing a Type II error 1 - β is called the power of the test

Calculating β Assume that the sampled population is normally distributed, or that a large sample is taken Test… H0: µ = µ0 vs Ha: µ < µ0 or Ha: µ > µ0 or Ha: µ ≠ µ0 Want to make the probability of a Type I error equal to α and randomly select a sample of size n

Calculating β Continued The probability β of a Type II error corresponding to the alternative value µa for µ is equal to the area under the standard normal curve to the left of Here z* equals zα if the alternative hypothesis is one-sided (µ < µ0 or µ > µ0) Also z* ≠ zα/2 if the alternative hypothesis is two-sided (µ ≠ µ0)

Sample Size Assume that the sampled population is normally distributed, or that a large sample is taken Test H0: m = m0 vs. Ha: m < m0 or Ha: m > m0 or Ha: m ≠ m0 Want to make the probability of a Type I error equal to a and the probability of a Type II error corresponding to the alternative value ma for m equal to b

Sample Size Continued

9.6 The Chi-Square Distribution (Optional) The chi-square ² distribution depends on the number of degrees of freedom A chi-square point ²α is the point under a chi-square distribution that gives right-hand tail area  Figures 9.14 and 9.15

9.7 Statistical Inference for Population Variance (Optional) If s2 is the variance of a random sample of n measurements from a normal population with variance σ2 The sampling distribution of the statistic (n - 1) s2 / σ2 is a chi-square distribution with (n – 1) degrees of freedom Can calculate confidence interval and perform hypothesis testing

Confidence Interval for Population Variance

Hypothesis Testing for Population Variance Test of H0: σ2 = σ20 Test Statistic: Reject H0 in favor of Ha: σ2 > σ20 if 2 > 2α Ha: σ2 < σ20 if 2 < 21-α Ha: σ2 ≠ σ20 if 2 > 2α or 2 < 21-α

Selecting an Appropriate Test Statistic for a Test about a Population Mean Figure 9.18