C HAPTER 4  Hypothesis Testing -Test for one and two means -Test for one and two proportions.

Slides:



Advertisements
Similar presentations
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.
Advertisements

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.
Copyright © Cengage Learning. All rights reserved. 8 Tests of Hypotheses Based on a Single Sample
Hypothesis Testing: One Sample Mean or Proportion
Pengujian Hipotesis Nilai Tengah Pertemuan 19 Matakuliah: I0134/Metode Statistika Tahun: 2007.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
Chapter 3 Hypothesis Testing. Curriculum Object Specified the problem based the form of hypothesis Student can arrange for hypothesis step Analyze a problem.
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
Chapter 9 Hypothesis Testing.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 TUTORIAL 6 Chapter 10 Hypothesis Testing.
ESTIMATION AND HYPOTHESIS TESTING: TWO POPULATIONS
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Confidence Intervals and Hypothesis Testing - II
CHAPTER 2 Statistical Inference 2.1 Estimation  Confidence Interval Estimation for Mean and Proportion  Determining Sample Size 2.2 Hypothesis Testing:
1 Dr. Jerrell T. Stracener EMIS 7370 STAT 5340 Probability and Statistics for Scientists and Engineers Department of Engineering Management, Information.
Hypothesis Testing.
1 1 Slide © 2005 Thomson/South-Western Chapter 9, Part A Hypothesis Tests Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses.
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.
4.1Introduction The field of statistical inference consist of those methods used to make decisions or to draw conclusions about a population. These methods.
Chapter 2 -Test for one and two means
1 1 Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University © 2002 South-Western/Thomson Learning.
1 1 Slide © 2004 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
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:
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.
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
-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.
Hypothesis and Test Procedures A statistical test of hypothesis consist of : 1. The Null hypothesis, 2. The Alternative hypothesis, 3. The test statistic.
Introduction Hypothesis testing for one mean Hypothesis testing for one proportion Hypothesis testing for two mean (difference) Hypothesis testing for.
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.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
26134 Business Statistics Tutorial 11: Hypothesis Testing Introduction: Key concepts in this tutorial are listed below 1. Difference.
26134 Business Statistics Tutorial 12: REVISION THRESHOLD CONCEPT 5 (TH5): Theoretical foundation of statistical inference:
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.
© Copyright McGraw-Hill 2004
Exercise - 1 A package-filling process at a Cement company fills bags of cement to an average weight of µ but µ changes from time to time. The standard.
4.1Introduction The field of statistical inference consist of those methods used to make decisions or to draw conclusions about a population. These methods.
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.
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 4 Statistical Inferences Estimation. Chapter 4 Statistical Inference  Estimation -Confidence interval estimation for mean and proportion -Determining.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
Chapter Nine Hypothesis Testing.
Slides by JOHN LOUCKS St. Edward’s University.
Chapter 10 Hypothesis Testing 1.
Statistical Inferences
Business Statistics Topic 7
Chapter 2 Hypothesis Testing Test for one and two means
Chapter 5 STATISTICS (PART 3).
اختبار الفرضيات اختبارالفرضيات المتعلقة بالوسط
CONCEPTS OF HYPOTHESIS TESTING
Chapter Nine Part 1 (Sections 9.1 & 9.2) Hypothesis Testing
EQT 272 PROBABILITY AND STATISTICS ROHANA BINTI ABDUL HAMID
Chapter 9 Hypothesis Testing: Single Population
Presentation transcript:

C HAPTER 4  Hypothesis Testing -Test for one and two means -Test for one and two proportions

WHY WE HAVE TO DO THE HYPOTHESIS? To make decisions about populations based on the sample information. Example :- we wish to know whether a medicine is really effective to cure a disease. So we use a sample of patients and take their data in effect of the medicine and make decisions. To reach the decisions, it is useful to make assumptions about the populations. Such assumptions maybe true or not and called the statistical hypothesis.

Definitions Hypothesis Test: It is a process of using sample data and statistical procedures to decide whether to reject or not to reject the hypothesis (statement) about a population parameter value (or about its distribution characteristics). Null Hypothesis, : Generally this is a statement that a population has a specific value. The null hypothesis is initially assumed to be true. Therefore, it is the hypothesis to be tested.

Alternative Hypothesis, : It is a statement about the same population parameter that is used in the null hypothesis and generally this is a statement that specifies that the population parameter has a value different in some way, from the value given in the null hypothesis. The rejection of the null hypothesis will imply the acceptance of this alternative hypothesis. Test Statistic: It is a function of the sample data on which the decision is to be based.

Critical/ Rejection region: It is a set of values of the test statistics for which the null hypothesis will be rejected. Critical point: It is the first (or boundary) value in the critical region. P -value: The probability calculated using the test statistic. The smaller the p -value is, the more contradictory is the data to.

