BCOR 1020 Business Statistics

Slides:



Advertisements
Similar presentations
Chapter 14 Comparing two groups Dr Richard Bußmann.
Advertisements

Chapter 10 Section 2 Hypothesis Tests for a Population Mean
PSY 307 – Statistics for the Behavioral Sciences
BCOR 1020 Business Statistics Lecture 22 – April 10, 2008.
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Chap 11-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 11 Hypothesis Testing II Statistics for Business and Economics.
1/45 Chapter 11 Hypothesis Testing II EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 10-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
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 Lecture 20 – April 3, 2008.
BCOR 1020 Business Statistics
ESTIMATION AND HYPOTHESIS TESTING: TWO POPULATIONS
5-3 Inference on the Means of Two Populations, Variances Unknown
Hypothesis Testing Using The One-Sample t-Test
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.
Hypothesis Testing with One Sample
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Two-Sample Tests Basic Business Statistics 10 th Edition.
Week 9 October Four Mini-Lectures QMM 510 Fall 2014.
PSY 307 – Statistics for the Behavioral Sciences
Statistical Analysis. Purpose of Statistical Analysis Determines whether the results found in an experiment are meaningful. Answers the question: –Does.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Chapter 24: Comparing Means.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
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
Fundamentals of Hypothesis Testing: One-Sample Tests
Statistical Analysis Statistical Analysis
Section 10.1 ~ t Distribution for Inferences about a Mean Introduction to Probability and Statistics Ms. Young.
Chapter 9.3 (323) A Test of the Mean of a Normal Distribution: Population Variance Unknown Given a random sample of n observations from a normal population.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 2 – Slide 1 of 25 Chapter 11 Section 2 Inference about Two Means: Independent.
Sampling Distribution of the Mean Central Limit Theorem Given population with and the sampling distribution will have: A mean A variance Standard Error.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Hypothesis Testing with One Sample Chapter 7. § 7.1 Introduction to Hypothesis Testing.
Chapter 9: Testing Hypotheses
Pengujian Hipotesis Dua Populasi By. Nurvita Arumsari, Ssi, MSi.
1 Section 9-4 Two Means: Matched Pairs In this section we deal with dependent samples. In other words, there is some relationship between the two samples.
Chap 9-1 Two-Sample Tests. Chap 9-2 Two Sample Tests Population Means, Independent Samples Means, Related Samples Population Variances Group 1 vs. independent.
Copyright © Cengage Learning. All rights reserved. 14 Elements of Nonparametric Statistics.
Essential Question:  How do scientists use statistical analyses to draw meaningful conclusions from experimental results?
Tests of Hypotheses Involving Two Populations Tests for the Differences of Means Comparison of two means: and The method of comparison depends on.
© Copyright McGraw-Hill 2000
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Statistical Testing of Differences CHAPTER fifteen.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
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.
to accompany Introduction to Business Statistics
© Copyright McGraw-Hill 2004
Sec 8.5 Test for a Variance or a Standard Deviation Bluman, Chapter 81.
Copyright ©2006 Brooks/Cole A division of Thomson Learning, Inc. Introduction to Probability and Statistics Twelfth Edition Robert J. Beaver Barbara M.
Lecture Slides Elementary Statistics Twelfth Edition
MATB344 Applied Statistics I. Experimental Designs for Small Samples II. Statistical Tests of Significance III. Small Sample Test Statistics Chapter 10.
1 Pertemuan 09 & 10 Pengujian Hipotesis Mata kuliah : A Statistik Ekonomi Tahun: 2010.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
CHAPTER 7: TESTING HYPOTHESES Leon-Guerrero and Frankfort-Nachmias, Essentials of Statistics for a Diverse Society.
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 10: The t Test For Two Independent Samples.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Chapter 10 Two Sample Tests
Two-Sample Hypothesis Testing
Math 4030 – 10a Tests for Population Mean(s)
Chapter 8 Hypothesis Testing with Two Samples.
Chapter 9 Hypothesis Testing.
What are their purposes? What kinds?
Presentation transcript:

BCOR 1020 Business Statistics Lecture 23 – April 15, 2008

