Hypothesis Testing Chapter 10 What is the process that determines whether or not your hypothesis regarding data is an accurate one?

Slides:



Advertisements
Similar presentations
Tests of Hypotheses Based on a Single Sample
Advertisements

Chapter 7 Hypothesis Testing
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 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 1 Slide STATISTICS FOR BUSINESS AND ECONOMICS Seventh Edition AndersonSweeneyWilliams Slides Prepared by John Loucks © 1999 ITP/South-Western College.
Introduction to Hypothesis Testing
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Lecture 2: Thu, Jan 16 Hypothesis Testing – Introduction (Ch 11)
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 9-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
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.
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.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 11 Introduction to Hypothesis Testing.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single 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
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Business Statistics,
Introduction to Biostatistics and Bioinformatics
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.
STT 315 This lecture is based on Chapter 6. Acknowledgement: Author is thankful to Dr. Ashok Sinha, Dr. Jennifer Kaplan and Dr. Parthanil Roy for allowing.
Section 10.2: Errors in Hypothesis Testing. Test Procedure – the method we use to determine whether H 0 should be rejected. Type 1 Error: the error of.
Week 8 Fundamentals of Hypothesis Testing: One-Sample Tests
Adapted by Peter Au, George Brown College McGraw-Hill Ryerson Copyright © 2011 McGraw-Hill Ryerson Limited.
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:
Introduction to Hypothesis Testing: One Population Value Chapter 8 Handout.
Individual values of X Frequency How many individuals   Distribution of a population.
Hypothesis Tests with Proportions Chapter 10. Write down the first number that you think of for the following... Pick a two-digit number between 10 and.
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
Statistical Inference
Section 10.3: Large-Sample Hypothesis Tests for a Population Proportion.
Significance Test A claim is made. Is the claim true? Is the claim false?
Lecture 16 Section 8.1 Objectives: Testing Statistical Hypotheses − Stating hypotheses statements − Type I and II errors − Conducting a hypothesis test.
1 Chapter 8 Hypothesis Testing 8.2 Basics of Hypothesis Testing 8.3 Testing about a Proportion p 8.4 Testing about a Mean µ (σ known) 8.5 Testing about.
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.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Lecture 18 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Chapter 12: Hypothesis Testing. Remember that our ultimate goal is to take information obtained in a sample and use it to come to some conclusion about.
Welcome to MM207 - Statistics! Unit 7 Seminar: Insert Day, Date here Insert time here ET Professor: Insert your name here Good Evening Everyone! To resize.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
1 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.
1 Section 8.2 Basics of Hypothesis Testing Objective For a population parameter (p, µ, σ) we wish to test whether a predicted value is close to the actual.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 1 FINAL EXAMINATION STUDY MATERIAL III A ADDITIONAL READING MATERIAL – INTRO STATS 3 RD EDITION.
AP Test Practice. A student organization at a university is interested in estimating the proportion of students in favor of showing movies biweekly instead.
Hypothesis Testing Chapter 10 What is the process that determines whether or not your hypothesis regarding data is an accurate one?
+ Homework 9.1:1-8, 21 & 22 Reading Guide 9.2 Section 9.1 Significance Tests: The Basics.
Introduction to Inference Tests of Significance Proof
Chapter Nine Hypothesis Testing.
Introduction to Inference
One-Sample Tests of Hypothesis
Hypothesis Tests for 1-Sample Proportion
INTRODUCTORY STATISTICS FOR CRIMINAL JUSTICE Test Review: Ch. 7-9
Chapter 9 Hypothesis Testing.
Chapter Nine Part 1 (Sections 9.1 & 9.2) Hypothesis Testing
Chapter 9 Hypothesis Testing: Single Population
Testing Hypotheses about a Population Proportion
Presentation transcript:

Hypothesis Testing Chapter 10 What is the process that determines whether or not your hypothesis regarding data is an accurate one?

Hypothesis and Test procedures 10.1 What are the hypothesis and alternate for an event? Hypothesis—a claim about a population statistic Test of the hypothesis (test procedure)— a method for using sample data to decide between two competing claims the second is the alternate

Null hypothesis—H 0 —the claim initially assumed true Alternate hypothesis—H a —the competing claim —must have same value, but different inequality and be a population statistic since H o —hypothesized value (given) H a must be > H 0 or < H 0 or ≠ H 0

H o is rejected in favor of H a iff evidence suggests H 0 is false You can only demonstrate strong support for H a by rejecting H 0 NOT rejecting H 0 does NOT mean strong support for H o just a lack of support for H a

Example 1 K mart brand 60 watt lightbulbs state on the package, “Ave. life 1000 hrs.” Let µ denote the true mean life of the Kmart 60 watt bulb. People would be upset if µ were less than 1000 Therefore we test H o = 1000 vs. H a <1000 HW Pg , 2, 4, 6, 8

Errors in Hypothesis testing 10.2 What types of errors exist in hypothesis testing? Type I error—rejecting H 0 when H 0 is true Type II error—failing to rejecting H 0 when H 0 is false The only way to be certain an error will not occur is work with the entire population.

Level of significance =the probability of a type I error – % of time it is “ok” to reject H 0 when it is true =the probability of a type II error – % of time you fail to reject H 0 when it is false An ideal test has = =0 You can control, you can not control – sometimes if you make too small it makes larger than it needs to be

Typical ‘s.01—used when it is for health reasons or major legal battles.05—the default value.1—when you are just curious

