1 One Tailed Tests Here we study the hypothesis test for the mean of a population when the alternative hypothesis is an inequality.

Slides:



Advertisements
Similar presentations
Introduction to Hypothesis Testing
Advertisements

1 T-test for the Mean of a Population: Unknown population standard deviation Here we will focus on two methods of hypothesis testing: the critical value.
Simple Linear Regression 1. 2 I want to start this section with a story. Imagine we take everyone in the class and line them up from shortest to tallest.
Hypothesis Testing A hypothesis is a claim or statement about a property of a population (in our case, about the mean or a proportion of the population)
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
Chapter 10: Hypothesis Testing
1 Test for the Population Proportion. 2 When we have a qualitative variable in the population we might like to know about the population proportion of.
1 Analysis of Variance This technique is designed to test the null hypothesis that three or more group means are equal.
1 Difference Between the Means of Two Populations.
1 More Regression Information. 2 3 On the previous slide I have an Excel regression output. The example is the pizza sales we saw before. The first thing.
An Inference Procedure
Hypothesis Testing: Type II Error and Power.
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
1 Hypothesis Testing In this section I want to review a few things and then introduce hypothesis testing.
1 More about the Confidence Interval of the Population Mean.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
More Simple Linear Regression 1. Variation 2 Remember to calculate the standard deviation of a variable we take each value and subtract off the mean and.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
1 T-test for the Mean of a Population: Unknown population standard deviation Here we will focus on two methods of hypothesis testing: the critical value.
Chapter 9 Hypothesis Testing.
Ch. 9 Fundamental of Hypothesis Testing
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.
1 Confidence Interval for Population Mean The case when the population standard deviation is unknown (the more common case).
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.
An Inference Procedure
P-value Method 2 means, sigmas unknown. Sodium levels are measured in millimoles per liter (mmol/L) and a score between 136 and 145 is considered normal.
Statistics 11 Hypothesis Testing Discover the relationships that exist between events/things Accomplished by: Asking questions Getting answers In accord.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Overview Definition Hypothesis
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,
Sections 8-1 and 8-2 Review and Preview and Basics of Hypothesis Testing.
Fundamentals of Hypothesis Testing: One-Sample Tests
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
Testing Hypotheses Tuesday, October 28. Objectives: Understand the logic of hypothesis testing and following related concepts Sidedness of a test (left-,
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.,
7 Elementary Statistics Hypothesis Testing. Introduction to Hypothesis Testing Section 7.1.
Overview Basics of Hypothesis Testing
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
Lecture 7 Introduction to Hypothesis Testing. Lecture Goals After completing this lecture, you should be able to: Formulate null and alternative hypotheses.
Psy B07 Chapter 4Slide 1 SAMPLING DISTRIBUTIONS AND HYPOTHESIS TESTING.
Lesson Testing Claims about a Population Mean Assuming the Population Standard Deviation is Known.
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
1 Lecture note 4 Hypothesis Testing Significant Difference ©
1 Psych 5500/6500 The t Test for a Single Group Mean (Part 1): Two-tail Tests & Confidence Intervals Fall, 2008.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
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.
Unit 8 Section 8-3 – Day : P-Value Method for Hypothesis Testing  Instead of giving an α value, some statistical situations might alternatively.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Welcome to MM570 Psychological Statistics
© Copyright McGraw-Hill 2004
Introduction to Hypothesis Testing
Applied Quantitative Analysis and Practices LECTURE#14 By Dr. Osman Sadiq Paracha.
Copyright © Cengage Learning. All rights reserved. 9 Inferences Based on Two Samples.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Welcome to MM570 Psychological Statistics Unit 5 Introduction to Hypothesis Testing Dr. Ami M. Gates.
Copyright © 2009 Pearson Education, Inc t LEARNING GOAL Understand when it is appropriate to use the Student t distribution rather than the normal.
9.3 Hypothesis Tests for Population Proportions
Review and Preview and Basics of Hypothesis Testing
Hypothesis Testing: Preliminaries
Testing a Claim About a Mean:  Not Known
Hypothesis Testing: Hypotheses
اختبار الفرضيات اختبارالفرضيات المتعلقة بالوسط
Chapter 9 Hypothesis Testing.
Presentation transcript:

1 One Tailed Tests Here we study the hypothesis test for the mean of a population when the alternative hypothesis is an inequality.

2 Let’s follow an example and then highlight some main points about hypothesis testing. At its drive-up windows McDonald’s has had a mean service time of seconds. McDonald’s would like to improve on this. The null hypothesis in this case would be that the mean of the population of all service times would be greater than or equal to We write the null as Ho: μ ≥ The alternative, then, would be that the mean of the population of all service times are less than We write H1: μ < In this case the alternative hypothesis contains the improvement the company is attempting to make. The null hypothesis is a maintaining of the status quo. In a hypothesis test we will either 1) fail to reject the null hypothesis or 2) reject the null and go with the alternative.