Overview Chapter 10 – Two Sample Tests Comparing Two Means (ss unknown) Paired Comparisons

Chapter 10 – Comparing Two Independent Means (ss unknown) Format of Hypotheses: Just as when the standard deviations are known, the hypotheses for comparing two independent population means m1 and m2 are:

Chapter 10 – Comparing Two Independent Means (ss unknown) Test Statistic: If the population variances s12 and s22 are known, then we use a standard normal distribution (Tuesday’s notes). If the population variances s12 and s22 are unknown, then we use a student’s t distribution. There are three possible cases… Case 1: Known Variances (Last Lecture) Use the standard normal table to define the rejection region or calculate the p-value.

Chapter 10 – Comparing Two Independent Means (ss unknown) Case 2: Unknown Variances, Assumed Equal Since the variances are unknown, they must be estimated and the Student’s t distribution used to test the means. Assuming the population variances are equal, s12 and s22 can be used to estimate a common pooled variance sp2. The test statistic is With degrees of freedom n = n1 + n2 – 2.

Chapter 10 – Comparing Two Independent Means (ss unknown) Case 3: Unknown Variances, Assumed Unequal If the unknown variances are assumed to be unequal, they are not pooled together. In this case, the distribution of the random variable x1 – x2 is not certain. Use the Welch-Satterthwaite test which replaces s12 and s22 with s12 and s22 in the known variance Z* formula, then uses a Student’s t test with adjusted degrees of freedom.

Chapter 10 – Comparing Two Independent Means (ss unknown) Case 3: Unknown Variances, Assumed Unequal Welch-Satterthwaite test with degrees of freedom A Quick Rule for degrees of freedom is to use n ~ min(n1 – 1, n2 – 1).

Chapter 10 – Comparing Two Independent Means (ss unknown) Steps in Testing Two Means: Choose the level of significance, a. Choose the appropriate hypotheses Calculate the Test Statistic State the decision rule – Based on a, determine the critical value(s). Make the decision – Reject H0 if the test statistic falls in the rejection region(s) as defined by the critical value(s). For example, for a two-tailed test for Student’s t and a = .05

Chapter 10 – Comparing Two Independent Means (ss unknown) When to Use Each Case Statistic: If the sample sizes are equal, the Case 2 and Case 3 test statistics will be identical, although the degrees of freedom may differ. If the variances are similar, the two tests will usually agree. If no information about the population variances is available, then the best choice is Case 3. The fewer assumptions, the better – When in doubt, use Case 3! Must Sample Sizes Be Equal? Unequal sample sizes are common and the formulas still apply.

Chapter 10 – Comparing Two Independent Means (ss unknown) Example: A restaurant chain is considering closing one of two stores. In a sample of 16 randomly selected days, restaurant A has average daily sales of $3000 with a standard deviation of SA = $450. In a sample of 12 randomly selected days, restaurant B has average daily sales of $2700 with a standard deviation of SB = $400. All other things being equal, the restaurant with lower sales will be closed. Assuming that sales for restaurants within the same chain will have equivalent standard deviations, test the appropriate hypothesis to determine whether sales at restaurant B are significantly lower than sales at restaurant A at the 5% level of significance. (Overhead)

Chapter 10 – Comparing Two Independent Means (ss unknown) Example (continued): Assumptions: Sales data are independent The standard deviations are unknown, but assumed equal. We will treat this as Case 2: Hypotheses: we want to determine if mA > mB… H0: mA < mB vs. H1: mA > mB (Right-tail test) Test Statistic: (using pooled variance sp2)…

Chapter 10 – Comparing Two Independent Means (ss unknown) Example (continued): Test Statistic: (using pooled variance sp2)… t distribution with n = 16 + 12 – 2 = 26 d.f. under H0.

Clickers What is the rejection criteria for this problem? (A) Reject H0 in favor of H1 if T* > 1.645. (B) Reject H0 in favor of H1 if T* > 1.706. (C) Reject H0 in favor of H1 if T* > 1.701. (D) Reject H0 in favor of H1 if T* > 2.056. (E) Reject H0 in favor of H1 if T* > 1.315.

Clickers What is your decision? (A) Reject H0 in favor of H1. (B) Fail to Reject H0 in favor of H1. (C) Not enough information.

