Last Update 12th May 2011 SESSION 41 & 42 Hypothesis Testing.

Slides:



Advertisements
Similar presentations
Chapter 7 Hypothesis Testing
Advertisements

Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
Is it statistically significant?
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.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
1 1 Slide STATISTICS FOR BUSINESS AND ECONOMICS Seventh Edition AndersonSweeneyWilliams Slides Prepared by John Loucks © 1999 ITP/South-Western College.
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
Lecture 2: Thu, Jan 16 Hypothesis Testing – Introduction (Ch 11)
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Basic Business Statistics.
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
© 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
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 11 Introduction to Hypothesis Testing.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Overview Definition Hypothesis
Confidence Intervals and Hypothesis Testing - II
Introduction to Hypothesis Testing
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 9 Introduction to Hypothesis Testing.
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.
Fundamentals of Hypothesis Testing: One-Sample Tests
Tests of significance & hypothesis testing Dr. Omar Al Jadaan Assistant Professor – Computer Science & Mathematics.
Week 8 Fundamentals of Hypothesis Testing: One-Sample Tests
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Chapter 4 Introduction to Hypothesis Testing Introduction to Hypothesis Testing.
Slide Slide 1 Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing 8-3 Testing a Claim about a Proportion 8-4 Testing a Claim About.
© 2003 Prentice-Hall, Inc.Chap 7-1 Business Statistics: A First Course (3 rd Edition) Chapter 7 Fundamentals of Hypothesis Testing: One-Sample Tests.
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.
LECTURE 19 THURSDAY, 14 April STA 291 Spring
Statistical Inference
Testing of Hypothesis Fundamentals of Hypothesis.
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.
Large sample CI for μ Small sample CI for μ Large sample CI for p
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
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.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
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.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
© 2004 Prentice-Hall, Inc.Chap 9-1 Basic Business Statistics (9 th Edition) Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
© Copyright McGraw-Hill 2004
What is a Hypothesis? A hypothesis is a claim (assumption) about the population parameter Examples of parameters are population mean or proportion The.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
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 of 53Visit UMT online at Prentice Hall 2003 Chapter 9, STAT125Basic Business Statistics STATISTICS FOR MANAGERS University of Management.
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.
Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests
Statistics for Managers Using Microsoft® Excel 5th Edition
Continuous Probability Distributions
Pertemuan 17 Pengujian Hipotesis
FINAL EXAMINATION STUDY MATERIAL III
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
STA 291 Spring 2010 Lecture 18 Dustin Lueker.
Business Statistics Topic 7
Statistics for Managers using Excel 3rd Edition
Hypothesis Testing and Confidence Intervals (Part 1): Using the Standard Normal Lecture 8 Justin Kern October 10 and 12, 2017.
Hypothesis Testing: Hypotheses
CONCEPTS OF HYPOTHESIS TESTING
Chapter 9 Hypothesis Testing.
Daniela Stan Raicu School of CTI, DePaul University
Virtual University of Pakistan
Continuous Probability Distributions
STA 291 Summer 2008 Lecture 18 Dustin Lueker.
Chapter 9 Hypothesis Testing: Single Population
STA 291 Spring 2008 Lecture 17 Dustin Lueker.
Presentation transcript:

Last Update 12th May 2011 SESSION 41 & 42 Hypothesis Testing

Lecturer: Florian Boehlandt University: University of Stellenbosch Business School Domain: http://www.hedge-fund-analysis.net/pages/vega.php

Learning Objectives Null and Alternative Hypothesis Type I and Type II Error Rejection Region Method Hypothesis Testing Student-t Goodness-of-Fit: Chi-Squared Statistic

Stating Hypothesis Two hypothesis need to be stated to conduct hypothesis testing: the first is called the null hypothesis and is assumed to be the default statement. The opposing hypothesis is known as alternative hypothesis. The notations are H0 and H1. A typical example involves criminal trials: H0 : The defendant is innocent. H1 : The defendant is guilty. A jury must make a decision based on the evidence presented by the prosecution and the defense. In a similar vein, evidence from sample statistic may be used to accept or reject a particular hypothesis in statistical problems.

Type I and Type II Error In statistical parlance: Convicting a defendant is equivalent to rejecting the null hypothesis in favor of the alternative hypothesis. Acquitting a defendant is equivalent to not rejecting the null hypothesis in favor of the alternative hypothesis. A Type I error (α) occurs when we reject a true null hypothesis (e.g. convict an innocent defendant). A Type II error (β) occurs when we do not reject a false null hypothesis (e.g. acquitting a guilty defendant). The error probabilities are inversely related, meaning that any attempt to reduce on will increase the other.

