Introduction Hypothesis testing for one mean Hypothesis testing for one proportion Hypothesis testing for two mean (difference) Hypothesis testing for.

Slides:



Advertisements
Similar presentations
10- 1 Chapter Ten McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Advertisements

Chapter 10.  Real life problems are usually different than just estimation of population statistics.  We try on the basis of experimental evidence Whether.
1 Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Type I and Type II Errors One-Tailed Tests About a Population Mean: Large-Sample.
1 1 Slide Chapter 9 Hypothesis Tests Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses Type I and Type II Errors Type.
1 1 Slide © 2009 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses Type I and Type II Errors Type I and Type II Errors.
1 1 Slide STATISTICS FOR BUSINESS AND ECONOMICS Seventh Edition AndersonSweeneyWilliams Slides Prepared by John Loucks © 1999 ITP/South-Western College.
Chapter 9 Hypothesis Testing
1 1 Slide MA4704Gerry Golding Developing Null and Alternative Hypotheses Hypothesis testing can be used to determine whether Hypothesis testing can be.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Pengujian Hipotesis Nilai Tengah Pertemuan 19 Matakuliah: I0134/Metode Statistika Tahun: 2007.
Chapter 8 Introduction to Hypothesis Testing
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
1 1 Slide © 2006 Thomson/South-Western Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses.
HYPOTHESIS TESTS ABOUT THE MEAN AND PROPORTION
Hypothesis Testing for the Mean and Variance of a Population Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College.
Ch. 9 Fundamental of Hypothesis Testing
Section 7-2 Hypothesis Testing for the Mean (n  30)
1 1 Slide © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide © 2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
CHAPTER 10: Hypothesis Testing, One Population Mean or Proportion
CHAPTER 2 Statistical Inference 2.1 Estimation  Confidence Interval Estimation for Mean and Proportion  Determining Sample Size 2.2 Hypothesis Testing:
1 Doing Statistics for Business Doing Statistics for Business Data, Inference, and Decision Making Chapter 8 Hypothesis Testing : An Introduction.
1 1 Slide © 2005 Thomson/South-Western Chapter 9, Part A Hypothesis Tests Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses.
4.1Introduction The field of statistical inference consist of those methods used to make decisions or to draw conclusions about a population. These methods.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Chapter 8 Hypothesis Testing 1.
Chapter 2 -Test for one and two means
1 Hypothesis testing can be used to determine whether Hypothesis testing can be used to determine whether a statement about the value of a population parameter.
Hypothesis testing Chapter 9. Introduction to Statistical Tests.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved OPIM 303-Lecture #7 Jose M. Cruz Assistant Professor.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
1 1 Slide © 2003 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
One-Sample Tests of Hypothesis
-Test for one and two means -Test for one and two proportions
STATISTICAL INFERENCES
Hypothesis and Test Procedures A statistical test of hypothesis consist of : 1. The Null hypothesis, 2. The Alternative hypothesis, 3. The test statistic.
One-Sample Tests of Hypothesis. Hypothesis and Hypothesis Testing HYPOTHESIS A statement about the value of a population parameter developed for the purpose.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
© Copyright McGraw-Hill 2004
4.1Introduction The field of statistical inference consist of those methods used to make decisions or to draw conclusions about a population. These methods.
C HAPTER 4  Hypothesis Testing -Test for one and two means -Test for one and two proportions.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Hypothesis Testing  Test for one and two means  Test for one and two proportions.
STEP BY STEP Critical Value Approach to Hypothesis Testing 1- State H o and H 1 2- Choose level of significance, α Choose the sample size, n 3- Determine.
C HAPTER 2  Hypothesis Testing -Test for one means - Test for two means -Test for one and two proportions.
Hypothesis Testing Steps : 1. Review Data : –Sample size. –Type of data. –Measurement of data. –The parameter ( ,  2,P) you want to test. 2. Assumption.
Chapter 4 Statistical Inferences Estimation. Chapter 4 Statistical Inference  Estimation -Confidence interval estimation for mean and proportion -Determining.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 7 l Hypothesis Tests 7.1 Developing Null and Alternative Hypotheses 7.2 Type I & Type.
Hypothesis Testing Chapter Hypothesis Testing  Developing Null and Alternative Hypotheses  Type I and Type II Errors  One-Tailed Tests About.
Chapter 9 -Hypothesis Testing
Slides by JOHN LOUCKS St. Edward’s University.
Hypothesis Tests l Chapter 7 l 7.1 Developing Null and Alternative
Statistical Inferences
Business Statistics Topic 7
Chapter 2 Hypothesis Testing Test for one and two means
Chapter 5 STATISTICS (PART 3).
Statistics for Business and Economics (13e)
Chapter 9: Hypothesis Testing
HYPOTHESIS TESTS ABOUT THE MEAN AND PROPORTION
EQT 272 PROBABILITY AND STATISTICS ROHANA BINTI ABDUL HAMID
Presentation transcript:

Introduction Hypothesis testing for one mean Hypothesis testing for one proportion Hypothesis testing for two mean (difference) Hypothesis testing for two proportion (difference)

Hypothesis and Test Procedures A statistical test of hypothesis consist of : Calculate test statistic or using p-value 3. Find Critical value 4. Determine rejection region 5. Make a conclusion 2  We test a certain given theory / belief about population parameter.  We may want to find out, using some sample information, whether or not a given claim / statement about population is true. Develop Hypothesis Statement (H 0 & H 1 )

Definition 9.1: Hypothesis testing : can be used to determine whether a statement about the value of a population parameter should or should not be rejected. Null hypothesis, H 0 : A null hypothesis is a claim (or statement) about a population parameter that is assumed to be true. (the null hypothesis is either rejected or fails to be rejected.) Alternative hypothesis, H 1 : An alternative hypothesis is a claim about a population parameter that will be true if the null hypothesis is false. Test Statistic : is a function of the sample data on which the decision is to be based. p-value: is the probability calculated using the test statistic. The smaller the p-value, the more contradictory is the data to H 0. 3 Critical point: It is the first (or boundary) value in the critical region. Rejection region: It is a set of values of the test statistics for which the null hypothesis will be rejected.

It is not always obvious how the null and alternative hypothesis should be formulated. When formulating the null and alternative hypothesis, the nature or purpose of the test must also be taken into account. We will examine: 1) The claim or assertion leading to the test. 2) The null hypothesis to be evaluated. 3) The alternative hypothesis. 4) Whether the test will be two-tail or one-tail. 5) A visual representation of the test itself. In some cases it is easier to identify the alternative hypothesis first. In other cases the null is easier.

9.1.1 Alternative Hypothesis as a Research Hypothesis Many applications of hypothesis testing involve an attempt to gather evidence in support of a research hypothesis. In such cases, it is often best to begin with the alternative hypothesis and make it the conclusion that the researcher hopes to support. The conclusion that the research hypothesis is true is made if the sample data provide sufficient evidence to show that the null hypothesis can be rejected.

Example 9.1: A new drug is developed with the goal of lowering blood pressure more than the existing drug. Alternative Hypothesis H 1 : The new drug lowers blood pressure more than the existing drug. Null Hypothesis H 0 : The new drug does not lower blood pressure more than the existing drug.

9.1.2 Null Hypothesis as an Assumption to be Challenged We might begin with a belief or assumption that a statement about the value of a population parameter is true. We then using a hypothesis test to challenge the assumption and determine if there is statistical evidence to conclude that the assumption is incorrect. In these situations, it is helpful to develop the null hypothesis first.

Example 9.2 : The label on a soft drink bottle states that it contains at least 67.6 fluid ounces. Null Hypothesis H 0 : The label is correct. µ > 67.6 ounces. Alternative Hypothesis H 1 : The label is incorrect. µ < 67.6 ounces.

Example 9.3: Average tire life is miles. Null Hypothesis H 0 : µ = miles Alternative Hypothesis H 1: µ  miles

 Rule to develop H 0 and H 1: Two-Tailed Test Left-Tailed Test Right-Tailed Test H0H0 == or H1H1 <>

 1. Coca Cola claim that on average, the cans contain less than 12 ounces of soda.  2. The mean family size in UK was 3.18 in Test whether the claim is true.  The mean starting salary of school teachers in Kangar is RM2800. Test whether the current mean starting salary of all teachers in Kangar is higher than RM2800.

