Introduction to Hypothesis Testing

Slides:



Advertisements
Similar presentations
7 Elementary Statistics Larson Farber Hypothesis Testing.
Advertisements

Hypothesis Testing 7.
7 Chapter Hypothesis Testing with One Sample
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.
© 2010 Pearson Prentice Hall. All rights reserved Hypothesis Testing Basics.
Hypothesis Testing for the Mean and Variance of a Population Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College.
State the null and alternative hypotheses.
8-2 Basics of Hypothesis Testing
BCOR 1020 Business Statistics
Section 7-2 Hypothesis Testing for the Mean (n  30)
Hypothesis Testing with One Sample
7.2 Hypothesis Testing for the Mean (Large Samples Statistics Mrs. Spitz Spring 2009.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Introduction to Hypothesis Testing Larson/Farber 4th ed.1.
Hypothesis testing is used to make decisions concerning the value of a parameter.
Chapter 8 Inferences Based on a Single Sample: Tests of Hypothesis.
Sections 8-1 and 8-2 Review and Preview and Basics of Hypothesis Testing.
Section 9.1 Introduction to Statistical Tests 9.1 / 1 Hypothesis testing is used to make decisions concerning the value of a parameter.
Section 7.1 Introduction to Hypothesis Testing Larson/Farber 4th ed.
7 Elementary Statistics Hypothesis Testing. Introduction to Hypothesis Testing Section 7.1.
Overview Basics of Hypothesis Testing
Hypothesis Testing with One Sample Chapter 7. § 7.1 Introduction to Hypothesis Testing.
Hypothesis Testing for Proportions
Hypothesis Testing with ONE Sample
Hypothesis testing Chapter 9. Introduction to Statistical Tests.
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 1 Section 7.1 Introduction to Hypothesis Testing.
Section 7.1 Introduction to Hypothesis Testing Larson/Farber 4th ed.
Introduction to Hypothesis Testing
1 Statistics 300: Elementary Statistics Section 8-2.
Hypothesis Testing with One Sample Chapter 7. § 7.2 Hypothesis Testing for the Mean (Large Samples)
Section 9.3 ~ Hypothesis Tests for Population Proportions Introduction to Probability and Statistics Ms. Young.
Chapter 8 Introduction to Hypothesis Testing ©. Chapter 8 - Chapter Outcomes After studying the material in this chapter, you should be able to: 4 Formulate.
Introduction to Hypothesis Testing MARE 250 Dr. Jason Turner.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 10.17:
Correct decisions –The null hypothesis is true and it is accepted –The null hypothesis is false and it is rejected Incorrect decisions –Type I Error The.
SECTION 7.2 Hypothesis Testing for the Mean (Large Samples) 1 Larson/Farber 4th ed.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Welcome to MM207 – Statistics Hypothesis Testing with One Sample Chapter – 7.4 Anthony J. Feduccia.
Unit 8 Section 8-1 & : Steps in Hypothesis Testing- Traditional Method  Hypothesis Testing – a decision making process for evaluating a claim.
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 σ σ.
Chapter 9 Hypothesis Testing 9.1 The Language of Hypothesis Testing.
Hypothesis Testing with One Sample Chapter 7. § 7.1 Introduction to Hypothesis Testing.
Unit 8 Section 8-3 – Day : P-Value Method for Hypothesis Testing  Instead of giving an α value, some statistical situations might alternatively.
Chapter 7 Hypothesis Testing with One Sample 1 Larson/Farber 4th ed.
Math 4030 – 9a Introduction to Hypothesis Testing
Chapter Seven Hypothesis Testing with ONE Sample.
© 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.
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.
Copyright© 1998, Triola, Elementary Statistics by Addison Wesley Longman 1 Testing a Claim about a Mean: Large Samples Section 7-3 M A R I O F. T R I O.
Welcome to MM207 Unit 7 Seminar Dr. Bob Hypothesis Testing and Excel 1.
Chapter 7 Hypothesis Testing with One Sample 1 Larson/Farber 4th ed.
Chapter 7 Hypothesis Testing with One Sample Let’s begin…
Level of Significance Level of significance Your maximum allowable probability of making a type I error. – Denoted by , the lowercase Greek letter alpha.
Hypothesis Testing Steps : 1. Review Data : –Sample size. –Type of data. –Measurement of data. –The parameter ( ,  2,P) you want to test. 2. Assumption.
SWBAT: -Determine whether to use a one or two tailed test and calculate the necessary p-value -Make and interpret a decision based on the results of a.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Chapter 7 Hypothesis Testing with One Sample 1 Larson/Farber 4th ed.
Section 7.1 Introduction to Hypothesis Testing © 2012 Pearson Education, Inc. All rights reserved. 1 of 101.
Chapter Hypothesis Testing with One Sample 1 of © 2012 Pearson Education, Inc. All rights reserved.
Slide Slide 1 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing Chapter 8.
Chapter Hypothesis Testing with One Sample 1 of 35 7  2012 Pearson Education, Inc. All rights reserved.
Chapter 9 Hypothesis Testing.
Chapters 20, 21 Hypothesis Testing-- Determining if a Result is Different from Expected.
Hypothesis Testing for Proportions
Elementary Statistics: Picturing The World
Chapter 9: Hypothesis Testing
Introduction to Hypothesis Testing
Presentation transcript:

Introduction to Hypothesis Testing Section 7.1 Introduction to Hypothesis Testing

A statistical hypothesis is a claim about a population. Null hypothesis H0 contains a statement of equality such as ³ , = or £. Alternative hypothesis Ha contains a statement of inequality such as < , ¹ or > Complementary Statements The null hypothesis says things are fine. No problem. In a hypothesis test, you will always assume this is the case (null hypothesis is true). If the evidence shows the null hypothesis is improbable, then you will reject it in support of the alternative hypothesis. You can never actually prove the null hypothesis is true. If I am false, you are true If I am false, you are true

Writing Hypotheses Write the claim about the population. Then, write its complement. Either hypothesis, the null or the alternative, can represent the claim. A hospital claims its ambulance response time is less than 10 minutes. claim A consumer magazine claims the proportion of cell phone calls made during evenings and weekends is at most 60%. Always write the claim first. Then write the complement. Identify the null hypothesis as the statement that contains the = condition. The claim can be represented in either hypothesis. claim

Hypothesis Test Strategy Begin by assuming the equality condition in the null hypothesis is true. This is regardless of whether the claim is represented by the null hypothesis or by the alternative hypothesis. Collect data from a random sample taken from the population and calculate the necessary sample statistics. If the sample statistic has a low probability of being drawn from a population in which the null hypothesis is true, you will reject H0. (As a consequence, you will support the alternative hypothesis.) If the probability is not low enough, fail to reject H0.

Errors and Level of Significance Actual Truth of H0 H0 True H0 False Decision Do not reject H0 Correct Decision Type II Error Type I Error Reject H0 A type I error: Null hypothesis is actually true but the decision is to reject it. The level of significance should be a low probability value. It is usually 0.01, 0.05 or 0.10. A type II error is made when the null hypothesis is false but you fail to reject it. The probability of a type II error is β. 1- β is called the power of the test. Discuss the analogy to the American justice system. Level of significance, Maximum probability of committing a type I error.

Types of Hypothesis Tests Right-tail test Ha is more probable Left-tail test Ha is more probable In the examples, the parameter is mu and the sampling distribution is normal. When testing other parameters, the same 3 types of tests are used. The category for the test is the region in which the null hypothesis is likely to be rejected and the alternative hypothesis is more probable. Ha is more probable Two-tail test

P-values The P-value is the probability of obtaining a sample statistic with a value as extreme or more extreme than the one determined by the sample data. P-value = indicated area Area in left tail Area in right tail z z For a right tail test For a left tail test Students will encounter results expressed in P-values in professional journals. TI-83 and Minitab results for hypothesis tests are given in P-value form. If z is negative, twice the area in the left tail If z is positive, twice the area in the right tail z z For a two-tail test

Finding P-values: 1-tail Test The test statistic for a right-tail test is z = 1.56. Find the P-value. Area in right tail z = 1.56 The example here is for a right tail test. For a left tail test, calculate the area in the left tail from the cumulative area in the table. The area to the right of z = 1.56 is 1 – .9406 = 0.0594. The P-value is 0.0594.

Finding P-values: 2-tail Test The test statistic for a two-tail test is z = –2.63. Find the corresponding P-value. z = –2.63 For a two tail test, find the standardized test statistic. Then find the area in the tail of the statistic and then double the area. The area to the left of z = –2.63 is 0.0043. The P-value is 2(0.0043) = 0.0086.

Test Decisions with P-values The decision about whether there is enough evidence to reject the null hypothesis can be made by comparing the P-value to the value of , the level of significance of the test. If reject the null hypothesis. In a hypothesis test, the equality condition (contained in the null hypothesis) is assumed to be true. If the P value is less than the level of significance then the probability of obtaining a statistic that is equal to the one in the test or even more extreme is lower than the level of significance. If fail to reject the null hypothesis.

Using P-values The P-value of a hypothesis test is 0.0749. Make your decision at the 0.05 level of significance. Compare the P-value to . Since 0.0749 > 0.05, fail to reject H0. If P = 0.0246, what is your decision if The second example shows why many statisticians use a P-value to report the results of their hypothesis test. 1) Since , reject H0. 2) Since 0.0246 > 0.01, fail to reject H0.

