Topic 6: Introduction to Hypothesis Testing

Slides:



Advertisements
Similar presentations
Introduction to Hypothesis Testing
Advertisements

Tests of Hypotheses Based on a Single Sample
Chapter 9 Hypothesis Testing Understandable Statistics Ninth Edition
CHAPTER 21 Inferential Statistical Analysis. Understanding probability The idea of probability is central to inferential statistics. It means the chance.
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
Hypothesis testing Week 10 Lecture 2.
Probability & Statistical Inference Lecture 7 MSc in Computing (Data Analytics)
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
Probability & Statistics for Engineers & Scientists, by Walpole, Myers, Myers & Ye ~ Chapter 10 Notes Class notes for ISE 201 San Jose State University.
Chapter 3 Hypothesis Testing. Curriculum Object Specified the problem based the form of hypothesis Student can arrange for hypothesis step Analyze a problem.
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
Statistics for Managers Using Microsoft® Excel 5th Edition
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Chapter Ten Introduction to Hypothesis Testing. Copyright © Houghton Mifflin Company. All rights reserved.Chapter New Statistical Notation The.
Overview of Statistical Hypothesis Testing: The z-Test
Jeopardy Hypothesis Testing T-test Basics T for Indep. Samples Z-scores Probability $100 $200$200 $300 $500 $400 $300 $400 $300 $400 $500 $400.
Fundamentals of Hypothesis Testing: One-Sample Tests
Chapter 8 Introduction to Hypothesis Testing
Claims about a Population Mean when σ is Known Objective: test a claim.
The paired sample experiment The paired t test. Frequently one is interested in comparing the effects of two treatments (drugs, etc…) on a response variable.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
Copyright © 2012 by Nelson Education Limited. Chapter 7 Hypothesis Testing I: The One-Sample Case 7-1.
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
1 Lecture 19: Hypothesis Tests Devore, Ch Topics I.Statistical Hypotheses (pl!) –Null and Alternative Hypotheses –Testing statistics and rejection.
Topic 7 - Hypothesis tests based on a single sample Sampling distribution of the sample mean - pages Basics of hypothesis testing -
CHAPTER 9 Testing a Claim
Large sample CI for μ Small sample CI for μ Large sample CI for p
Jeopardy Hypothesis Testing t-test Basics t for Indep. Samples Related Samples t— Didn’t cover— Skip for now Ancient History $100 $200$200 $300 $500 $400.
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.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
1 Chapter 8 Introduction to Hypothesis Testing. 2 Name of the game… Hypothesis testing Statistical method that uses sample data to evaluate a hypothesis.
Chapter 20 Testing Hypothesis about proportions
1 9 Tests of Hypotheses for a Single Sample. © John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. 9-1.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Inen 460 Lecture 2. Estimation (ch. 6,7) and Hypothesis Testing (ch.8) Two Important Aspects of Statistical Inference Point Estimation – Estimate an unknown.
Business Statistics for Managerial Decision Farideh Dehkordi-Vakil.
© Copyright McGraw-Hill 2004
Inferential Statistics Inferential statistics allow us to infer the characteristic(s) of a population from sample data Slightly different terms and symbols.
Applied Quantitative Analysis and Practices LECTURE#14 By Dr. Osman Sadiq Paracha.
Hypothesis Testing Introduction to Statistics Chapter 8 Feb 24-26, 2009 Classes #12-13.
Topic 6: The distribution of the sample mean and linear combinations of random variables CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Learning Objectives After this section, you should be able to: The Practice of Statistics, 5 th Edition1 DESCRIBE the shape, center, and spread of the.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
Chapter 9 Introduction to the t Statistic
Chapter Nine Hypothesis Testing.
Chapter 10 Hypothesis Testing 1.
CHAPTER 9 Testing a Claim
Introduction to Hypothesis Test – Part 2
Unit 5: Hypothesis Testing
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
CHAPTER 10 Comparing Two Populations or Groups
Hypothesis Testing and Confidence Intervals (Part 1): Using the Standard Normal Lecture 8 Justin Kern October 10 and 12, 2017.
Statistical inference: distribution, hypothesis testing
Hypothesis Testing: Hypotheses
CONCEPTS OF HYPOTHESIS TESTING
Introduction to Inference
Chapter 9 Hypothesis Testing.
Hypothesis Testing – Introduction
Chapter 9 Hypothesis Testing.
Introduction to Inference
Significance Tests: The Basics
CHAPTER 10 Comparing Two Populations or Groups
Chapter 9: Significance Testing
Chapter 9 Hypothesis Testing: Single Population
Presentation transcript:

Topic 6: Introduction to Hypothesis Testing CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally from the class text, Probability and Statistics for Engineering and the Sciences by Jay L. Devore, Duxbury 1995 (4th edition) Additional material is taken from http://davidmlane.com/hyperstat/

Hypothesis testing A statistical hypothesis is a claim either about the value of a single population statistic or about the values of several population statistics A population statistic might be the mean diameter, weight, time to failure, proportion of defective units, etc. One example of a hypothesis is that m = c, where c is some constant. We might also hypothesize that m1 > m2 or that p, a population proportion = c

Hypothesis testing In any hypothesis testing problem there are two contradictory hypotheses under consideration these are known as the Null and Alternative Hypotheses A test procedure is specified by the following: A test statistic, a function of the sample data on which the decision reject H0 or do not reject H0 is based.   A rejection region -- the set of all test statistic values for this H0 will be rejected.  

Hypothesis testing The null hypothesis will be rejected if and only if the observed or computed test statistic value falls into the rejection region.   A type I error consists of rejecting the null hypothesis when it is true. A type II error consists of not rejecting the null hypothesis when it is false. a = the probability of a type I error -- P(H0 is rejected when it is in fact true) b = the probability of a type II error -- P(H0 is not rejected when it is in fact false) a is often called the significance level of a test

Hypothesis testing For a given rejection region – decreasing the probability of a Type I error increases the probability of a Type II error. Similarly, decreasing the probability of a Type I error increases the probability of a Type II error.

Hypothesis testing When an independent variable appears to have an effect, it is very important to be able to state with confidence that the effect was really due to the variable and not just due to chance. For instance, consider a hypothetical experiment on a new antidepressant drug. Ten people suffering from depression were sampled and treated with the new drug (the experimental group); an additional 10 people were sampled from the same population and were treated only with a placebo (the control group).

Hypothesis testing After 12 weeks, the level of depression in all subjects was measured and it was found that the mean level of depression (on a 10-point scale with higher numbers indicating more depression) was 4 for the experimental group and 6 for the control group. The most basic question that can be asked here is: "How can one be sure that the drug treatment rather than chance occurrences were responsible for the difference between the groups?" It could be, that by chance, the people who were randomly assigned to the treatment group were initially somewhat less depressed than those randomly assigned to the control group.

Hypothesis testing The null hypotheses in this case would be H0: m1 = m2,meaning that the mean level of depression for the two groups is not different in a statistically significant way. The alternative hypothesis would be Ha: m1 < m2

Hypothesis testing -- example Problem 12, Page 321 A new design on the braking system on a certain type of new car has been proposed. For the current system, the true average braking distance at 40 mph (under specified conditions) is known to be 120 feet. It is proposed that the new design be implemented only if sample data strongly indicates that the new design leads to a reduction in the braking distance. a) Define the parameter of interest Mean braking distance under the new system

Hypothesis testing -- example b) Suppose that braking distance for the new system is normally distributed with s = 10. Let represent the mean braking distance for a sample of 36 observations. Which of the following rejection regions is appropriate? To answer this, we need to identify the null and alternative hypothesis.

Hypothesis testing -- example b) The test statistic is normally distributed N(120,1.667) therefore, the tests below correspond to a values of

Hypothesis testing -- example c) The significance level = To obtain a = 0.001 we need to change the rejection region so that it begins with z = -3.08

Hypothesis testing -- example d) The probability that the new design is not implemented when its true average braking distance is actually 115 and the appropriate region from b) is used is Draw a picture!

Sampling Distributions When s for a population is known, then the mean of a sample from the population is normally distributed However, we rarely know s. Instead, we must estimate the standard deviation from the sample data. In that case, the mean follows a similar but different distribution (known as the student’s t distribution or the t distribution)

Tests Statistics and Rejection Regions CASE I: A Normal Population with known standard deviation Null hypothesis Test statistic value Alternative hypothesis Rejection region for level a test

Tests Statistics and Rejection Regions CASE II: Large Sample Test (n >30 – the average is approximately normal and s is a good approximation for s) Null hypothesis Test statistic value Alternative hypothesis Rejection region for level a test

Tests Statistics and Rejection Regions CASE III: A Normal Population with unknown standard deviation Null hypothesis Test statistic value Alternative hypothesis Rejection region for level a test