The entire set of values that the test statistic may assume is divided into two regions. One set, consisting of values that support the and lead to reject, is called the rejection region. The other, consisting of values that support the is called the acceptance region. H 0 always gets “=“. Rule to Reject H 0: Tails of a Test 12 Two-Tailed Test Left-Tailed Test Right-Tailed Test Sign in== or Sign in<> Rejection RegionIn both tailIn the left tail In the right tail How to decide whether to reject or accept ?

 Given:

 Because hypothesis tests are based on sample data, we must allow for the possibility of errors.  A Type I error is rejecting H 0 when it is true  The probability of making a Type I error when the null hypothesis is true as an equality is called the level of significance (  ).  Applications of hypothesis testing that only control the Type I error are often called significance tests.

 A Type II error is accepting H 0 when it is false.  It is difficult to control for the probability of making a Type II error, .  Statisticians avoid the risk of making a Type II error by using “do not reject H 0 ” and not “accept H 0 ” Type II Error

Type I and Type II Errors Correct Decision Type II Error Correct Decision Type I Error Reject H 0 Do not reject H 0 H 0 True H 0 False Conclusion Population Condition

Null Hypothesis : Test Statistic : 17 any population, is known and n is large Or n is small any population, is unknown and n is large normal population, is unknown and n is small

Alternative hypothesisRejection Region ( Reject H 0) Both tail: Right tail: Left tail: 18

Definition 9.2: p-value The p-value is the smallest significance level at which the null hypothesis is rejected. 19

Example 9.4: 20

Solution: 21

Exercise: A teacher claims that the student in Class A put in more hours studying compared to other students. The mean numbers of hours spent studying per week is 25hours with a standard deviation of 3 hours per week. A sample of 27 Class A students was selected at random and the mean number of hours spent studying per week was found to be 26hours. Can the teacher’s claim be accepted at 5% significance level?

23 Alternative hypothesisRejection Region Both tail : Right tail: Left tail:

Example 9.5: When working properly, a machine that is used to make chips for calculators does not produce more than 4% defective chips. Whenever the machine produces more than 4% defective chips it needs an adjustment. To check if the machine is working properly, the quality control department at the company often takes sample of chips and inspects them to determine if the chips are good or defective. One such random sample of 200 chips taken recently from the production line contained 14 defective chips. Test at the 5% significance level whether or not the machine needs an adjustment. 24

Solution: 25

Exercise A manufacturer of a detergent claimed that his detergent is at least 95% effective is removing though stains. In a sample of 300 people who had used the detergent, n 279 people claimed that they were satisfied with the result. Determine whether the manufacturer’s claim is true at 1% significance level.

Test statistics: 28

29 For two small and independent samples taken from two normally distributed populations.

Alternative hypothesisRejection Region 30

Example 9.7: 31

Solution: 32

Exercise: The mean lifetime of 30 batteries produced by company A is 50 hours and the mean lifetime of 35 bulbs produced by company B is 48 hours. If the standard deviation of all bulbs produced by company A is 3 hour and the standard deviation of all bulbs produced by company B is 3.5 hours. Test at 1 % significance level that the mean lifetime of bulbs produced by Company A is better than that of company B (claim).

35

36 Alternative hypothesisRejection Region

Example: A researcher wanted to estimate the difference between the percentages of two toothpaste users who will never switch to other toothpaste. In a sample of 500 users of toothpaste A taken by the researcher, 100 said that they will never switched to another toothpaste. In another sample of 400 users of toothpaste B taken by the same researcher, 68 said that they will never switched to other toothpaste. At the significance level 1%, can we conclude that the proportion of users of toothpaste A who will never switch to other toothpaste is higher than the proportion of users of toothpaste B who will never switch to other toothpaste?

Solution: 38

Exercise: In a process to reduce the number of death due the dengue fever, two district, district A and district B each consists of 150 people who have developed symptoms of the fever were taken as samples. The people in district A is given a new medication in addition to the usual ones but the people in district B is given only the usual medication. It was found that, from district A and from district B, 120 and 90 people respectively recover from the fever. Test the hypothesis that the new medication helps to cure the fever using a level of significance of 5% (claim).