Interpreting the Decision Claim Claim is H0 Claim is Ha There is enough evidence to support the claim. There is enough evidence to reject the claim. Reject H0 Decision You can never prove a claim that is represented by the null hypothesis. You can only say there is not enough evidence to reject it. Use the analogy of a court case. The null hypothesis says the defendant is innocent. An attorney doesn’t need to prove a client’s innocence. It is sufficient to say there is not enough evidence to find the defendant guilty. When you wish to prove a claim, set it up as the alternative hypothesis. If an attorney wants to claim the defendant is guilty, the attorney must show that assuming the defendant innocent, the resulting conditions would be extremely improbable. There is not enough evidence to support the claim. There is not enough evidence to reject the claim. Fail to reject H0

Steps in a Hypothesis Test 1. Write the null and alternative hypothesis. Write H0 and Ha as mathematical statements. Remember H0 always contains the = symbol. 2. State the level of significance. This is the maximum probability of rejecting the null hypothesis when it is actually true. (Making a type I error.) These steps remain the same for all hypothesis tests. Discuss the normal sampling distribution that is the one for the sample mean with a large sample. 3. Identify the sampling distribution. The sampling distribution is the distribution for the test statistic assuming that the equality condition in H0 is true and that the experiment is repeated an infinite number of times.

Perform the calculations to standardize your sample statistic. 4. Find the test statistic and standardize it. Perform the calculations to standardize your sample statistic. 5. Calculate the P-value for the test statistic. The test statistic for the population mean is the sample mean. You will standardize each test statistic to determine probabilities. For a normal distribution, use z-scores. There will be other standardized scores. This is the probability of obtaining your test statistic or one that is more extreme from the sampling distribution.

If the P-value is less than (the level of significance) reject H0. 6. Make your decision. If the P-value is less than (the level of significance) reject H0. If the P value is greater , fail to reject H0. 7. Interpret your decision. If the claim is the null hypothesis, you will either reject the claim or determine there is not enough evidence to reject the claim. If the claim is the alternative hypothesis, you will either support the claim or determine there is not enough evidence to support the claim.