Business Statistics Topic 7

Slides:



Advertisements
Similar presentations
Unlocking the Mysteries of Hypothesis Testing
Advertisements

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)
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Inferences on a Population Mean
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.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 9-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Inferences About Means of Single Samples Chapter 10 Homework: 1-6.
Chapter 8 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.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
Hypothesis Testing for the Mean and Variance of a Population Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
Chapter 9 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.
Hypothesis Testing with One Sample
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Chapter 10 Hypothesis Testing
Overview Definition Hypothesis
Confidence Intervals and Hypothesis Testing - II
1 © Lecture note 3 Hypothesis Testing MAKE HYPOTHESIS ©
Presented by Mohammad Adil Khan
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
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
8 - 1 © 1998 Prentice-Hall, Inc. Chapter 8 Inferences Based on a Single Sample: Tests of Hypothesis.
Week 8 Fundamentals of Hypothesis Testing: One-Sample Tests
Chapter 9 Hypothesis Testing: Single Population
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.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
Statistical Methods 5.
8 - 1 © 2000 Prentice-Hall, Inc. Statistics for Business and Economics Inferences Based on a Single Sample: Tests of Hypothesis Chapter 8.
Statistical Inference
HYPOTHESIS TESTING. Statistical Methods Estimation Hypothesis Testing Inferential Statistics Descriptive Statistics Statistical Methods.
Introduction Hypothesis testing for one mean Hypothesis testing for one proportion Hypothesis testing for two mean (difference) Hypothesis testing for.
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.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Aim: How do we use a t-test?
26134 Business Statistics Tutorial 11: Hypothesis Testing Introduction: Key concepts in this tutorial are listed below 1. Difference.
© 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.
Created by Erin Hodgess, Houston, Texas Section 7-1 & 7-2 Overview and Basics of Hypothesis Testing.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Ex St 801 Statistical Methods Part 2 Inference about a Single Population Mean (HYP)
Learning Objectives Describe the hypothesis testing process Distinguish the types of hypotheses Explain hypothesis testing errors Solve hypothesis testing.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Statistics for Business and Economics
Tutorial 11: Hypothesis Testing
Hypothesis Testing: One-Sample Inference
Chapter 9 -Hypothesis Testing
One-Sample Tests of Hypothesis
Hypothesis Testing: Hypotheses
اختبار الفرضيات اختبارالفرضيات المتعلقة بالوسط
Unlocking the Mysteries of Hypothesis Testing
Chapter 9 Hypothesis Testing.
Introduction to Statistics for Business Application
Chapter Nine Part 1 (Sections 9.1 & 9.2) Hypothesis Testing
Business Statistics, 5th ed. by Ken Black
Virtual University of Pakistan
Hypothesis Tests for a Standard Deviation
Chapter 9 Hypothesis Testing: Single Population
Chapter 9 Hypothesis Testing: Single Population
Presentation transcript:

Business Statistics Topic 7 Hypothesis Testing

Business Statistics:Topic 7 Learning Objectives By the end of this topic you will be able to: define the principle of statistical inference formulate & distinguish the types of hypotheses recognise different types of errors in hypothesis testing recognise decision making using ‘Z’ test, ‘t’ test and ‘p’ value. Business Statistics:Topic 7

Business Statistics:Topic 7 Decision Making Business Statistics:Topic 7

Hypothesis testing Process Population Evidence to accept our claim We believe the average mileage is 10km (hypothesis) Sample mean, is 11 , test Draw Sample Business Statistics:Topic 7

What is a Hypothesis? A Statement(s) or claim about a population parameter, () developed for the purpose of testing. Hypothesis statement(s) are made before analysis. We claim that the average mileage is 10km/l Business Statistics:Topic 7

Business Statistics:Topic 7 Null Hypothesis A Null Hypothesis is a statement that nothing unusual occurs or will occur. We begin with the assumption it is true Designated H0 Always has equality sign: = Business Statistics:Topic 7