Concepts in Hypothesis Testing There are two hypothesis. One is called null hypothesis and the other alternative hypothesis. The testing procedure begins with the assumption that the null hypothesis is true. The goal of the process is to determine whether there is enough evidence to infer that H1 is true. There are two possible decisions: Conclude that there is enough evidence to support H1. Conclude that there is insufficient evidence to support H1. Two possible errors can be made: Type I error and Type II error. The associated probabilities are α and β.

Expressing H0 and H1 Example computer assembly: A random sample of n = 100 computers is selected. The average assembly time is X-bar = 63 minutes. The population standard deviation is assumed to be known and equal to σ = 10. Is there sufficient evidence to infer that the assembly time of the entire population is more than 60 minutes? 63 10 (observed sample mean) 60 (hypothesized pop. mean) 100

Solution (1/4) State H0 and H1. The null hypothesis always contains an equality sign (=) whereas the alternative hypothesis contains an inequality sign: (>, <) for one-sided tests: e.g. Is there sufficient evidence to infer that the assembly time is more than / less than 60 minutes? (≠) for two-sided tests: e.g. Is there sufficient evidence to infer that the assembly time is different from 60 minutes? Note that some textbooks allow for (≥, ≤) equalities in the null hypothesis.

Solution (2/4) Define the rejection region: The rejection region is a range of values such that if the test statistic falls into that range, the null hypothesis is rejected in favor of the alternative hypothesis. The rejection region is: Thus, in order to test whether a sample statistic falls into the rejection region, it has to be converted into a Z-score first. Alternative Hypothesis Rejection Region

Rejection Region 0.05 0.025

Solution (3/4) Converting to Z-score: The conversion is defined as Note that μ is the hypothesized population mean. Determining zα (z critical): Since we need zα. Normally, a 95% confidence interval is used. Thus, α = 1 – CL = 0.05. Using the normal probability table this corresponds to z0.05 = 1.645.

Solution (4/4) Compare test statistic to z critical: H0 is rejected if Here: Consequently, H0 is rejected. Formally express the results: There is sufficient evidence to reject the naught hypothesis in favor of the alternative hypothesis. The true population mean can be assumed to larger than 60 minutes.

Exercises Use a 95% confidence level for the following exercises and σ = 10 (assumed to be known): Assume now that the average assembly time across n = 100 computers is 59 minutes. Is there enough evidence to infer that the actual assembly time is less than 60 minutes across the population? Assume now that the average assembly time across n = 25 computers is 63 minutes. Is there enough evidence to infer that the actual assembly time is different from 60 minutes across the population?

Test Statistic Binomial Distribution We established that the normal distribution can be used to approximate the binomial distribution. The test statistic for p: Where p-hat is the hypothesized population proportion, p is the sample proportion and n is the sample size.

Student-t Distribution So far it is assumed that the population variance is known. That is not a realistic assumption. We can use the sample variance as an estimator of the population variance. It can be shown, however, that in small samples the estimator is biased. The student-t distribution and associated t statistic in the sampling distribution comes about as a result of estimating the (unknown) population variance from the sample. The student-t distribution is fundamentally different from normal for samples as large as n = 200 (note that your student manual refers to n = 30) but approximates the normal distribution function for larger n. You will be provided with the critical values in the exam!

Chi-Squared Density Function

Chi-Squared Distribution The Chi-Squared is frequently used for goodness-of-fit tests. It can be shown that for grouped data, the squared differences between observed and expected frequencies divided by the expected frequencies are approximately Chi-Squared distributed. This notion is expressed in: Much like for the normal as well as student-t distributions, critical values can be gleaned from standardized tables in statistic textbooks. You will be provided with the critical values in the exam!

Example A sample of 90 potential buyers of motor cars was asked to select their preferred car colour. The results were: white = 38, red = 32 and blue = 20. Do these findings indicate significant differences in colour preferences? Test at the 5% level of significance. [Hint: use 5,991 as the critical value)

Solution (1/2) Postulate Hypotheses: H0: All frequencies are the same ( ) H1: At least one frequency differs Rejection Region: Here: 5%

Solution (2/2) Calculate test statistic: Since and rejection region There is no evidence to infer that there are significant differences in colour preference. f0 fe f0-fe (f0-fe)^2 (f0-fe)^2/fe White 38 30 8 64 2.133 Red 32 2 4 0.133 Blue 20 -10 100 3.333 Total 90 5.600