Week 8 October 20-24 Three Mini-Lectures QMM 510 Fall 2014.

Slides:



Advertisements
Similar presentations
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
Advertisements

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.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
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.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. 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.
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.
Ethan Cooper (Lead Tutor)
1 1 Slide ©2009. Econ-2030-Applied Statistics (Dr. Tadesse) Chapter 9 Learning Objectives Population Mean:  Unknown Population Mean:  Unknown Population.
EPIDEMIOLOGY AND BIOSTATISTICS DEPT Esimating Population Value with Hypothesis Testing.
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
Pengujian Hipotesis Nilai Tengah Pertemuan 19 Matakuliah: I0134/Metode Statistika Tahun: 2007.
1 1 Slide © 2006 Thomson/South-Western Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses.
T-Tests Lecture: Nov. 6, 2002.
8-4 Testing a Claim About a Mean
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics
Week 9 October Four Mini-Lectures QMM 510 Fall 2014.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. A PowerPoint Presentation Package to Accompany Applied Statistics.
Chapter 13 – 1 Chapter 12: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Errors Testing the difference between two.
Overview Definition Hypothesis
1 1 Slide © 2005 Thomson/South-Western Chapter 9, Part A Hypothesis Tests Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses.
Statistical inference: confidence intervals and hypothesis testing.
Prepared by Lloyd R. Jaisingh
Created by Erin Hodgess, Houston, Texas Section 7-5 Testing a Claim About a Mean:  Not Known.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 8-5 Testing a Claim About a Mean:  Not Known.
Chapter 9 Hypothesis Testing: Single Population
Statistical Review We will be working with two types of probability distributions: Discrete distributions –If the random variable of interest can take.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
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.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Section 9.2 Testing the Mean  9.2 / 1. Testing the Mean  When  is Known Let x be the appropriate random variable. Obtain a simple random sample (of.
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 © 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.
Week 7 October Three Mini-Lectures QMM 510 Fall 2014.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Week 10 Nov 3-7 Two Mini-Lectures QMM 510 Fall 2014.
May 2004 Prof. Himayatullah 1 Basic Econometrics Chapter 5: TWO-VARIABLE REGRESSION: Interval Estimation and Hypothesis Testing.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Inferences from sample data Confidence Intervals Hypothesis Testing Regression Model.
Chapter 9: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Type I and II Errors Testing the difference between two means.
One-Sample Hypothesis Tests Chapter99 Logic of Hypothesis Testing Statistical Hypothesis Testing Testing a Mean: Known Population Variance Testing a Mean:
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. One-Sample Hypothesis Testing Chapter99 Logic of Hypothesis Testing Statistical Hypothesis.
© 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.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Lecture Slides Elementary Statistics Twelfth Edition
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 3 – Slide 1 of 27 Chapter 11 Section 3 Inference about Two Population Proportions.
ENGR 610 Applied Statistics Fall Week 7 Marshall University CITE Jack Smith.
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
Created by Erin Hodgess, Houston, Texas Section 7-1 & 7-2 Overview and Basics of Hypothesis Testing.
CHAPTER 7: TESTING HYPOTHESES Leon-Guerrero and Frankfort-Nachmias, Essentials of Statistics for a Diverse Society.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Slides by JOHN LOUCKS St. Edward’s University.
Two-Sample Hypothesis Testing
Prepared by Lloyd R. Jaisingh
Chapter 8 Hypothesis Testing with Two Samples.
Presentation transcript:

Week 8 October Three Mini-Lectures QMM 510 Fall 2014

9-2 Chapter 9 Testing a Mean: Known ML 8.1 Population Variance LO9-5: Find critical values of z or t in tables or by using Excel. The test statistic is compared with a critical value from a table. The critical value is the boundary between two regions (reject H 0, do not reject H 0 ) in the decision rule. The critical value shows the range of values for the test statistic that would be expected by chance if the null hypothesis were true. These z-values can be computed using Excel, MINITAB etc.

9-3 The hypothesized mean  0 that we are testing is a benchmark.The hypothesized mean  0 that we are testing is a benchmark. The value of  0 does not come from a sample.The value of  0 does not come from a sample. The test statistic compares the sample mean with the hypothesized mean  0.The test statistic compares the sample mean with the hypothesized mean  0. Chapter 9 LO9-6: Perform a hypothesis test for a mean with known σ using z. Testing a Mean: Known Population Variance

9-4 Testing the Hypothesis Testing the Hypothesis Step 1: State the hypotheses For example, H 0 :   216 mm H 1 :  > 216 mm Step 2: Specify the decision rule: For example, for  =.05 for the right-tail area, reject H 0 if z calc > 1.645; otherwise do not reject H 0. Chapter 9 Example: Paper Manufacturing Testing a Mean: Known Population Variance

9-5 Step 3: Collect sample data and calculate the test statistic. If H 0 is true, then the test statistic should be near 0 because the sample mean should be near μ 0. The value of the test statistic is. Chapter 9 Step 4: The test statistic falls in the right rejection region, so we reject the null hypothesis H 0 : μ  216 and conclude the alternative hypothesis H 1 : μ > 216 at the 5% level of significance. Testing a Mean: Known Population Variance Testing the Hypothesis Testing the Hypothesis Example: Paper Manufacturing

9-6 Step 5: Take action. Now that we have concluded that the process is producing paper with an average width greater than the specification, it is time to adjust the manufacturing process to bring the average width back to specification. Our course of action could be to readjust the machine settings or it could be time to resharpen the cutting tools. At this point it is the responsibility of the process engineers to determine the best course of action. Chapter 9 Testing a Mean: Known Population Variance Testing the Hypothesis Testing the Hypothesis Example: Paper Manufacturing

9-7 Using the p-Value Approach Using the p-Value Approach The p-value is the probability of the sample result (or one more extreme) assuming that H 0 is true.The p-value is the probability of the sample result (or one more extreme) assuming that H 0 is true. The p-value can be obtained using Excel’s cumulative standard normal function =NORM.S.DIST(z).The p-value can be obtained using Excel’s cumulative standard normal function =NORM.S.DIST(z). The p-value can also be obtained from Appendix C-2.The p-value can also be obtained from Appendix C-2. Using the p-value, we reject H 0 if p-value  .Using the p-value, we reject H 0 if p-value  . Chapter 9 Testing a Mean: Known Population Variance

9-8 Two-Tailed Test of Hypothesis Two-Tailed Test of Hypothesis Chapter 9 Example: Paper Manufacturing Testing a Mean: Known Population Variance

9-9 Chapter 9 Testing a Mean: Known Population Variance Two-Tailed Test of Hypothesis Two-Tailed Test of Hypothesis Example: Paper Manufacturing

9-10 Chapter 9 Testing a Mean: Known Population Variance Two-Tailed Test of Hypothesis Two-Tailed Test of Hypothesis Example: Paper Manufacturing

9-11 Chapter 9 Testing a Mean: Known Population Variance Two-Tailed Test of Hypothesis Two-Tailed Test of Hypothesis Example: Paper Manufacturing

9-12 Testing the Hypothesis Testing the Hypothesis Chapter 9 Using the p-Value Approach Using the p-Value Approach p-value = <  = 0.05, so the null hypothesis is rejected. Testing a Mean: Known Population Variance

9-13 Analogy to Confidence Intervals Analogy to Confidence Intervals A two-tailed hypothesis test at the 5% level of significance (  =.05) is exactly equivalent to asking whether the 95% confidence interval for the mean includes the hypothesized mean.A two-tailed hypothesis test at the 5% level of significance (  =.05) is exactly equivalent to asking whether the 95% confidence interval for the mean includes the hypothesized mean. If the confidence interval includes the hypothesized mean, then we cannot reject the null hypothesis.If the confidence interval includes the hypothesized mean, then we cannot reject the null hypothesis. Chapter 9 Testing a Mean: Known Population Variance

9-14 When the population standard deviation  is unknown and the population may be assumed normal, the test statistic follows the Student’s t distribution with n – 1 degrees of freedom.When the population standard deviation  is unknown and the population may be assumed normal, the test statistic follows the Student’s t distribution with n – 1 degrees of freedom. Using Student’s t Using Student’s t Chapter 9 Testing a Mean: Unknown ML 8.2 Population Variance LO9-7: Perform a hypothesis test for a mean with unknown σ using t.

9-15 Testing the Hypothesis Testing the Hypothesis Step 1: State the hypotheses H 0 :  = 142 H 1 :   142 Step 2: Specify the decision rule. For  =.10 for the two-tailed test and with d.f. n – 1 = 24  1 = 23, reject H 0 if t calc > or if t calc <  1.714; otherwise do not reject H 0. Chapter 9 Example: Hot Chocolate Testing a Mean: Unknown Population Variance

9-16 Step 3: Collect sample data and calculate the test statistic. If H 0 is true, then the test statistic should be near 0 because the sample mean should be near μ 0. The value of the test statistic is Chapter 9 Step 4: Since the test statistic lies within the range of chance variation, we cannot reject the null hypothesis H 0 : μ = 142. Testing a Mean: Unknown Population Variance Testing the Hypothesis Testing the Hypothesis Example: Hot Chocolate

9-17 Chapter 9 Using the p-value LO9-8: Use tables or Excel to find the p-value in tests of μ. Testing a Mean: Unknown Population Variance

9-18 Confidence Intervals versus Hypothesis Test A two-tailed hypothesis test at the 10% level of significance (  =.10) is equivalent to a two-sided 90% confidence interval for the mean. If the confidence interval does not include the hypothesized mean, then we reject the null hypothesis. The 90% confidence interval for the mean is given next. Because μ = 142 lies within the 90 percent confidence interval [ , ], we cannot reject the hypothesis H 0 : μ = 142 at α =.10 in a two-tailed test. Chapter 9 Testing a Mean: Unknown Population Variance

9-19 To conduct a hypothesis test, we need to know - the parameter being tested, - the sample statistic, and - the sampling distribution of the sample statistic.To conduct a hypothesis test, we need to know - the parameter being tested, - the sample statistic, and - the sampling distribution of the sample statistic. The sampling distribution tells us which test statistic to use.The sampling distribution tells us which test statistic to use. A sample proportion p estimates the population proportion .A sample proportion p estimates the population proportion . For a large sample, p can be assumed to follow a normal distribution. If so, the test statistic is z.For a large sample, p can be assumed to follow a normal distribution. If so, the test statistic is z. Chapter 9 Testing a Proportion ML 8.3 LO9-9: Perform a hypothesis test for a proportion and find the p-value.

9-20 Chapter 9 Testing a Proportion Note: A rule of thumb to assume normality is if n  0  10 and n(1   0 )  10.

9-21 The value of  0 that we are testing is a benchmark such as past experience, an industry standard, or a product specification. The value of  0 does not come from a sample. Chapter 9 Testing a Proportion Critical Value Critical Value The test statistic is compared with a critical z value from a table. The critical value shows the range of values for the test statistic that would be expected by chance if H 0 were true. Choice of π 0 Choice of π 0

9-22 Step 2: Specify the decision rule. For α =.05 for a left-tail test, reject H 0 if z <  1.645; otherwise do not reject H 0. Figure 9.12 Chapter 9 Testing a Proportion Example: Return Policy Example: Return Policy Step 1: State the hypotheses. For example: H 0 :  .13 H 1 :  <.13 Steps in Testing a Proportion

9-23 Steps in Testing a Proportion Steps in Testing a Proportion Figure 9.12 Chapter 9 Step 3: Collect sample data and calculate the test statistic. If H 0 is true, then the test statistic should be near 0 because the sample mean should be near μ 0. The value of the test statistic is: Step 4: Since the test statistic lies in the left-tail rejection region, we reject the null hypothesis H 0 :  .13. Testing a Proportion

9-24 Calculating the p-Value Calculating the p-Value Chapter 9 Testing a Proportion

9-25 Chapter 9 The Effect of  The Effect of  Testing a Proportion

9-26 Chapter 9 The Effect of  The Effect of  Testing a Proportion

9-27 Small Samples and Non-Normality Small Samples and Non-Normality In the case where n  0 < 10, use MINITAB (or any other appropriate software) to test the hypotheses by finding the exact binomial probability of a sample proportion p. For example: Figure 9.19 Chapter 9 Testing a Proportion