Slides by JOHN LOUCKS St. Edward’s University.

Slides:



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

1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Type I and Type II Errors One-Tailed Tests About a Population Mean: Large-Sample.
1 1 Slide Chapter 9 Hypothesis Tests Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses Type I and Type II Errors Type.
1 1 Slide © 2009 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses Type I and Type II Errors Type I and Type II Errors.
1 1 Slide STATISTICS FOR BUSINESS AND ECONOMICS Seventh Edition AndersonSweeneyWilliams Slides Prepared by John Loucks © 1999 ITP/South-Western College.
Chapter 9 Hypothesis Testing
1 1 Slide MA4704Gerry Golding Developing Null and Alternative Hypotheses Hypothesis testing can be used to determine whether Hypothesis testing can be.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
1 1 Slide Hypothesis Testing Chapter 9 BA Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population.
Statistics Hypothesis Tests.
1 1 Slide ©2009. Econ-2030-Applied Statistics (Dr. Tadesse) Chapter 9 Learning Objectives Population Mean:  Unknown Population Mean:  Unknown Population.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Chapter 9b One-Tailed Test about a Population Mean: Small-Sample Case (n < 30)One-Tailed Test about a Population Mean: Small-Sample Case (n < 30) Tests.
Chapter 9 Hypothesis Testing Testing Hypothesis about µ, when the s.t of population is known.
Pengujian Hipotesis Nilai Tengah Pertemuan 19 Matakuliah: I0134/Metode Statistika Tahun: 2007.
1 Pertemuan 09 Pengujian Hipotesis Proporsi dan Data Katagorik Matakuliah: A0392 – Statistik Ekonomi Tahun: 2006.
Pengujian Hipotesis Proporsi dan Beda Proporsi Pertemuan 21 Matakuliah: I0134/Metode Statistika Tahun: 2007.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
1 1 Slide © 2006 Thomson/South-Western Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses.
Chapter 9 Hypothesis Testing.
1 1 Slide 統計學 Spring 2004 授課教師:統計系余清祥 日期: 2004 年 2 月 17 日 第一週:假設檢定.
1 1 Slide © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide © 2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
HYPOTHESIS TEST 假设检验. Instruction In this chapter you will learn how to formulate hypotheses about a population mean and a population proportion. Through.
1 1 Slide © 2005 Thomson/South-Western Chapter 9, Part A Hypothesis Tests Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses.
8 - 1 © 2003 Pearson Prentice Hall Chi-Square (  2 ) Test of Variance.
Sections 8-1 and 8-2 Review and Preview and Basics of Hypothesis Testing.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide © 2005 Thomson/South-Western Chapter 9, Part B Hypothesis Tests Population Proportion Population Proportion Hypothesis Testing and Decision Making.
Week 8 Fundamentals of Hypothesis Testing: One-Sample Tests
Overview Basics of Hypothesis Testing
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
1 1 Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University © 2002 South-Western/Thomson Learning.
1 1 Slide © 2004 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 Hypothesis testing can be used to determine whether Hypothesis testing can be used to determine whether a statement about the value of a population parameter.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved OPIM 303-Lecture #7 Jose M. Cruz Assistant Professor.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
1 1 Slide © 2003 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
Chapter 8 Introduction to Hypothesis Testing ©. Chapter 8 - Chapter Outcomes After studying the material in this chapter, you should be able to: 4 Formulate.
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
© Copyright McGraw-Hill 2004
Formulating the Hypothesis null hypothesis 4 The null hypothesis is a statement about the population value that will be tested. null hypothesis 4 The null.
Chapter 9, Part E. VII. Calculating the Probability of Type II Errors A common decision in business is whether to accept a shipment or not, based upon.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
Hypothesis Testing Chapter Hypothesis Testing  Developing Null and Alternative Hypotheses  Type I and Type II Errors  One-Tailed Tests About.
Chapter 9: Hypothesis Tests for One Population Mean 9.5 P-Values.
Ex St 801 Statistical Methods Part 2 Inference about a Single Population Mean (HYP)
Chapter 9 -Hypothesis Testing
Slides by JOHN LOUCKS St. Edward’s University.
Chapter 9 Hypothesis Testing.
Statistics Hypothesis Tests.
Pertemuan 17 Pengujian Hipotesis
Review and Preview and Basics of Hypothesis Testing
Chapter 5 STATISTICS (PART 3).
Statistics for Business and Economics (13e)
St. Edward’s University
Power Section 9.7.
Presentation transcript:

Slides by JOHN LOUCKS St. Edward’s University

Chapter 9, Part B Hypothesis Testing Population Proportion Hypothesis Testing and Decision Making Calculating the Probability of Type II Errors Determining the Sample Size for a Hypothesis Test About a Population Mean

A Summary of Forms for Null and Alternative Hypotheses About a Population Proportion The equality part of the hypotheses always appears in the null hypothesis. In general, a hypothesis test about the value of a population proportion p must take one of the following three forms (where p0 is the hypothesized value of the population proportion). One-tailed (lower tail) One-tailed (upper tail) Two-tailed

Tests About a Population Proportion Test Statistic where: assuming np > 5 and n(1 – p) > 5

Tests About a Population Proportion Rejection Rule: p –Value Approach Reject H0 if p –value < a Rejection Rule: Critical Value Approach H0: pp Reject H0 if z > z H0: pp Reject H0 if z < -z H0: pp Reject H0 if z < -z or z > z

