BCOR 1020 Business Statistics Lecture 22 – April 10, 2008.

Slides:



Advertisements
Similar presentations
Chapter 9 Hypothesis Testing Understandable Statistics Ninth Edition
Advertisements

Inferential Statistics
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.
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
AP Statistics – Chapter 9 Test Review
PSY 307 – Statistics for the Behavioral Sciences
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
BCOR 1020 Business Statistics
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
BCOR 1020 Business Statistics Lecture 18 – March 20, 2008.
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
BCOR 1020 Business Statistics
5-3 Inference on the Means of Two Populations, Variances Unknown
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Week 9 October Four Mini-Lectures QMM 510 Fall 2014.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
Chapter 15 Nonparametric Statistics
Statistical Inference for Two Samples
AM Recitation 2/10/11.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. A PowerPoint Presentation Package to Accompany Applied Statistics.
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
1 © Lecture note 3 Hypothesis Testing MAKE HYPOTHESIS ©
Fundamentals of Hypothesis Testing: One-Sample Tests
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Statistics Pooled Examples.
More About Significance Tests
+ Chapter 9 Summary. + Section 9.1 Significance Tests: The Basics After this section, you should be able to… STATE correct hypotheses for a significance.
Comparing Two Proportions
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Chapter 9: Testing Hypotheses
Significance Tests: THE BASICS Could it happen by chance alone?
Statistics Are Fun! Two-Sample Tests of Hypothesis
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
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 © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Lecture 16 Section 8.1 Objectives: Testing Statistical Hypotheses − Stating hypotheses statements − Type I and II errors − Conducting a hypothesis test.
Introduction to Inferece BPS chapter 14 © 2010 W.H. Freeman and Company.
Chapter 22: Comparing Two Proportions. Yet Another Standard Deviation (YASD) Standard deviation of the sampling distribution The variance of the sum or.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Copyright © 2010 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
1 9 Tests of Hypotheses for a Single Sample. © John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. 9-1.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
One-Sample Hypothesis Tests Chapter99 Logic of Hypothesis Testing Statistical Hypothesis Testing Testing a Mean: Known Population Variance Testing a Mean:
Logic and Vocabulary of Hypothesis Tests Chapter 13.
Chapter 10 The t Test for Two Independent Samples
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
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
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Chapter 22 Comparing Two Proportions.  Comparisons between two percentages are much more common than questions about isolated percentages.  We often.
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.
 What is Hypothesis Testing?  Testing for the population mean  One-tailed testing  Two-tailed testing  Tests Concerning Proportions  Types of Errors.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
Chapter Nine Hypothesis Testing.
Two-Sample Hypothesis Testing
Prepared by Lloyd R. Jaisingh
Chapter 8 Hypothesis Testing with Two Samples.
Hypothesis Testing: Hypotheses
Chapter 9 Hypothesis Testing.
Chapter 9 Hypothesis Testing.
Hypothesis tests for the difference between two proportions
What are their purposes? What kinds?
STA 291 Summer 2008 Lecture 18 Dustin Lueker.
STA 291 Spring 2008 Lecture 17 Dustin Lueker.
Presentation transcript:

BCOR 1020 Business Statistics Lecture 22 – April 10, 2008

Overview Chapter 10 – Two-Sample Tests –Two-Sample Tests –Comparing Two Proportions –Comparing Two Means (  known)

Chapter 10 – Two-Sample Tests A Two-sample test compares two sample estimates with each other. A one-sample test compares a sample estimate against a non-sample benchmark. What is a Two-Sample Test? Basis of Two-Sample Tests: Two samples that are drawn from the same population may yield different estimates of a parameter due to chance.

Chapter 10 – Two-Sample Tests If the two sample statistics differ by more than the amount attributable to chance, then we conclude that the samples came from populations with different parameter values. What is a Two-Sample Test?

Chapter 10 – Two-Sample Tests Choose Level of Significance, . State the hypotheses. Define the test statistic and its distribution under H 0. Set up the decision rule. Insert the sample statistics. Make a decision based on the critical values or using p-values. If our decision is wrong, we could commit a type I or type II error. Larger samples are needed to reduce type I or type II errors. Test Procedure:

Chapter 10 – Comparing Two Proportions To compare two population proportions,  1,  2, use the following hypotheses… Testing for Zero Difference:  1 =  2

Chapter 10 – Comparing Two Proportions The sample proportion p 1 is a point estimate of  1 : Testing for Zero Difference:  1 =  2 The sample proportion p 2 is a point estimate of  2 :

Chapter 10 – Comparing Two Proportions If H 0 is true, there is no difference between  1 and  2, so the samples are pooled (averaged) into one “big” sample to estimate the common population proportion. Pooled Proportion: = number of successes in combined samples combined sample size p = x 1 + x 2 n 1 + n 2