3 Sample means service time Here I show the distribution of sample means of service times. The center is at Note some samples would have means less than even when in reality the population has mean of

4 Remember a Type I Error would have us reject the null when it is true. In this case a Type I Error would suggest the company is improving service time when it is fact not doing so. We want to be careful about this, so, we will only reject the null when the probability of an observed event is really low. What do I mean by the phrase, “probability of an observed event?” In a study like this we do not look at every drive-up case. This would be expensive. So a sample is taken. From the sample we calculate a statistic and figure a probability of this value or a more extreme value. This is the event to which I refer. On the next slide I show the distribution of sample means, assuming the mean is exactly seconds. To have the standard error of this distribution we need to know the sample size and have either the standard deviation in the population or the sample standard deviation as an estimate of it. Here we say we do not know the population standard deviation, so we use the sample value and know we have to use the t distribution.

5 Sample means in seconds In terms of a t = 0 Critical value Level of significance Reject null Accept null

6 Now, in the graph on the previous slide I put the mean of the distribution at You will notice on the left side of the distribution I put another vertical line and wrote next to it the phrase level of significance. I also labeled the value on the horizontal axis as “critical value.” This is the lowest level the sample mean could be and still have the claim true. Here is the basic logic of the hypothesis test. Say in our one sample we get a value farther away from the center than the critical value. Although it could happen, the probability is small. This will lead us to reject the null.

7 Now, let’s refer back to the graph on slide 5. The area I called the level of significance is the “low” probability I referred to before. If our sample value falls in this area past the critical value we will reject the null. But we pick the level of significance to be low, like.05 or.01, and thus we make our chance of making a Type I Error low. Next I want to develop some equivalent ways of conducting the hypothesis test. They are all similar and related.

8 t distribution In terms of a t = 0 Critical value of t = Level of significance = Reject null Accept null Critical t method

9 Say that alpha, or the level of significance we want is.05 and also say we will use a sample of 25 stores to observe service time. Thus with df = 25 – 1 = 24 and all.05 in the lower tail we have a critical value of We put all of the alpha =.05 in the lower tail because are alternative is an inequality. Will you please put the alpha and critical t values in the graph on the previous slide? Up until this point I have not used a real sample mean value. I have talked in the hypothetical. The hypothetical allowed me to think of critical values. (In practical terms you would probably have a sample mean from data at this time, but we have not used it yet.)

10 To complete the test we have to take the sample mean and actually calculate the t value for it. This will be called the test statistic tstat. Say in our sample we get an X bar = and a sample standard deviation of 20 seconds. Thus, tstat = (sample mean minus hypothesis value)/(sample standard dev/sqrt(n)) = (152.7 – 163.9)/(20/sqrt(25)) = Since the test statistic is farther from a t of 0 than the critical value is we reject the null and go with the alternative in this example. McDonald’s has done something to speed up its service time (reduce the time to serve customers).

11 t distribution 0 Critical value of t = Level of significance =.05 Reject null Accept null p value method

12 p-value What is a p-value? Let’s develop a story. When we said the level of significance was picked to be.05 we could find the critical value of in terms of a t value. Then we had a sample mean of and a corresponding tstat of minus On the number line this tstat is farther from the center than the critical value. And for this reason we rejected the null. Now, if you go to the graph on the previous slide, and if you put your right pinky, palm up on the critical value, the area to the left of your pinky was chosen to be.05.

13 Now, move your pinky to the left to the value of the sample mean, or its corresponding t. The area under the curve to the left of your pinky is less than.05. This actual area is called the p- value. It is just the level of significance of the sample statistic we obtained. An equivalent way to test an hypothesis then is to reject the null if the p value is less than the level of significance established for the test. In the t table we see in row df = 24 the value under.005. With a symmetric distribution has a lower tail area of.005. Our sample value is even less than that so the p-value is less than.005. We reject the null here.

14 Remember, all this is a one tailed test on the low side of the mean. What if we had a one tailed test on the high side of the mean? Same logic. Generic example: Sample size is 50 so df = 49. Alpha is picked to be.01. The critical t is found in the table as t Do not reject null Reject null Say in a sample the sample mean is and sample standard deviation is.02. SO our tstat = (6.034 – 6.03)/(.02/sqrt(50)) = 1.41 and since this is not as big as we do not reject the null. The p-value is somewhere between.05 and.10 because 1.41 is between and

15 Let’s summarize some things. When an alternative hypothesis H1 has a not equal sign we have a two tailed test. We take alpha and divide by 2 to get critical values. Reject the null if our tstat is more extreme than the critical values. If we go the p-value approach we have to take our tail area and multiply by 2. Reject the null if the p- value for the tstat is less than or equal to alpha. When an alternative hypothesis H1 has an inequality (either a less than or a greater than sign) sign we have a one tailed test. Alpha is all in one tail to get the critical value. Reject the null if our tstat is more extreme than the critical value. If we go the p-value approach the tail area with the tstat is the p-valule. Reject the null if the p-value for the tstat is less than or equal to alpha.