Two-Tailed Test About a Population Proportion Example: National Safety Council (NSC) For a Christmas and New Year’s week, the National Safety Council estimated that 500 people would be killed and 25,000 injured on the nation’s roads. The NSC claimed that 50% of the accidents would be caused by drunk driving.

Two-Tailed Test About a Population Proportion Example: National Safety Council (NSC) A sample of 120 accidents showed that 67 were caused by drunk driving. Use these data to test the NSC’s claim with a = .05.

Two-Tailed Test About a Population Proportion p –Value and Critical Value Approaches 1. Determine the hypotheses. 2. Specify the level of significance. a = .05 3. Compute the value of the test statistic. a common error is using in this formula

Two-Tailed Test About a Population Proportion p-Value Approach 4. Compute the p -value. For z = 1.28, cumulative probability = .8997 p–value = 2(1 - .8997) = .2006 5. Determine whether to reject H0. Because p–value = .2006 > a = .05, we cannot reject H0.

Two-Tailed Test About a Population Proportion Critical Value Approach 4. Determine the criticals value and rejection rule. For a/2 = .05/2 = .025, z.025 = 1.96 Reject H0 if z < -1.96 or z > 1.96 5. Determine whether to reject H0. Because 1.278 > -1.96 and < 1.96, we cannot reject H0.

Hypothesis Testing and Decision Making In many decision-making situations the decision maker may want, and in some cases may be forced, to take action with both the conclusion do not reject H0 and the conclusion reject H0. In such situations, it is recommended that the hypothesis-testing procedure be extended to include consideration of making a Type II error.

Calculating the Probability of a Type II Error in Hypothesis Tests About a Population Mean 1. Formulate the null and alternative hypotheses. 2. Using the critical value approach, use the level of significance  to determine the critical value and the rejection rule for the test. 3. Using the rejection rule, solve for the value of the sample mean corresponding to the critical value of the test statistic.

Calculating the Probability of a Type II Error in Hypothesis Tests About a Population Mean 4. Use the results from step 3 to state the values of the sample mean that lead to the acceptance of H0; this defines the acceptance region. 5. Using the sampling distribution of for a value of  satisfying the alternative hypothesis, and the acceptance region from step 4, compute the probability that the sample mean will be in the acceptance region. (This is the probability of making a Type II error at the chosen level of m .)

Calculating the Probability of a Type II Error Example: Metro EMS (revisited) Recall that the response times for a random sample of 40 medical emergencies were tabulated. The sample mean is 13.25 minutes. The population standard deviation is believed to be 3.2 minutes. The EMS director wants to perform a hypothesis test, with a .05 level of significance, to determine whether or not the service goal of 12 minutes or less is being achieved.

Calculating the Probability of a Type II Error 1. Hypotheses are: H0:  and Ha: 2. Rejection rule is: Reject H0 if z > 1.645 3. Value of the sample mean that identifies the rejection region: 4. We will accept H0 when x < 12.8323

Calculating the Probability of a Type II Error 5. Probabilities that the sample mean will be in the acceptance region: Values of m b 1-b 14.0 -2.31 .0104 .9896 13.6 -1.52 .0643 .9357 13.2 -0.73 .2327 .7673 12.8323 0.00 .5000 .5000 12.8 0.06 .5239 .4761 12.4 0.85 .8023 .1977 12.0001 1.645 .9500 .0500

Calculating the Probability of a Type II Error Observations about the preceding table: When the true population mean m is close to the null hypothesis value of 12, there is a high probability that we will make a Type II error. Example: m = 12.0001, b = .9500 When the true population mean m is far above the null hypothesis value of 12, there is a low probability that we will make a Type II error. Example: m = 14.0, b = .0104

Power of the Test The probability of correctly rejecting H0 when it is false is called the power of the test. For any particular value of m, the power is 1 – b. We can show graphically the power associated with each value of m; such a graph is called a power curve. (See next slide.)

Power Curve H0 False m

Determining the Sample Size for a Hypothesis Test About a Population Mean The specified level of significance determines the probability of making a Type I error. By controlling the sample size, the probability of making a Type II error is controlled.

Determining the Sample Size for a Hypothesis Test About a Population Mean Sampling distribution of when H0 is true and m = m0 c H0: m0 Ha:m0 Reject H0 a m0 Sampling distribution of when H0 is false and ma > m0 Note: b ma

Determining the Sample Size for a Hypothesis Test About a Population Mean where z = z value providing an area of  in the tail z = z value providing an area of  in the tail  = population standard deviation 0 = value of the population mean in H0 a = value of the population mean used for the Type II error Note: In a two-tailed hypothesis test, use z /2 not z

Relationship Among a, b, and n Once two of the three values are known, the other can be computed. For a given level of significance a, increasing the sample size n will reduce b. For a given sample size n, decreasing a will increase b, whereas increasing a will decrease b.

Determining the Sample Size for a Hypothesis Test About a Population Mean Let’s assume that the director of medical services makes the following statements about the allowable probabilities for the Type I and Type II errors: If the mean response time is m = 12 minutes, I am willing to risk an a = .05 probability of rejecting H0. If the mean response time is 0.75 minutes over the specification (m = 12.75), I am willing to risk a b = .10 probability of not rejecting H0.

Determining the Sample Size for a Hypothesis Test About a Population Mean z = 1.645, z = 1.28 0 = 12, a = 12.75  = 3.2

End of Chapter 9, Part B