Hypothesis Testing A hypothesis is a conjecture about a population. Typically, these hypotheses will be stated in terms of a parameter such as  (mean)

Slides:



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

7 Chapter Hypothesis Testing with One Sample
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.
Inference Sampling distributions Hypothesis testing.
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
1 1 Slide STATISTICS FOR BUSINESS AND ECONOMICS Seventh Edition AndersonSweeneyWilliams Slides Prepared by John Loucks © 1999 ITP/South-Western College.
Chapter 10: Hypothesis Testing
Introduction to Hypothesis Testing
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Lecture 2: Thu, Jan 16 Hypothesis Testing – Introduction (Ch 11)
Pengujian Hipotesis Nilai Tengah Pertemuan 19 Matakuliah: I0134/Metode Statistika Tahun: 2007.
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.
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.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
© 1999 Prentice-Hall, Inc. Chap Chapter Topics Hypothesis Testing Methodology Z Test for the Mean (  Known) p-Value Approach to Hypothesis Testing.
Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
Hypothesis Testing with One Sample
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 11 Introduction to Hypothesis Testing.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
Chapter 10 Hypothesis Testing
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
Section 9.1 Introduction to Statistical Tests 9.1 / 1 Hypothesis testing is used to make decisions concerning the value of a parameter.
Tests of significance & hypothesis testing Dr. Omar Al Jadaan Assistant Professor – Computer Science & Mathematics.
Week 8 Fundamentals of Hypothesis Testing: One-Sample Tests
Statistical Inference Decision Making (Hypothesis Testing) Decision Making (Hypothesis Testing) A formal method for decision making in the presence of.
Hypothesis Testing with One Sample Chapter 7. § 7.1 Introduction to Hypothesis Testing.
Chapter 10 Hypothesis Testing
Lecture 7 Introduction to Hypothesis Testing. Lecture Goals After completing this lecture, you should be able to: Formulate null and alternative hypotheses.
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 1 Section 7.1 Introduction to Hypothesis Testing.
Statistical Inference
Lecture 16 Dustin Lueker.  Charlie claims that the average commute of his coworkers is 15 miles. Stu believes it is greater than that so he decides to.
Statistics - methodology for collecting, analyzing, interpreting and drawing conclusions from collected data Anastasia Kadina GM presentation 6/15/2015.
Hypothesis and Test Procedures A statistical test of hypothesis consist of : 1. The Null hypothesis, 2. The Alternative hypothesis, 3. The test statistic.
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.
Introduction Hypothesis testing for one mean Hypothesis testing for one proportion Hypothesis testing for two mean (difference) Hypothesis testing for.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
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.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Lecture 18 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Hypothesis Testing with One Sample Chapter 7. § 7.1 Introduction to Hypothesis Testing.
Lecture 17 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
Hypothesis Testing An understanding of the method of hypothesis testing is essential for understanding how both the natural and social sciences advance.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Introduction Suppose that a pharmaceutical company is concerned that the mean potency  of an antibiotic meet the minimum government potency standards.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
If we fail to reject the null when the null is false what type of error was made? Type II.
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.
6.2 Large Sample Significance Tests for a Mean “The reason students have trouble understanding hypothesis testing may be that they are trying to think.”
Slide 20-1 Copyright © 2004 Pearson Education, Inc.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Hypothesis Tests Hypothesis Tests Large Sample 1- Proportion z-test.
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.
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.
Chapter 9 -Hypothesis Testing
Slides by JOHN LOUCKS St. Edward’s University.
Hypothesis Testing A hypothesis is a conjecture about a population.
Unit 5: Hypothesis Testing
Statistics for Business and Economics (13e)
Chapter Nine Part 1 (Sections 9.1 & 9.2) Hypothesis Testing
STA 291 Spring 2008 Lecture 17 Dustin Lueker.
Presentation transcript:

Hypothesis Testing A hypothesis is a conjecture about a population. Typically, these hypotheses will be stated in terms of a parameter such as  (mean) or  (proportion). A test of hypothesis is a statistical procedure used to make a decision about the conjectured value of a parameter. We will make our decision based on observed values of a test statistic and resulting p-value.

The Hypotheses There are two hypotheses which we are comparing. The null hypothesis, H 0, specifies a value of a parameter. This hypothesis is assumed to be true, and an experiment is conducted to determine if the collected data is contradictory to the null hypothesis. The alternative (or research) hypothesis, H a, gives an opposing statement about the value of the parameter. The collected data will be analyzed to see if it supports the alternative hypothesis.

Statistical Terminology Once the data is collected, we seek an answer to the question: “If the null hypothesis is true, how likely are we to observe this type of data, or data which is more extreme in the direction of the alternative hypothesis?” The observed significance level, or p-value of a test of hypothesis is the probability of obtaining the observed value of the sample statistic, or one which is even more supportive of the alternative hypothesis, under the assumption that the null hypothesis is true.

Empirical Rule Example One thing you might think of initially is to see if the value (or statistic’s value) is where you expect it to be. If H 0 says the population mean should be 78 bpm (heart rate) with a standard error of the mean of 3 bpm, then you know from the empirical rule that roughly 95% of heart rates should lie between 72 bpm and 84 bpm. So if a sample mean of patients on a new drug, for example, have a rate of 73 bpm, that is expected. If the sample mean is 86 bpm, that might be cause for concern.