Alternative Hypothesis Opposite of null hypothesis, H0 Alternative hypothesis is a statement that something unusual occurs or will occur: Designated H1 or HA Always has inequality sign: ¹, <, or > Business Statistics:Topic 7

Business Statistics:Topic 7 Example 1 Test that the population mean is not 5 State the question statistically: m ¹ 5 State the opposite statistically: m = 5 Must be mutually exclusive & exhaustive Select the null hypothesis: m = 5 Always has an “=“ sign Hence the alternate hypothesis is: m ¹ 5 (two tailed test) Never has an “=“ sign. Business Statistics:Topic 7

Business Statistics:Topic 7 Example 2 Test that the population mean is less than 5 State the question statistically: m < 5 State the opposite statistically: m  5 Must be mutually exclusive & exhaustive Select the null hypothesis: m  5 Always has an “=“ sign Hence the alternate hypothesis is: m < 5 (one tailed test), Never has an “=“ sign. Business Statistics:Topic 7

Business Statistics:Topic 7 One or Two- tailed Test? Two-tailed test The alternative hypothesis, H1 has a “¹ “ sign One-tailed test The alternative hypothesis, H1 has a “>” sign (right tail test) or The alternative hypothesis, H1 has a “<“ sign (left tail test) Business Statistics:Topic 7

Business Statistics:Topic 7 Type of Test : z or t ? Business Statistics:Topic 7

Business Statistics:Topic 7 Level of Significance Probability of rejecting a true null hypothesis Represented by ‘a’ (alpha) Selected by researcher at start Typical values are .01, .05, .10 Same as confidence level of (1-a) 100% For example, a = .01 means 99% confidence level Used for getting the critical value stating the decision rule Business Statistics:Topic 7

Critical Value & Rejection Region The dividing point between the region where the null hypothesis is rejected and the region where it is not rejected. based on selected  value and the type of test (z or t) and whether a one or two-tailed test is used. Business Statistics:Topic 7

Critical Value & Rejection Region H0: m = 5 H1: m ¹ 5 For a two-tailed test (H1:   5) both the upper and lower tails marked by the critical values are the rejection region for H0 Business Statistics:Topic 7

Critical Value & Rejection Region H0: m = 5 H1: m > 5 For a one-tailed (right) test (H1:  >5) the rejection region is the right-hand tail marked by a positive critical value. Business Statistics:Topic 7

Critical Value & Rejection Region H0: m = 5 H1: m < 5 For a one-tailed (left) test (H1:  < 5) the rejection region is the left-hand tail marked by a negative critical value.   Business Statistics:Topic 7

Business Statistics:Topic 7 Decision Rule If the calculated test statistic lies in the rejection region, the null hypothesis is rejected Business Statistics:Topic 7

Business Statistics:Topic 7 Assumptions The population follows a normal distribution or The sample size is sufficiently large. Business Statistics:Topic 7

Steps in Hypothesis Testing Set up the null and alternative hypothesis H0, H1 based on the research question Decide the test to perform (z or t) depending on whether  is know or unknown State the decision rule Compute the test statistic (z or t) depending on the type of test used Make decision using the rule (reject / accept H0) Business Statistics:Topic 7

Z Test of Hypothesis for  Business Statistics:Topic 7

Business Statistics:Topic 7 Test Statistic – Z test Business Statistics:Topic 7

Critical Value & Decision Rule Two-tailed test When a = .05, 95% confidence level Critical values are 1.96 (from ‘z’ table) Note that for a two-tailed test the rejection region is on both tails Business Statistics:Topic 7

Critical Value & Decision Rule One-tailed (left) test When a = .05, 95% confidence level Critical value is -1.645 (from ‘z’ table) Note that for a one-tailed test the rejection region is on only one side: left tail Business Statistics:Topic 7

Critical Value & Decision Rule One-tailed (right) test When a = .01, 99% confidence level Critical value is 2.33 (from ‘z’ table) Note that for a one-tailed test the rejection region is on only one side: right tail Business Statistics:Topic 7