Example 1 A type of lie detector that measures brain waves was developed by a professor of neurobiology at Northwestern University. He said, “it would probably not falsely accuse any innocent people and it would probably pick up 70-90% of guilty people.” Suppose this lie detector test is allowed as evidence and is the sole basis of a decision between the two hypotheses: (not a true test) What are the hypotheses? H 0 = accused is innocent H a = accused is guilty (technically is not innocent) What would happen if a type I error occurred? an innocent person would be found guilty What would happen if a type II error occurred? a guilty person would be found innocent

Example 2 The Associated Press reported that the EPA had warned 819 communities that their tap water contained too much lead. Drinking water is considered unsafe if the mean concentration of lead is 15 parts per billion or greater. The EPA required the cited communities to take corrective action and to monitor lead levels. What are the hypothesis: H 0 : µ=15 (the lead levels are 15 parts or higher) H a : µ<15 (the lead levels are acceptable) What happens for type I and II errors: Type I it meets the standards when it doesn’t (reject H 0 when its true) Type II it doesn’t meet the standards when it does(failing to reject H 0 when false) What are the consequences of each type of error? Type I—possible health risks Type II—the elimination of a public water source What alpha level would you choose and why?.01—to eliminate health issues associated with lead What if the community only has one water source? would an alpha of.05 then become acceptable??????? HW PG , 11, 12, 14, 18

Large Sample Hypothesis tests for a population Proportion 10.3 What is a large sample hypothesis test for a population proportion? Test statistic—what you are basing your conclusions on, p,, s Remember: this is also called the observed significance level

Rules for the population Proportion (same as those in Chapter 8) IF: 1) 2) 3) N must be large (np and n(1-p) ≥ 5 liberal test) 4) the sample must be random Then: Therefore: becomes the largest tolerable decimal equivalent of the % that gives the most unusual or most extreme cases

Testing h 0 vs. alpha Given H 0 : π = # If H a : π > # upper tail test and use 1- crit z If H a : π < # lower tail test and use crit z If H a : π ≠ # two tail test and use (1-crit z)∙2

Must Haves for the AP TEST and Hypothesis testing Describe the population characteristic associated w/ the hypothesis to be tested State H 0 State H a Select based on the issue concerned Write out the z-test with the hypothesized values substituted in Verify that the conditions are acceptable for the test and state them – Random sample – Sample size is large or the population is normally distributed Compute or state the items needed for the test and calculate the z-score Find the associated critical z and state it State the conclusion in terms of the problem – Reject H 0 if critical z ≤ alpha – Fail to reject H 0 if critical z > alpha

Example An article on Credit Cards and College students describes the study of payment practices of college students. According to the credit industry, 50% of the college students carry a monthly balance. The Authors randomly polled 310 college students and found 217 carried a balance. Does the sample provide evidence to reject the industries claim to a significance of.05?

Hypothesis testing for a population Mean 10.4 What is the hypothesis test for a population mean? Similar to the test for a proportion except we use instead of p REMEMBER: if you have a random sample with a large enough n And 1) is known, use the z test Otherwise 2) use the t test and remember to calculate df also remember the t chart tells the opposite of the z chart i.e. the amount above the given t

for the t-test H 0 : µ=# H a : µ># crit t upper tail µ<# 1-crit t lower tail (unless t is negative) µ≠# crit t ÷2 two tail (split between the two tails) All other steps are the same

Example Pg 507 Speed, size, and strength are thought to be important factors in football performance. When the top 20 Division I teams were evaluated it was found that the mean weight of starters was 105 kg. A random sample of 33 starting players from Division I schools that were not ranked in the top 20 resulted in a mean of kg with a sample standard deviation of 16.3 kg. Is there sufficient evidence to conclude that the mean weight for non-top 20 starters is less than 105, the known value for the top 20 teams ?

Statistical significance occurs when the value of p or leads to the rejection of H 0 at a particular level of alpha HW pg , 44, 48, 52, 55(show the work)

Power & Probability of type II error 10.5 What is the power and probability of a type II error? The best hypothesis test would: 1)Reduce the likelihood of a type I error and can be accomplished by the choice of alpha 2) Reduce the probability of a type II error and can be accomplished with the power test this is used when we believe there is a statistically different value than the one being presented.

Power of a test— factors: a) the size difference between µ and H 0 the difference the power b) the choice of alpha the alpha the power c) the sample size the n the power

Since power = prob of rejecting a false H 0 = not rejecting a false H 0 power = 1- So how do we find the power substitute z in by looking up z=1- and solve for Insert the value we think is true for µ and re- solve for z, =this crit z The power test for a t-test is optional

Example A package delivery service advertises that at least 90% of all packages brought to its office by 9 A.M. for delivery in the same city are delivered by noon that day. Let π denote the proportion of all such packages actually delivered by noon. The hypotheses of interest are π = on time deliveries H 0 : π =.9 H a : π <.9 Where the alternative hypothesis states that the company’s claim is untrue. In random sampling 225 packages delivered, 180 arrived on time. The value of π=.8 represents a substantial departure from the company’s claim. If the hypotheses are tested at level.01 using the sample of n = 225 packages, what is the probability that the departure from H 0 represented by this alternative value will go undetected?

Determining Power 1) π = on time deliveries 2) Ho: π =.9 3) Ha: π <.9 4) 5) We have a random sample and a large # sampled 6) Lower tail test, means Z = -2.33, n = 225 7)Since we found π=.8 8)Crit z = = )Power = =.0233 When π=.8 and alpha =.01 then 2.33% of all samples of 225 will result in a type two error therefore, we do not have a great chance of rejecting a false H 0

Verifying the power test We found So crit z = 0 Since crit z < alpha we reject H 0 Which means our data supports a different H 0 (and we are 97.67% confident that we are correct—last slide) HW pg , 58, 59 show all work

REVIEW Chapter 10 HW Page , 64, 65, 68, 70, 72, 75