Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Inference Sampling distributions Hypothesis testing.
Chap 9-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Basic Business Statistics 12 th Edition Chapter 9 Fundamentals of Hypothesis.
Statistics for Business and Economics
© 2001 Prentice-Hall, Inc.Chap 9-1 BA 201 Lecture 15 Test for Population Mean Known.
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 9-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 9-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
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.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Basic Business Statistics.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
9-1 Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall Statistics for Managers using Microsoft Excel 6 th Edition Chapter 9 Fundamentals.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
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.
© 1999 Prentice-Hall, Inc. Chap Chapter Topics Hypothesis Testing Methodology Z Test for the Mean (  Known) p-Value Approach to Hypothesis Testing.
Statistics for Managers Using Microsoft® Excel 5th Edition
Statistical Inference Dr. Mona Hassan Ahmed Prof. of Biostatistics HIPH, Alexandria University.
Chapter 10 Hypothesis Testing
Overview Definition Hypothesis
Confidence Intervals and Hypothesis Testing - II
Statistics for Managers Using Microsoft Excel
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Business Statistics,
© 2002 Prentice-Hall, Inc.Chap 7-1 Statistics for Managers using Excel 3 rd Edition Chapter 7 Fundamentals of Hypothesis Testing: One-Sample Tests.
© 2003 Prentice-Hall, Inc.Chap 9-1 Fundamentals of Hypothesis Testing: One-Sample Tests IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION.
Chapter 8 Hypothesis Testing (假设检验)
Introduction to Biostatistics and Bioinformatics
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
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.
6 - 1 © 2000 Prentice-Hall, Inc. A First Course in Business Statistics Inferences Based on a Single Sample: Tests of Hypothesis Chapter 6.
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
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
© 2003 Prentice-Hall, Inc.Chap 7-1 Business Statistics: A First Course (3 rd Edition) Chapter 7 Fundamentals of Hypothesis Testing: One-Sample Tests.
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.
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
Testing of Hypothesis Fundamentals of Hypothesis.
Copyright ©2011 Pearson Education 9-1 Statistics for Managers using Microsoft Excel 6 th Global Edition Chapter 9 Fundamentals of Hypothesis Testing: One-Sample.
© 2002 Prentice-Hall, Inc.Chap 7-1 Business Statistics: A First course 4th Edition Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
Statistics for Managers 5th Edition Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
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.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Basic Business Statistics.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Business Statistics,
© 2004 Prentice-Hall, Inc.Chap 9-1 Basic Business Statistics (9 th Edition) Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
© 2001 Prentice-Hall, Inc.Chap 9-1 BA 201 Lecture 14 Fundamentals of Hypothesis Testing.
Chapter 8 Hypothesis Testing (假设检验)
What is a Hypothesis? A hypothesis is a claim (assumption) about the population parameter Examples of parameters are population mean or proportion The.
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.
1 Lecture 5: Section B Class Web page URL: Data used in some examples can be found in:
1 of 53Visit UMT online at Prentice Hall 2003 Chapter 9, STAT125Basic Business Statistics STATISTICS FOR MANAGERS University of Management.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
ASHOK THAKKAR© 2002 Prentice-Hall, Inc.Chap 9-1 Basic Statistics Fundamentals of Hypothesis Testing: One-Sample, Two-Sample Tests PREPARED BY: ASHOK THAKKAR.
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.
Basics of Pharmaceutical Statistics
PENGUJIAN HIPOTESIS 1 Pertemuan 9
Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests
Statistics for Managers using Excel 3rd Edition
Statistics for Business and Economics
Presentation transcript:

Fundamentals of Hypothesis Testing

Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean to be 2.0 Take a Sample Null Hypothesis Hypothesis Testing Process Do a statistical test and conclude

1. State H 0 State H 1 2. Choose  3. Collect data 4. Compute test statistic (and/or the p value) 5. Make the decision General Steps in Hypothesis Testing

Step 1 Define the null and alternative hypotheses

A hypothesis is a claim about the population parameter.  Examples of a parameter are population mean or proportion The mean number of TV sets per household is 3.0! © T/Maker Co. What is a Hypothesis?

States the assumption to be tested e.g. The mean number of TV sets is 3 (H 0 :  3) not The null hypothesis is always about a population parameter (H 0 :  3), not about a sample statistic (H 0 : X  3) The Null Hypothesis, H 0

TRUEBegins with the assumption that the null hypothesis is TRUE (Similar to the notion of innocent until proven guilty) Always contains the “ = ” sign. There may be enough evidence to reject the Null Hypothesis. Otherwise it is not rejected. (continued)

Is the opposite of the null hypothesis e.g. The mean number of TV sets is not 3 (H 1 :   3) Never contains an “=” sign. The Alternative Hypothesis, H 1

One and Two Tail Hypotheses H 0 :   3 H 1 :  < 3 H 0 :   3 H 1 :  > 3 H 0 :   3 H 1 :   3

Step 2 Set the level of significance 

H 0 : Innocent The Truth Verdict InnocentGuilty Decision H 0 TrueH 0 False Innocent CorrectError Do Not Reject H  Type II Error (  ) Guilty Error Correct Reject H 0 Type I Error (  ) Power (1 -  ) Result Possibilities Jury Trial Hypothesis Test