Business Statistics:Topic 7 Example The quality control manager believes that the lifetime of bulbs follows a normal distribution with a mean of 200 hours and a standard deviation of 20 hours. A sample of 100 bulbs showed a sample mean of 195 hours. The manager wants to test whether the mean lifetime of all bulbs is 200 at a 1% level of significance. Business Statistics:Topic 7

Business Statistics:Topic 7 Solution Is the mean life time of bulbs 200 hrs? Step 1 H0.:  = 200 H1:   200 (two-tailed test) Step 2 Z or t test?  known : Z test Business Statistics:Topic 7

Business Statistics:Topic 7 Step 3 a is 1% = .01 each tail area is a /2 = .005 critical value is 2.58 (Use Z table) Business Statistics:Topic 7

Business Statistics:Topic 7 Step 4 Step 5 Since the test statistic value, z = -2.5 does not lie in the rejection area, we do not reject H0. We conclude that the average lifetime of batteries is 200 hours. Business Statistics:Topic 7

t-Test of Hypothesis for  Business Statistics:Topic 7

Business Statistics:Topic 7 t-Test Statistic Business Statistics:Topic 7

Business Statistics:Topic 7 Example A particular branch of a well-known bank stores enough money during the weekends to satisfy its customer’s needs. The expected average withdrawal during the weekend is $500. When they looked at a sample of the last 16 weekend transactions, they found the average withdrawal to be $540 with a standard deviation of $70. At  = .05, is there evidence that the mean withdrawal has increased during weekends? It is assumed that the population follows a normal distribution. Business Statistics:Topic 7

Business Statistics:Topic 7 Solution Is the mean withdrawal more than $500? Step 1 H0.:   500 H1:  > 500 (one-tailed (right) test) Step 2 Z or t test?  unknown : t test Business Statistics:Topic 7

Business Statistics:Topic 7 Step 3 a is 5% = .05 upper tail is .05 Degrees of freedom v = n-1 = 16-1=15 Critical value, tn-1 is 1.7531 (Use t table) Business Statistics:Topic 7

Business Statistics:Topic 7 Step 4 Step 5 Since the test statistic value, t = 2.2857 lies in the rejection area, we reject H0. We conclude that the average money spent by the customers during weekend has increased. Business Statistics:Topic 7

Business Statistics:Topic 7 p-value test for  The p value is the smallest value of the significance level at which H0 can be rejected Assuming that the null hypothesis is true, the p value is the probability of obtaining a test statistic equal to or more extreme than the result obtained from the sample If the p value is less than , the null hypothesis is rejected If the p value is greater than or equal to , the null hypothesis is not rejected Business Statistics:Topic 7

p-value for a two-tailed test Business Statistics:Topic 7

p-value for a one-tailed(right) test Business Statistics:Topic 7

p-value for a one-tailed(left) test Business Statistics:Topic 7

Business Statistics:Topic 7 Example Is the mean life time of bulbs 200 hrs? Step 1 H0.:  = 200 H1:   200 (two-tailed test) Step 2  known : Business Statistics:Topic 7

Business Statistics:Topic 7 Step 3 p-value = 2  Probability {Z  2.5} = 2  0.0062 = 0.0124 Step4 Since the p-value is less than the  = .05, we reject the null hypothesis. Note that the decision is the same as before. Business Statistics:Topic 7

Business Statistics:Topic 7 Types of Error In reality H0 Is true H0 Is false Decision Type 1 error Probability  Reject H0 No error Type 2 error Probability  Accept H0 No error Business Statistics:Topic 7

Business Statistics:Topic 7 Types of Error Type 1 error has serious consequences As  increases  decreases Business Statistics:Topic 7

Business Statistics:Topic 7 Summary In this topic you have discussed: Decision Making processes Formulating and testing hypotheses Hypothesis testing of  when  is known Hypothesis testing of  when  is unknown p-value approach in hypothesis testing Types of errors involved in testing a hypothesis Business Statistics:Topic 7