Two Population Means Hypothesis Testing and Confidence Intervals With Known Standard Deviations.

Slides:



Advertisements
Similar presentations
Comparing Two Means: One-sample & Paired-sample t-tests Lesson 12.
Advertisements

1 1 Slide © 2003 South-Western /Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 21, Slide 1 Chapter 21 Comparing Two Proportions.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Chapter 10 Comparisons Involving Means Part A Estimation of the Difference between the Means of Two Populations: Independent Samples Hypothesis Tests about.
Chapter 10 Two-Sample Tests
July, 2000Guang Jin Statistics in Applied Science and Technology Chapter 9_part I ( and 9.7) Tests of Significance.
ANOVA Determining Which Means Differ in Single Factor Models Determining Which Means Differ in Single Factor Models.
Hypothesis Tests About  With  Unknown. Hypothesis Testing (Revisited) Five Step Procedure 1.Define Opposing Hypotheses. (  ) 2.Choose a level of risk.
Two Population Means Hypothesis Testing and Confidence Intervals For Matched Pairs.
Chapter Goals After completing this chapter, you should be able to:
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 9-1 Introduction to Statistics Chapter 10 Estimation and Hypothesis.
1/45 Chapter 11 Hypothesis Testing II EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008.
A Decision-Making Approach
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 10-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Two Population Means Hypothesis Testing and Confidence Intervals With Unknown Standard Deviations.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
Hypothesis Testing Using The One-Sample t-Test
Significance Tests for Proportions Presentation 9.2.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Two-Sample Tests Basic Business Statistics 10 th Edition.
Unit 7b Statistical Inference - 2 Hypothesis Testing Using Data to Make Decisions FPP Chapters 27, 27, possibly 27 &/or 29 Z-tests for means Z-tests.
Statistics for Managers Using Microsoft® Excel 7th Edition
Fundamentals of Hypothesis Testing: One-Sample Tests
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
Section 10.1 ~ t Distribution for Inferences about a Mean Introduction to Probability and Statistics Ms. Young.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 2 – Slide 1 of 25 Chapter 11 Section 2 Inference about Two Means: Independent.
1 Level of Significance α is a predetermined value by convention usually 0.05 α = 0.05 corresponds to the 95% confidence level We are accepting the risk.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Comparing Two Proportions
Basic concept Measures of central tendency Measures of central tendency Measures of dispersion & variability.
1 Pertemuan 08 Pengujian Hipotesis Matakuliah: A0392 – Statistik Ekonomi Tahun: 2006.
A Course In Business Statistics 4th © 2006 Prentice-Hall, Inc. Chap 9-1 A Course In Business Statistics 4 th Edition Chapter 9 Estimation and Hypothesis.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
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 © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
Copyright © 2010 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
Interval Estimation and Hypothesis Testing Prepared by Vera Tabakova, East Carolina University.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Two-Sample Tests Statistics for Managers Using Microsoft.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
Slide Slide 1 Section 8-4 Testing a Claim About a Mean:  Known.
T T Population Confidence Intervals Purpose Allows the analyst to analyze the difference of 2 population means and proportions for sample.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Aim: How do we use a t-test?
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
Copyright ©2011 Nelson Education Limited Inference from Small Samples CHAPTER 10.
1-Sample t-test Amir Hossein Habibi.
AP Statistics. Chap 13-1 Chapter 13 Estimation and Hypothesis Testing for Two Population Parameters.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 3 – Slide 1 of 27 Chapter 11 Section 3 Inference about Two Population Proportions.
1 Testing Statistical Hypothesis The One Sample t-Test Heibatollah Baghi, and Mastee Badii.
Hypothesis Testing. Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean μ = 120 and variance σ.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
Name Mean of Sampling Distribution Standard Deviation/Error of Sampling Distribution 1 sample z-Interval for Proportions 1 sample z-interval for Means.
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.
Sample Size Needed to Achieve High Confidence (Means)
T T Population Hypothesis Tests Purpose Allows the analyst to analyze the results of hypothesis testing of the difference of 2 population.
Statistical hypothesis Statistical hypothesis is a method for testing a claim or hypothesis about a parameter in a papulation The statement H 0 is called.
Two-Sample Hypothesis Testing
Hypothesis Tests for 1-Sample Proportion
Hypothesis tests for the difference between two means: Independent samples Section 11.1.
Hypothesis Testing and Confidence Intervals
Hypothesis tests for the difference between two proportions
Hypothesis Tests for Two Population Standard Deviations
Hypothesis Testing and Confidence Intervals
Hypothesis Tests for a Standard Deviation
What are their purposes? What kinds?
Hypothesis Testing and Confidence Intervals
Presentation transcript:

Two Population Means Hypothesis Testing and Confidence Intervals With Known Standard Deviations

SITUATION: 2 Populations Population 1 Mean =  1 St’d Dev. =  1 Population 2 Mean =  2 St’d Dev. =  2 Salaries in ChicagoSalaries in St. LouisWomen’s Test ScoresMen’s Test ScoresLakers AttendanceClippers AttendanceAnaheim SalesIrvine Sales

KEY ASSUMPTIONS Sampling is done from two populations. –Population 1 has mean µ 1 and variance σ 1 2. –Population 2 has mean µ 2 and variance σ 2 2. –A sample of size n 1 will be taken from population 1. –A sample of size n 2 will be taken from population 2. –Sampling is random and both samples are drawn independently. –Either the sample sizes will be large or the populations are assumed to be normally distribution.

The Problem  1 and  2 are unknown  1 and  2 may or may not be known (In this module we assume they are known.)OBJECTIVES Test whether  1 >  2 (by a certain amount) –or whether  1   2 Determine a confidence interval for the difference in the means:  1 -  2

Key Concepts About the Random Variable. is the difference in two sample means. mean 1.Its mean is the difference of the two individual means: variance 2.If the variables are independent (which we assumed), the variance (not the standard deviation) of the random variable of the differences = the sum (not the difference) of the two variances: standard deviation standard deviation 3.Thus its standard deviation is:standard deviation distribution 4.Its distribution is: Normal if σ 1 and σ 2 are known t if σ 1 and σ 2 are unknown

Hypothesis Test Statistics for Difference in Means, Known σ’s We will be performing hypothesis tests with null hypotheses, H 0, of the form: From the general form of a test statistic, the required test statistic will be: H 0 : µ 1 - µ 2 = v

Confidence Intervals for µ 1 - µ 2 Known σ’s Recall the general form of a confidence interval is: Thus when the σ’s are known this becomes: (Point Estimate) ± z α/2 (Appropriate Standard Error)

EXAMPLE Hypothesis Test:  1,  2 Known Test whether starting salaries for secretaries in Chicago are at least $5 more per week than those in St. Louis. GIVEN: Salaries assumed to be normal Standard Deviations known: Chicago $10; St. Louis $15 Sample Results Sampled 100 secretaries in Chicago; 75 secretaries in St. Louis Sample averages: Chicago - $550, St. Louis -$540

Hypothesis Test Hypothesis Test H 0 :  1 -  2 = 5 H A :  1 -  2 > 5 Use  =.05 Reject H 0 (Accept H A ) if z > z.05 = 1.645

Calculating z Remember

Conclusion Since 2.5 > –It can be concluded that the average starting salary for secretaries in Chicago is at least $5 per week greater than the average starting salary in St. Louis. The p-value: –The area above z= 2.5 on the normal curve = =.0062 –Since.0062 is low (compared to α), it can be concluded that the average starting salary for secretaries in Chicago is at least $5 per week greater than the average starting salary in St. Louis.

EXAMPLE EXAMPLE Confidence Interval:  1,  2 Known EXAMPLE Construct a 95% confidence for the difference in average between weekly starting salaries for secretaries in Chicago and St. Louis. $10 ± $3.92 $6.08 ↔ $13.92

Excel Approach Excel Approach Suppose, as shown on the next slide the data for Chicago is given in column A (A2:A101) and the data for St. Louis is given in column B (B2:B76). The analysis can be done using an entry from the Data Analysis Menu: z-test: Two Sample for Means

Go to Data Then Data Analysis Select z-Test: Two Sample For Means Go to Data Then DataAnalysis Go to Data Then Data Analysis Select z-Test: Two Sample For Means

For 1-tail tests, input columns so that the test is a “>” test. Enter Hypothesized Difference Enter Variances Not Standard Deviations Check Labels Enter Beginning Cell For Output

p-value for “>” test p-value for “  ” test

=(E4-F4)-NORMSINV(0.975)*SQRT(E5/E6+F5/F6) Highlight formula in cell E15—press F4. Drag to cell E16 and change “-” to “+”.

Estimating Sample Sizes Usual Assumptions: –Same sample size from each pop.: n 1 = n 2 = n –Standard deviations,      known Calculate n from the “±” part of the confidence interval for known  1 and  2

Example How many workers would have to be surveyed in Chicago and St. Louis to estimate the true average difference in starting weekly salary to within  $3?

Review Mean and standard deviation for  X 1 -  X 2 Assumptions for tests and confidence intervals z-tests for differences in means when  1 and  2 are known: –By Formula –By Excel data analysis tool Confidence intervals for differences in means when  1 and  2 are known: –By Formula –By Excel data analysis tool Estimating Sample Sizes