Test Statistics and P-values Obviously, we must be able to calculate these p-values. A test statistic is a quantity calculated from the sampled value of a statistic, which is then used to calculate a p-value for a test of hypothesis. We recall that under appropriate conditions, we know the sampling distribution of the sample mean follows a normal distribution, and we can find a t-score using

Using P-values to make Decisions We must decide when to accept that the research hypothesis has been proven beyond some reasonable doubt. This is called a significance level, and is denoted by . When the probability of the sample data is below this level of significance, we conclude there is enough evidence to assert the research hypothesis is true. So we accept H a when the p-value is less than or equal to the level of significance. (decision rule)

Steps of the t-Test of Hypothesis for  1.Identify the null and alternative hypotheses 2.Give the decision rule 3.Identify the form of the test statistic and calculate it based on the sampled data 4.Verify the method is valid (random sample,  is unknown, and n is at least 30 or population is known to be normally distributed ) 5.Calculate the p-value based on the t-score and H a 6.Give an interpretation. (sentence)

Hypothesis Testing Example A local radio station claims that they play an average of 54 minutes every hour. A listener believes this statement is incorrect, and wants to prove that this station plays less than 54 minutes of music, on average, each hour. The listener monitors 36 different 1-hour time slots and records the amount of time during that hour which the station played music. She finds that the mean and standard deviation for the 36 observations are 53.2 minutes and 2.1 minutes, respectively. Does this provide evidence that the listener is correct? Test using a.05 level of significance.

Hypothesis Testing Example 1. H 0 :  = 54 minutesH a :  < 54 minutes 2.Decision Rule: Accept H a if the p-value < = – Valid since a random sample was taken,  is unknown so we use s = 2.1 min, and n = 36 is “at least 30”.

Hypothesis Testing Example 5.p-value =.0138df = n – 1 = 36 – 1 = 35, We will obtain the p-value from software using the actual sample data set. 6.At the.05 level of significance, there is sufficient evidence to conclude the mean time per hour this station plays music is less than 54 minutes.

Hypothesis Testing Example Historically, the mean time until a patient feels relief from pain after surgery on the standard medication has been 3 minutes. A new drug is available which researchers hope will lead to faster average relief times for patients after surgery. A random sample of 41 patients were given this new medication after surgery and the time until the patient felt relief was recorded. What is the research hypothesis?

Hypothesis Testing Example A new drug is available which researchers hope will lead to faster average relief times for patients after surgery. What is the research hypothesis? So H a :  < 3 minutes where  is the mean relief time among all patients who take this new drug after surgery. Also, this implies H 0 :  > 3 minutes.

Hypothesis Testing Example Suppose the mean relief time was 2.8 minutes and the standard deviation was 0.92 minutes for the 41 patients. Does this allow the researchers to conclude the new drug is faster, on average? Use  = Decision rule: Accept H a if the p-value < Test Statistic: t = (see next slide for output) P-value: At the.05 level of significance, there is not enough evidence to conclude the new drug is faster, on average.

Hypothesis Testing Example StatCrunch Output for the Entire Test: Hypothesis test results: μ : population mean H 0 : μ = 3 H A : μ < 3

Possible Errors Realize, that a small p-value (or observed level of significance) suggests that the alternative hypothesis is true, but does not guarantee it is true. A Type I Error consists of concluding that the alternative hypothesis is true when, in fact, the null hypothesis is true. A Type II Error consists of concluding that the null hypothesis is true when, in fact, the alternative hypothesis is true.

Type I or Type II Errors We can examine each error and attempt to control how willing we are to commit each. The probability of committing a Type I Error is given by  (alpha), the level of significance of the test. The probability of committing a Type II Error is given by  (beta). We will decide the seriousness of each error, and then determine relative values for  and .

Type I or Type II Errors H 0 : Dental lab is not contaminated with mercury vapor. H a : Dental lab is contaminated with mercury vapor. A Type I Error occurs if we conclude the lab is contaminated when, in fact, the lab is not contaminated with mercury vapor. Consequences: The office would probably be closed, and procedures to reduce the mercury vapor levels would be implemented. This means costs for decontamination and lack of income from patients, but no one is endangered.

Type I or Type II Errors H 0 : Lab is not contaminated with mercury vapor. H a : Lab is contaminated with mercury vapor. A Type II Error occurs if we conclude the lab is NOT contaminated when, in fact, the lab is contaminated with mercury vapor. Consequences: The office would be open and new patients and workers could be exposed to high levels of mercury vapor. This means possible law suits, people getting sick, dangerous work environment. It could lead to a bad reputation for this dental office.

Type I or Type II Errors H 0 : Lab is not contaminated with mercury vapor. H a : Lab is contaminated with mercury vapor. Which error is worse? Probably Type II in my opinion. Hence, I want to avoid this, so I set the probability low. The Type I Error means a loss of income, so it’s not good for business, but it’s not as serious. I’d set  more than .

Type I or Type II Errors Be able to define a Type I Error and a Type II error in terms of a scenario. Be able to discuss the consequences of each type of error. Set relative values for  and  depending on those consequences (which is larger and which is smaller, or are both about equal?). There are no rules on one error being worse than the other in all situations.