Chapter 10 – Comparing Two Independent Means (ss unknown) Example (conclusion): Since our test statistic, T*, falls in the rejection region, we will reject H0 in favor of H1. Based on the data collected, there is statistically significant evidence that mA > mB. So, all other things being equal, we will close restaurant B.

Chapter 10 – Comparing Two Independent Means (ss unknown) Example (revisited): How does our test change if we don’t assume equal variances (Case 3)? We will use the same hypothesis test: H0: mA < mB vs. H1: mA > mB (Right-tail test) With a different test statistic… T distribution with n* ~ min(nA – 1,nB – 1) = min(16 – 1, 12 – 1) = 11 d.f. under H0.

Chapter 10 – Comparing Two Independent Means (ss unknown) Example (revisited): Rejection Criteria: For the right-tail test, we will reject H0 in favor of H1 if T* > ta,n. Decision: Since T* = 1.861 > ta,n = t.05,11 = 1.796, we will reject H0 in favor of H1. Just as before, based on the data collected, there is statistically significant evidence that mA > mB. Our exact p-value will be a little larger in this case since this test makes fewer assumption – and is therefore more conservative.

Chapter 10 – Paired Comparisons (Dependent Samples) Paired Data: Data occurs in matched pairs when the same item is observed twice but under different circumstances. For example, blood pressure is taken before and after a treatment is given. Paired data are typically displayed in columns:

Chapter 10 – Paired Comparisons (Dependent Samples) Paired t Test: Paired data typically come from a before/after experiment on n subjects – so the n observations of the two variable are dependent. In the paired t test, the difference between x1 and x2 is measured as d = x1 – x2. The mean d and standard deviation sd of the sample of n differences are calculated with the usual formulas for a mean and standard deviation.

Chapter 10 – Paired Comparisons (Dependent Samples) Paired t Test: The calculations for the mean and standard deviation are: Since the population variance of d is unknown, use the Student’s t with n – 1 degrees of freedom.

Chapter 10 – Paired Comparisons (Dependent Samples) Selection of H0 and H1: Remember, the conclusion we wish to test should be stated in the alternative hypothesis. Based on the problem statement, we choose from… H0: md > 0 H1: md < 0 (ii) H0: md < 0 H1: md > 0 (iii) H0: md = 0 H1: md 0 If the null hypothesis is true and md = 0, then T* has the student’s t distribution with n – 1 d.f. Decision Criteria: (the same as any other t-test) We can either compare T* to a critical value of the appropriate t distribution or calculate (bound) the p-value for the test.

Chapter 10 – Paired Comparisons (Dependent Samples) Example: A new cell phone battery is being considered as a replacement for the current one. Six college students were selected to try each battery in their usual mix of “talk” and “standby” and to record the number of hours until recharge was needed. The data is below. Using a level of significance of a = 5%, do these results show that the newer battery has significantly longer life? Student 1 2 3 4 5 6 New Battery 41 53 40 43 49 Old Battery 34 38 44 33 di = New - Old 7 13 2 -1 5 10 (Overhead)

Chapter 10 – Paired Comparisons (Dependent Samples) Example (continued): We can calculated the sample mean and standard deviation for the dis… and Based on the problem statement, we will test the hypothesis H0: md < 0 vs. H1: md > 0 (which corresponds to the battery life for the new battery being greater). The test statistic is… t distribution with n = n – 1 = 5 d.f. under H0. or

Chapter 10 – Paired Comparisons (Dependent Samples) Example (continued): Rejection Criteria: For the right-tail test, we will reject H0 in favor of H1 if T* > ta,n. Decision: Since T* = 2.86 > ta,n = t.05,5 = 2.015, we will reject H0 in favor of H1. Based on the data collected, there is statistically significant evidence that the new battery lasts longer.

Clickers For this paired t test, our test statistic T* = 2.86 has a student’s t distribution with n = 5 degrees of freedom. Use the t-table to find appropriate bounds on the p-value of this test. (A) 0.01 < p-value < 0.02 (B) 0.02 < p-value < 0.025 (C) 0.025 < p-value < 0.05 (D) 0.05 < p-value < 0.10