The  (level of significance) is selected by the researcher at the start of the research. Typical values are 0.01, 0.05, and 0.10 The  defines unlikely values of sample statistic if null hypothesis is true. This is called rejection region. Level of Significance, 

Level of Significance,  and the Rejection Region H 0 :   3 H 1 :  < 3 H 0 :   3 H 1 :  > 3 H 0 :   3 H 1 :   3    /2 Critical Value(s)

Type I error Is when you reject the null hypothesis when it is true. Probability of type I error is  and is set by the researcher. Errors in Making Decisions

Type II Error Is failing to Reject a False Null Hypothesis Probability of Type II Error Is  (beta) Power(1-  ) The Power of The Test Is (1-  )

  Reduce probability of one error and the other one goes up holding everything else unchanged.  &  Have an Inverse Relationship

  increases when difference between hypothesized parameter & its true value decreases.  increases when you are willing to take a bigger chance of a type I error (  decreases). Factors Affecting Type II Error   

 increases when population standard deviation   increases  increases when sample size n decreases Factors Affecting Type II Error     n (continued)

How to Choose between Type I and Type II Errors Choice depends on the costs of the errors. Choose smaller type I error when the cost of rejecting the hypothesis is high.  At a criminal trial, the presumption is innocence. A type I error is convicting an innocent person.

Step 3 Gather the data

Step 4 Conduct a statistical test to measure the strength of the evidence

Sample Mean  = 3 Sampling Distribution of we get a sample mean of this value... the population mean is 2 If H 0 is true Weighting the evidence

Step 5 Reach a conclusion

Sample Mean  = 3 Sampling Distribution of It is unlikely that we would get a sample mean of this value if in fact this were the population mean.... Therefore, we reject the null hypothesis that  = 3. 2 If H 0 is true Rejecting H 0

An Example of the 5 Steps For the two tail test on the mean where the population standard deviation  is known.

Assumptions Population is normally distributed. If not normal, use large samples. Z test statistic: Two-Tail Z Test for the Mean (  Known)

Does an average box of cereal contain 368 grams of cereal? A random sample of 25 boxes showed X = The company has specified  to be 15 grams. Test at the  0.05 level 368 gm. Example: Two Tail Test H 0 :  368 H 1 :  368

  = 0.05 n = 25 Critical value: ±1.96 Test Statistic: Decision: Conclusion: Do Not Reject at  =.05 Cannot prove that the population mean is other than 368 Z Reject Example Solution: Two Tail H 0 :  368 H 1 :  368

p Value Solution (p Value = )  (  = 0.05) Do Not Reject Z Reject  = p Value = 2 x Look up 1.5 in the z table (.9332) and subtract from 1.00 to get Double if two tail test. Reject

The Z Test and Confidence Interval You will find both give the same conclusion but the test is easier to use and provides more information.

Connection to Confidence Intervals For X = oz,  = 15 and n = 25, The 95% Confidence Interval is (equation 8.1): (1.96) 15/ to (1.96) 15/ or    If this interval contains the hypothesized mean (368), we do not reject the null hypothesis. _

An Example of the 5 Steps For the one tail test on the mean where the population standard deviation  is known.

Z 0  Reject H 0 Z 0 0  H 0 :  0 H 1 :  <  0 H 0 :  0 H 1 :  >  0 Z Must Be Significantly Below  to reject H 0 Z Must Be Significantly Above  to reject H 0 One Tail Tests

Assumptions not changed: Population is normally distributed. If not normal, use large samples. Z test statistic not changed: One-Tail Z Test for the Mean (  Known)

Does an average box of cereal contain more than 368 grams of cereal? A random sample of 25 boxes showed X = The company has specified  to be 15 grams. Test at the  0.05 level 368 gm. Example: One Tail Test H 0 :  368 H 1 :  > 368

Z Z0  Z = Standardized Cumulative Normal Distribution Table (Portion) What is Z given  = 0.05?  =.05 Finding Critical Values: One Tail Tests Critical Value =

  = 0.5 n = 25 Critical value: Test Statistic: Decision: Conclusion: Do Not Reject at  =.05 Cannot prove that the population mean is more than 368 Z Reject Example Solution: One Tail H 0 :  368 H 1 :  > 368

Z p Value = Z Value of Sample Statistic From Z Table: Lookup 1.50 to Obtain.9332 Use the alternative hypothesis to find the direction of the rejection region p Value is P(Z  1.50) = p Value Solution

Z Reject (p Value = )  (  = 0.05) Do Not Reject. p Value =  = 0.05 Test Statistic 1.50 Is In the Do Not Reject Region p Value Solution 1.645

An Example of the 5 Steps For the test on the mean where the population standard deviation  is not known.

Assumption: The population is normally distributed or only slightly skewed & a large sample taken. t test with n-1 degrees of freedom t Test for the Mean (  Unknown)

Example: One Tail t-Test Does an average box of cereal contain more than 368 grams of cereal? A random sample of 36 boxes showed X = 372.5, and  s  15. Test at the  0.01 level. 368 gm. H 0 :  368 H 1 :  368  is not given

  = 0.01 n = 36, df = 35 Critical value: Test Statistic: Decision: Conclusion: Do Not Reject at  =.01 Cannot prove that the population mean is more than 368 t Reject Example Solution: One Tail H 0 :  368 H 1 : 

The t test and p-value You will be unable to calculate the p-value for the t test as the book does not provide the necessary table.