1 Outline 1. Hypothesis Tests – Introduction 2. Technical vocabulary Null Hypothesis Alternative Hypothesis α (alpha) β (beta) 3. Hypothesis Tests – Format.

Slides:



Advertisements
Similar presentations
Introduction to Hypothesis Testing
Advertisements

Anthony Greene1 Simple Hypothesis Testing Detecting Statistical Differences In The Simplest Case:  and  are both known I The Logic of Hypothesis Testing:
1 Hypothesis Testing William P. Wattles, Ph.D. Psychology 302.
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
Statistical Techniques I EXST7005 Lets go Power and Types of Errors.
Chapter 8 Hypothesis Testing I. Significant Differences  Hypothesis testing is designed to detect significant differences: differences that did not occur.
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
Cal State Northridge  320 Ainsworth Sampling Distributions and Hypothesis Testing.
Hypothesis Testing: Type II Error and Power.
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)
Introduction to 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.
Chapter 3 Hypothesis Testing. Curriculum Object Specified the problem based the form of hypothesis Student can arrange for hypothesis step Analyze a problem.
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.
8-2 Basics of Hypothesis Testing
PY 427 Statistics 1Fall 2006 Kin Ching Kong, Ph.D Lecture 6 Chicago School of Professional Psychology.
Chapter 8 Introduction to Hypothesis Testing
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 TUTORIAL 6 Chapter 10 Hypothesis Testing.
Major Points Formal Tests of Mean Differences Review of Concepts: Means, Standard Deviations, Standard Errors, Type I errors New Concepts: One and Two.
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.
Chapter 5For Explaining Psychological Statistics, 4th ed. by B. Cohen 1 Suppose we wish to know whether children who grow up in homes without access to.
Introduction to Hypothesis Testing
Hypothesis Testing:.
Chapter 10 Hypothesis Testing
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Lecture Slides Elementary Statistics Twelfth Edition
Business Statistics - QBM117 Introduction to hypothesis testing.
Hypothesis Testing – Introduction
Confidence Intervals and Hypothesis Testing - II
Descriptive statistics Inferential statistics
Fundamentals of Hypothesis Testing: One-Sample Tests
Sampling Distributions and Hypothesis Testing. 2 Major Points An example An example Sampling distribution Sampling distribution Hypothesis testing Hypothesis.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
Is this quarter fair? How could you determine this? You assume that flipping the coin a large number of times would result in heads half the time (i.e.,
1 Today Null and alternative hypotheses 1- and 2-tailed tests Regions of rejection Sampling distributions The Central Limit Theorem Standard errors z-tests.
Jan 17,  Hypothesis, Null hypothesis Research question Null is the hypothesis of “no relationship”  Normal Distribution Bell curve Standard normal.
EDUC 200C Friday, October 26, Goals for today Homework Midterm exam Null Hypothesis Sampling distributions Hypothesis testing Mid-quarter evaluations.
1 Statistical Inference Greg C Elvers. 2 Why Use Statistical Inference Whenever we collect data, we want our results to be true for the entire population.
Hypothesis Testing: One Sample Cases. Outline: – The logic of hypothesis testing – The Five-Step Model – Hypothesis testing for single sample means (z.
Chapter 10 Hypothesis Testing
1 Introduction to Hypothesis Testing. 2 What is a Hypothesis? A hypothesis is a claim A hypothesis is a claim (assumption) about a population parameter:
Lecture 7 Introduction to Hypothesis Testing. Lecture Goals After completing this lecture, you should be able to: Formulate null and alternative hypotheses.
Introduction to Hypothesis Testing: One Population Value Chapter 8 Handout.
STEP BY STEP Critical Value Approach to Hypothesis Testing 1- State H o and H 1 2- Choose level of significance, α Choose the sample size, n 3- Determine.
1 Lecture note 4 Hypothesis Testing Significant Difference ©
Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
Copyright © Cengage Learning. All rights reserved. 8 Introduction to Statistical Inferences.
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
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Fall 2002Biostat Statistical Inference - Confidence Intervals General (1 -  ) Confidence Intervals: a random interval that will include a fixed.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
Welcome to MM570 Psychological Statistics
1 URBDP 591 A Lecture 12: Statistical Inference Objectives Sampling Distribution Principles of Hypothesis Testing Statistical Significance.
STEP BY STEP Critical Value Approach to Hypothesis Testing 1- State H o and H 1 2- Choose level of significance, α Choose the sample size, n 3- Determine.
Hypothesis Testing Introduction to Statistics Chapter 8 Feb 24-26, 2009 Classes #12-13.
Statistical Techniques
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
Hypothesis Testing – Introduction
INTRODUCTORY STATISTICS FOR CRIMINAL JUSTICE Test Review: Ch. 7-9
LESSON 20: HYPOTHESIS TESTING
Hypothesis Testing.
Presentation transcript:

1 Outline 1. Hypothesis Tests – Introduction 2. Technical vocabulary Null Hypothesis Alternative Hypothesis α (alpha) β (beta) 3. Hypothesis Tests – Format 4. Hypothesis Tests - Examples Lecture 9

2 Hypothesis Tests - Introduction Hypothesis tests ask questions about population means (or variances). These are always questions about probability. E.g., if population mean on some dimension is  0, what is the probability that a random sample drawn from that population would have a sample mean in some range relative to  0 ? Lecture 9

3 Hypothesis Tests - Introduction If that probability turns out to be very small, we conclude that the sample was not drawn from the population with mean  0. This is useful when  0 is the mean for an untreated population and is the mean for a treated sample. In that case, we conclude that the treatment had an effect (i.e., that  T ≠  0 ) Lecture 9 X

4 00 If the population mean is really μ, we would be surprised to find in this range here L We wouldn’t be surprised to find in this range here if μ is the true mean.

5 Hypothesis Tests - Introduction If the sample mean is in the tail of the sampling distribution, we could conclude either that something unlikely happened, or that our sample was not drawn from the population with mean  0 (the treatment worked) If that “something unlikely” is sufficiently unlikely, we prefer the conclusion that the treatment worked. So, how unlikely is “sufficiently unlikely?” Lecture 9

6 Hypothesis Tests – technical vocabulary Null Hypothesis (H 0 ) Hypothesis of no effect – that the treatment didn’t work Hypothesis that the historical population mean  0 is still true. Alternative Hypothesis (H A ) Hypothesis that treatment worked – so treated population mean is  A ≠  0. Lecture 9

7 Hypothesis Tests – technical vocabulary α (Alpha) Probability of rejecting the null hypothesis when you should not α ≤.05 means that, if you repeatedly sampled from the population with mean  0, you would get a sample mean that far from  0 0. So, it’s possible for you to conclude that there was a treatment effect when in fact you just got one of those “outlier” samples. That is called a Type I Error. Lecture 9

8 00 The null hypothesis is true and we just were unlucky? Or… The null hypothesis is not true, which is why is so far from μ 0 ?

9 Hypothesis Tests – technical vocabulary Question – why settle for 5 chances in 100 of making a Type I error? Why not go for 1 chance in 100? Or 0 chances in 100? Answer – because as we move the critical value of out into the tail of the distribution around  0, we increase the probability of Type II error – not rejecting H 0 when we should. Lecture 9

10 Lecture 9 might be below the critical value L even if the treatment worked X 00 AA L α β

11 Hypothesis Tests – technical vocabulary β (Beta) is the probability of a Type II error – not rejecting H 0 when you should. In order to compute β, you must have a specific alternative hypothesis. On previous slide, this was shown as  A. In order to compute β you have to do two steps: (1) compute L; (2) compute probability that is smaller (or larger) than L given  A. Lecture 9 X

12 Lecture 9 1. Given α, compute L. 2. Knowing L, compute β. 00 AA L α β

13 Hypothesis Tests - Format H 0 :  =  0 (this is the historical population mean) H A :  <  0 H A :  ≠  0 or H A :  >  0 (One-tailed test)(Two-tailed test) Test Statistic:Z = -  -   s Lecture 9 XX

14 Hypothesis Tests - Format Rejection Region: One-tailed test:Two-tailed test: Zobt > Zα│Zobt│ > Zα/2 orZobt < -Zα Always report your decision explicitly!! (Did you reject H 0 or not reject H 0 ?) You NEVER “accept” H 0 – only fail to reject it. Lecture 9

15 Hypothesis Tests – Example 1 The average length of classical music CDs is known to be 70.6 minutes. You suspect pop music CDs are shorter. To test this hypothesis, you test a random sample of 100 pop music CDs. Shown below are some calculations on the data you collect. Σx = 6250Σx 2 = a. What should you conclude about the relative lengths of classical and pop music CDs? (α =.01) Lecture 9

16 Hypothesis Tests – Example 1 H 0 :  = 70.6 H A :  < 70.6 Test Statistic:Z = -  0 S X Rejection region:Z obt ≤ Lecture 9 X Why negative? Why S X ? Why not S? Why one-tailed?

17 Hypothesis Tests – Example 1 Z obt = 62.5 – /√100 = -2.7 Decision: Reject H 0. There is evidence that pop music CDs are shorter than classical music CDs. Lecture 9 Why 30?

18 Hypothesis Tests – Example 2 At this time of year, half of the tomatoes at Fonzie’s Fine Foods have a shelf life of 5 days or more once they arrive at the store. Fonzie is considering a new type of genetically-modified tomato, hoping these will have a longer shelf life. He plans to order a sample of 25 of these new tomatoes and will conclude that they last longer if 19 or more of them stay fresh for at least 5 days on the shelf. Lecture 9

19 Hypothesis Tests – Example 2 a. Suppose that these genetically-modified tomatoes, in fact, do not last any longer than the other tomatoes Fonzie was buying. What is the probability that he will incorrectly conclude that the new tomatoes do have a longer shelf life? Lecture 9

20 Hypothesis Tests – Example 2 P(tomato stays fresh ≥ 5 days) =.5 We want P(X ≥ 19 │ p =.50) when n = 25. That value = 1 – P(X ≤ 18│p =.50) when n = 25. From table, desired p =.993. So the probability of an incorrect conclusion is =.007 Lecture 9

21 Hypothesis Tests – Example 2 b. Suppose that Fonzie buys a case of 50 of the new genetically-modified tomatoes and tests the hypothesis that these tomatoes will remain fresh longer than 5 days using α =.05. What is the probability that he will conclude that the new tomatoes do last longer if the new tomatoes actually last for 8 days, on average, with a standard deviation of 8.75 days? Lecture 9

22 Hypothesis Tests – Example 2 This is a question about Power. The power of a test is the complement of β. β is the probability that you do not reject H 0 when you should. Power is the probability that you do reject H 0 when you should (power = 1 – β) Lecture 9

23 Lecture 9 1. Given α, compute L. 2. Knowing L, compute C. 3. Add.5 + C to get power. 5 8 L α β C

24 Hypothesis Tests – Example 2 α =.05. Therefore Z = L =  0 + Z α (S X /√n) L = (8.75/√50) = = Lecture 9

25 Lecture α β C

26 Hypothesis Tests – Example 2 Now, find area C: Z = – 8 (8.75/√50) Z = Associated p =.2823 (from Table). Lecture 9

27 Lecture 9 1. Given α, compute L. 2. Knowing L, compute C. 3. Add.5 + C to get power. 5 8 α β

28 Hypothesis Tests – Example 2 The power of this test is = Note that this is the power of the test calculated for the specific H A that  = 8. If H A specified a different value of , this procedure would produce a different value for the power of the test. Lecture 9