Chapter 10 – Comparing Two Proportions If the samples are large, p 1 – p 2 may be assumed normally distributed. The test statistic is the difference of the sample proportions divided by the standard error of the difference. The standard error is calculated by using the pooled proportion. The test statistic for the hypothesis  1 =  2 is: Test Statistic: ~N(0,1) under H 0.

Chapter 10 – Comparing Two Proportions The test statistic for the hypothesis  1 =  2 may also be written as: Test Statistic: ~N(0,1) under H 0.

Chapter 10 – Comparing Two Proportions Check the normality assumption with n  > 10 and n(1-  ) > 10. –Each of the two samples must be checked separately using each sample proportion in place of . –If either sample proportion is not normal, their difference cannot safely be assumed normal. –The sample size rule of thumb is equivalent to requiring that each sample contains at least 10 “successes” and at least 10 “failures.” Checking Normality: If sample sizes do not justify the normality assumption, treat each sample as a binomial experiment. If the samples are small, the test is likely to have low power. Small Samples:

Chapter 10 – Comparing Two Proportions Steps in Testing Two Proportions: If we wish to test a hypothesis about the equality of two population proportions, we will follow the same logic… –Specify the level of significance,  (given in problem or assume 5% or 10%). –State the null and alternative hypotheses, H 0 and H 1 (based on the problem statement). –Compute the test statistic and determine its distribution under H 0. –State the decision criteria (based on the hypotheses and distribution of the test statistic under H 0 ). –State your decision.

Chapter 10 – Comparing Two Proportions Example: A purchasing agent for a music production company is trying to find a CD vendor. In order to distinguish between he two lowest bidders, random samples of CDs from both vendors are compared for quality – using the proportion of CDs that are defective as the measure of quality. In a sample of 200 CDs from vendor A, 18 are found to be defective. In a sample of 300 CDs from vendor B, 18 are found to be defective. Test the appropriate hypothesis to determine whether there is any difference in quality between the two vendors.

Chapter 10 – Comparing Two Proportions Example: The sample proportions of defective CDs for both vendors are… p A = 18/200 = 0.09p B = 18/300 = 0.06 The pooled estimate is… = 36/500 = Testing the hypothesis to determine whether there is any difference in quality between the two vendors gives us… p = x 1 + x 2 n 1 + n 2

Clickers Using the formula compute the test statistic for this hypothesis test. (A) Z* = (B) Z* = (C) Z* = (D) Z* = 1.645

Chapter 10 – Comparing Two Proportions Example: We will reject H 0 in favor of H 1, if the absolute value of our test statistic exceeds Z  /2 = Z.05 = So, we fail to reject H 0. At the 10% level, there is not statistically significant evidence that the proportion of defects is different for the two vendors.

Clickers Using the 2-Sided formula … compute the p-value for this hypothesis test. (A) p-value = (B) p-value = (C) p-value = (D) p-value =

Chapter 10 – Comparing Two Means: Indep. Samples (  known) The hypotheses for comparing two independent population means  1 and  2 are: Format of Hypotheses: Case 1: If the population variances  1 2 and  2 2 are known, then use the normal distribution. Test Statistic:

Chapter 10 – Comparing Two Means: Indep. Samples (  known) Decision Criteria: Make a decision based on the critical values of the Z distribution or using p-values.

Chapter 10 – Comparing Two Means: Indep. Samples (  known) Example: Suppose we are selecting between two shipping companies. A random sample of 10 shipments from company 1 had an average of 5.4 days while a random sample of 12 shipments from company 2 had an average of 6.2 days. If the standard deviation for shipping times from both companies is known to be  1 =  2 = 1.5 days, test the appropriate hypothesis to determine whether there is a difference in average shipping times between these companies. (Use a 10% level of significance.) (overhead)

Chapter 10 – Comparing Two Means: Indep. Samples (  known) Example (continued): We know…  1 =  2 = 1.5; n 1 = 10; n 2 = 12; Based on the problem statement we select the two- sided test …

Clickers How is our test statistic Z* = distributed if H 0 is true? (A) Student’s t with 21 d.f. (B) Standard Normal (C) Normal with  = 5.4,  = 1.5 (D) Not enough information

Chapter 10 – Comparing Two Means: Indep. Samples (  known) Example (continued): Rejection Criteria… Reject H 0 in favor of H 1 if |Z*| > Z a/2 = Z.10/2 = Z.05 = Decision… Since |Z*| is less than Z a/2, we fail to reject H 0. There is not statistically significant evidence of a difference in mean shipping times.