Procedure for hypothesis testing 1. Define the question to be tested and formulate a hypothesis for a stating the problem. 2. Choose the appropriate test statistic and calculate the sample statistic value. The choice of test statistics is dependent upon the probability distribution of the random variable involved in the hypothesis. 3. Establish the test criterion by determining the critical value and critical region. 4. Draw conclusions, whether to accept or to reject the null hypothesis.

Example 4.7: A sample of 50 Internet shoppers were asked how much they spent per year on Internet. From this sample, mean expenses per year on Internet is and sample standard deviation is It is desired to test whether they spend in mean expenses is RM32500 per year or not. Test at.

Solution: The hypothesis tested are: Test Statistic: Critical Value : As two tailed (=), so alpha has to divide by two,becomes : Rejection Region: Conclusion: The Internet Shoppers spend RM32500 per year on the Internet.

Example 4.8: A random sample of 10 individuals who listen to radio was selected and the hours per week that each listens to radio was determined. The data are follows: Test a hypothesis if mean hours individuals listen to radio is less than 8 hours at.

Solutions: The hypothesis tested are: Test Statistic: n < 30 Critical Value: Rejection Region: Conclusion : Mean hours individuals listen to radio is greater or equal to 8 hours.

Exercise 4.1: 1. From the following data, test the null hypothesis that population mean is less than or equal to 100 at 5% significance level. (Ans: t = , Reject) A paint manufacturing company claims that the mean drying time for its paint is at most 45 minutes. A random sample of 35 trials tested. It is found that the sample mean drying time is minutes with standard deviation 3 minutes. Assume that the drying times follow a normal distribution. At 1% significance level, is there any sufficient evidence to support the company claim? (Ans: z = , Reject)

Hypothesis testing for the differences between two population mean, Test hypothesis Test statistics i) Variance and are known, and both and are samples of any sizes. ii) If the population variances, and are unknown, then the following tables shows the different formulas that may be used depending on the sample sizes and the assumption on the population variances.

Equality of variances, when are unknown Sample size

Example 4.9: The mean lifetime of 30 bulbs 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. ( Variances are known)

Solutions: The hypothesis tested are: Critical Value: Rejection Region: Conclusion : The mean lifetime of bulbs produced by company A is better than that of company B.

Example 4.10: A mathematic placement test was given to two sample of classes of 45 and 55 student respectively. In the first class the sample mean grade was 75 with a standard deviation of 8, while in the second class the sample mean grade was 80 with a standard deviation of 7. Is there a significant difference between the mean performances of the two classes at 5% level of significance? Assume the population variances are equal.

Solutions : Hypothesis tested are: Test Statistic: Critical Value : Rejection Region : Conclusion : There is a significant difference between the performance of the two classes.

Exercise 4.2: A sample of 60 maids from country A earn an average of RM300 per week with a standard deviation of RM16, while a sample of 60 maids from country B earn an average of RM250 per week with a standard deviation of RM18. Test at 5% significance level that country A maids average earning exceed country B maids average earning more than RM40 per week. (Assume Variances are not equal) Answer : Z = , Reject

Example 4.11: When working properly, a machine that is used to make chips for calculators produce 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 they 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.

Solutions: The hypothesis tested are: Test Statistic: Critical Value: Rejection Region : Conclusion : Machine needs adjustment

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

Example 4.12: 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?

Solutions: The hypothesis tested are: Test Statistic: Critical Value : Rejection Region : Conclusion : The proportion of user toothpaste A is less than and equal to Claim is not true.

Exercise 4.4: 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 better to cure the fever than the using the usual ones only using a level of significance of 5%. Answer: reject

EXERCISES

Exercise A paint manufacturing company claims that the mean drying time for its paint is at most 45 minutes. A random sample of 20 trials tested. It is found that the sample mean drying time is minutes with standard deviation 3 minutes. Assume that the drying times follow a normal distribution. (a) Construct a 99% confidence interval for the mean drying time of the paint. (b) At 5% significance level, is there any sufficient evidence to support the company claim? (c) Suppose that another manufacturing company wants to estimate the mean drying time for its paints at 95% confidence level. Given, what is the sample size of trials required in order to obtain an estimate that is within maximum error of 3 minutes?

2.A truck loaded with 8000 electronic circuit boards has just pulled into a firm’s receiving dock. The supplier claims that no more than 4% of the electronic circuit boards fall outside the most rigid level of industry performance specifications. In a simple random sample of 300 electronic circuit boards from the shipment, 15 fall outside these specifications. (a) Construct the 95% confidence interval for the percentage of all boards in this shipment that fall outside the specifications. (b) Test whether the supplier’s claim would appear to be correct at 10% significance level.

3.Babies To Go Inc. is the manufacturer of car seats for children. They manufacture two distinct types of car seats. They want to test the car seats for durability. The results of the test are given in the following table. The mean and standard deviation of durability is in months. (Assuming variances are not equal) a) Construct a 95 % confidence interval for the mean difference in car seats durability. b) Can we conclude that the difference between the mean in car seats durability is more than 3.4 ( ). Type 1Type 2 Mean Life Sample Size1510 Standard Deviation1.20.8