Lecture 16 Section 8.1 Objectives: Testing Statistical Hypotheses − Stating hypotheses statements − Type I and II errors − Conducting a hypothesis test.

Slides:



Advertisements
Similar presentations
Chapter 9 Hypothesis Testing Understandable Statistics Ninth Edition
Advertisements

Objectives (BPS chapter 15)
Chapter 10: Hypothesis Testing
Copyright © Cengage Learning. All rights reserved. 8 Tests of Hypotheses Based on a Single Sample
Evaluating Hypotheses Chapter 9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics.
Introduction to Inference Estimating with Confidence IPS Chapter 6.1 © 2009 W.H. Freeman and Company.
Lecture 2: Thu, Jan 16 Hypothesis Testing – Introduction (Ch 11)
Evaluating Hypotheses Chapter 9 Homework: 1-9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics ~
IPS Chapter 6 © 2012 W.H. Freeman and Company  6.1: Estimating with Confidence  6.2: Tests of Significance  6.3: Use and Abuse of Tests  6.4: Power.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Basic Business Statistics.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics
Tests of significance: The basics BPS chapter 15 © 2006 W.H. Freeman and Company.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Overview Definition Hypothesis
Section 9.1 Introduction to Statistical Tests 9.1 / 1 Hypothesis testing is used to make decisions concerning the value of a parameter.
Review of Statistical Inference Prepared by Vera Tabakova, East Carolina University ECON 4550 Econometrics Memorial University of Newfoundland.
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
Inference in practice BPS chapter 16 © 2006 W.H. Freeman and Company.
Tests of significance: The basics BPS chapter 15 © 2006 W.H. Freeman and Company.
Objectives 6.2 Tests of significance
14. Introduction to inference
More About Significance Tests
Adapted by Peter Au, George Brown College McGraw-Hill Ryerson Copyright © 2011 McGraw-Hill Ryerson Limited.
Chapter 8 Introduction to Hypothesis Testing
Section 9.2 Testing the Mean  9.2 / 1. Testing the Mean  When  is Known Let x be the appropriate random variable. Obtain a simple random sample (of.
LECTURE 19 THURSDAY, 14 April STA 291 Spring
Introduction to inference Tests of significance IPS chapter 6.2 © 2006 W.H. Freeman and Company.
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.
Chapter 9 Tests of Hypothesis Single Sample Tests The Beginnings – concepts and techniques Chapter 9A.
Hypothesis and Test Procedures A statistical test of hypothesis consist of : 1. The Null hypothesis, 2. The Alternative hypothesis, 3. The test statistic.
Introduction to Inferece BPS chapter 14 © 2010 W.H. Freeman and Company.
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.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
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.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
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
Tests of Significance: The Basics BPS chapter 15 © 2006 W.H. Freeman and Company.
Tests of significance: The basics BPS chapter 14 © 2006 W.H. Freeman and Company.
Logic and Vocabulary of Hypothesis Tests Chapter 13.
Chapter 9: Hypothesis Tests Based on a Single Sample 1.
IPS Chapter 6 © 2012 W.H. Freeman and Company  6.1: Estimating with Confidence  6.2: Tests of Significance  6.3: Use and Abuse of Tests  6.4: Power.
IPS Chapter 6 DAL-AC FALL 2015  6.1: Estimating with Confidence  6.2: Tests of Significance  6.3: Use and Abuse of Tests  6.4: Power and Inference.
Introduction to inference Tests of significance IPS chapter 6.2 © 2006 W.H. Freeman and Company.
© Copyright McGraw-Hill 2004
Introduction to Inference Estimating with Confidence PBS Chapter 6.1 © 2009 W.H. Freeman and Company.
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.
Tests of significance: The basics BPS chapter 14 © 2006 W.H. Freeman and Company.
Testing a Single Mean Module 16. Tests of Significance Confidence intervals are used to estimate a population parameter. Tests of Significance or Hypothesis.
Sampling and Inference September 23, Web Address
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.
Statistics for Business and Economics Module 1:Probability Theory and Statistical Inference Spring 2010 Lecture 6: Tests of significance / tests of hypothesis.
Uncertainty and confidence If you picked different samples from a population, you would probably get different sample means ( x ̅ ) and virtually none.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
+ Homework 9.1:1-8, 21 & 22 Reading Guide 9.2 Section 9.1 Significance Tests: The Basics.
Chapter Nine Hypothesis Testing.
Tests of Significance: The Basics
Introduction to Inference
Unit 5: Hypothesis Testing
Tests of significance: The basics
Objectives 6.2 Tests of significance
Chapter 9 Hypothesis Testing.
Presentation transcript:

Lecture 16 Section 8.1 Objectives: Testing Statistical Hypotheses − Stating hypotheses statements − Type I and II errors − Conducting a hypothesis test

Hypotheses and test procedures While confidence intervals are appropriate when our goal is to estimate a population parameter, Tests of hypotheses are used to assess the amount evidence the data has in favor or against some claim about the population. The hypothesis is a statement about the parameter in the population. A test of hypotheses is a method for using sample data to decide between the two competing hypotheses under consideration. We initially assume that one of the hypotheses, the null hypothesis, is correct; this is the “prior belief” claim. We then consider the evidence (sample data), and we reject the null hypothesis in favor of the competing claim, called the alternative hypothesis, only if there is convincing evidence against the null hypothesis.

Reasoning of Significance Tests We have seen that the properties of the sampling distribution of help us estimate a range of likely values for population mean . We can also rely on the properties of the sample distribution to test hypotheses. Example: You are in charge of quality control in your food company. You sample randomly four packs of cherry tomatoes, each labeled 1/2 lb. (227 g). The average weight from your four boxes is 222 g. Obviously, we cannot expect boxes filled with whole tomatoes to all weigh exactly half a pound. Thus,  Is the somewhat smaller weight simply due to chance variation?  Is it evidence that the calibrating machine that sorts cherry tomatoes into packs needs revision?

Stating hypotheses A test of statistical significance tests a specific hypothesis using sample data to decide on the validity of the hypothesis. In statistics, a hypothesis is an assumption or a theory about the characteristics of one or more variables in one or more populations. What you want to know: Does the calibrating machine that sorts cherry tomatoes into packs need revision? The same question reframed statistically: Is the population mean µ for the distribution of weights of cherry tomato packages equal to 227 g (i.e., half a pound)?

The null hypothesis is a very specific statement about a parameter of the population(s). It is labeled H 0. The alternative hypothesis is a more general statement about a parameter of the population(s) that is exclusive of the null hypothesis. It is labeled H a. Weight of cherry tomato packs: H 0 : µ = 227 g (µ is the average weight of the population of packs) H a : µ ≠ 227 g (µ is either larger or smaller)

One-sided and two-sided tests  A two-tail or two-sided test of the population mean has these null and alternative hypotheses: H 0 : µ = [a specific number] H a : µ  [a specific number]  A one-tail or one-sided test of a population mean has these null and alternative hypotheses: H 0 : µ = [a specific number] H a : µ < [a specific number] OR H 0 : µ = [a specific number] H a : µ > [a specific number] The FDA tests whether a generic drug has an absorption extent similar to the known absorption extent of the brand-name drug it is copying. Higher or lower absorption would both be problematic, thus we test: H 0 : µ generic = µ brand H a : µ generic  µ brand two-sided

Type I and II errors  A Type I error is made when we reject the null hypothesis and the null hypothesis is actually true (incorrectly reject a true H 0 ). The probability of making a Type I error is the significance level   A Type II error is made when we fail to reject the null hypothesis and the null hypothesis is false (incorrectly keep a false H 0 ). The probability of making a Type II error is labeled . The power of a test is 1 − .

Running a test of significance is a balancing act between the chance α of making a Type I error and the chance  of making a Type II error. Reducing α reduces the power of a test and thus increases . It might be tempting to emphasize greater power (the more the better).  However, with “too much power” trivial effects become highly significant.  A type II error is not definitive since a failure to reject the null hypothesis does not imply that the null hypothesis is wrong.

Remarks on Type I and II Errors  Ideally, we wish to have a test making both α and β as small as possible. However, as α decreases, β increases.  In a test of hypotheses, we control the significance level α to be employed in the test. Common significance levels are α = 0.10 or 0.05 or A test with α=0.01 means that if H0 is actually true and the test procedure used repeatedly on samples, in the long run H0 would be incorrectly rejected only 1% of the time.  Then which value of significance level should be employed? If a type I error is much more serious than a type II error, a very small value of α is reasonable. When a type II error could have quite unpleasant consequences, it is better to use a larger α. But if there is no significant difference in the effects of these two errors, researchers often choose α=0.05.

Hypotheses and test procedures Steps for conducting a hypothesis test 1. Set up the null and alternative hypotheses 2. Calculate the test statistic 3. Calculate the p-value 4. Make a conclusion in terms of the problem Test statistic Test statistic is computed assuming that the null hypothesis is true. So, a test statistic measures compatibility between the null hypothesis and the data.

The P-value The packaging process has a known standard deviation  = 5 g. H 0 : µ = 227 g versus H a : µ ≠ 227 g The average weight from your four random boxes is 222 g. What is the probability of drawing a random sample such as yours if H 0 is true? Tests of statistical significance quantify the chance of obtaining a particular random sample result if the null hypothesis were true. This quantity is the P-value. This is a way of assessing the “believability” of the null hypothesis, given the evidence provided by a random sample.

Interpreting a P-value Could random variation alone account for the difference between the null hypothesis and observations from a random sample?  A small P-value implies that random variation due to the sampling process alone is not likely to account for the observed difference.  With a small p-value we reject H 0. The true property of the population is significantly different from what was stated in H 0. Thus, small P-values are strong evidence AGAINST H 0. But how small is small…?

Decision Rule What do you conclude from the test? We can compare the P-value with the desired significance level α. If P-value ≤ α then we reject H0 at significance level α. If P-value > α then we fail to reject H0 at significance level α.

Stating hypotheses A consumer advocate is interested in evaluating the claim that a new granola cereal contains “4 ounces of cashews in every bag.” The advocate recognizes that the amount of cashews will vary slightly from bag to bag, but she suspects that the mean amount of cashews per bag is less than 4 ounces. To check the claim, the advocate purchases a random sample of 40 bags of cereal and calculates a sample mean of 3.68 ounces of cashews. What alternative hypothesis does she want to test? a) b) c) d) e)

Statistical significance We reject the null hypothesis whenever a) P-value > . b) P-value  . c) P-value  . d) P-value  .

Statistical significance The significance level is denoted by a)  b)  c)  d) P-value

Calculating P-values To calculate the P-value for a significance test, we need to use information about the a) Sample distribution b) Population distribution c) Sampling distribution of

Conclusions Suppose the P-value for a hypothesis test is Using  = 0.05, what is the appropriate conclusion? a) Reject the null hypothesis. b) Reject the alternative hypothesis. c) Do not reject the null hypothesis. d) Do not reject the alternative hypothesis.

Conclusions Suppose the P-value for a hypothesis test is Using  = 0.05, what is the appropriate conclusion? a) Reject the null hypothesis. b) Reject the alternative hypothesis. c) Do not reject the null hypothesis. d) Do not reject the alternative hypothesis.

Stating hypotheses If we test H 0 :  = 40 vs. H a :  < 40, this test is a) One-sided (left tail). b) One-sided (right tail). c) Two-sided.

Stating hypotheses If we test H 0 :  = 40 vs. H a :   40, this test is a) One-sided (left tail). b) One-sided (right tail). c) Two-sided.