Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.

Slides:



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

Inferential Statistics
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
5/15/2015Slide 1 SOLVING THE PROBLEM The one sample t-test compares two values for the population mean of a single variable. The two-sample test of a population.
The Two Sample t Review significance testing Review t distribution
Review: What influences confidence intervals?
Chapter 8 Hypothesis Testing I. Significant Differences  Hypothesis testing is designed to detect significant differences: differences that did not occur.
BCOR 1020 Business Statistics Lecture 22 – April 10, 2008.
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.
PPA 415 – Research Methods in Public Administration Lecture 6 – One-Sample and Two-Sample Tests.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Hypothesis Testing Using The One-Sample t-Test
Hypothesis Testing: Two Sample Test for Means and Proportions
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
The Two Sample t Review significance testing Review t distribution
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Choosing Statistical Procedures
Chapter Ten Introduction to Hypothesis Testing. Copyright © Houghton Mifflin Company. All rights reserved.Chapter New Statistical Notation The.
AM Recitation 2/10/11.
Overview of Statistical Hypothesis Testing: The z-Test
Hypothesis Testing with Two Samples
Chapter 13 – 1 Chapter 12: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Errors Testing the difference between two.
Descriptive statistics Inferential statistics
Hypothesis Testing II The Two-Sample Case.
Copyright © 2012 by Nelson Education Limited. Chapter 8 Hypothesis Testing II: The Two-Sample Case 8-1.
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.
Education 793 Class Notes T-tests 29 October 2003.
T-distribution & comparison of means Z as test statistic Use a Z-statistic only if you know the population standard deviation (σ). Z-statistic converts.
1 CSI5388: Functional Elements of Statistics for Machine Learning Part I.
Week 10 Chapter 10 - Hypothesis Testing III : The Analysis of Variance
Week 8 Chapter 8 - Hypothesis Testing I: The One-Sample Case.
Chapter 8 Hypothesis Testing I. Chapter Outline  An Overview of Hypothesis Testing  The Five-Step Model for Hypothesis Testing  One-Tailed and Two-Tailed.
Hypothesis Testing: One Sample Cases. Outline: – The logic of hypothesis testing – The Five-Step Model – Hypothesis testing for single sample means (z.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Copyright © 2012 by Nelson Education Limited. Chapter 7 Hypothesis Testing I: The One-Sample Case 7-1.
Fundamentals of Hypothesis Testing: One-Sample Tests İŞL 276.
Chapter 9: Testing Hypotheses
Hypothesis Testing CSCE 587.
Hypothesis Testing Using the Two-Sample t-Test
© 2011 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license.
Last Time Today we will learn how to do t-tests using excel, and we will review for Monday’s exam.
DIRECTIONAL HYPOTHESIS The 1-tailed test: –Instead of dividing alpha by 2, you are looking for unlikely outcomes on only 1 side of the distribution –No.
PPA 501 – Analytical Methods in Administration Lecture 6a – Normal Curve, Z- Scores, and Estimation.
1 Chapter 8 Introduction to Hypothesis Testing. 2 Name of the game… Hypothesis testing Statistical method that uses sample data to evaluate a hypothesis.
Chapter Twelve The Two-Sample t-Test. Copyright © Houghton Mifflin Company. All rights reserved.Chapter is the mean of the first sample is the.
Chapter 8 Hypothesis Testing I. Significant Differences  Hypothesis testing is designed to detect significant differences: differences that did not occur.
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:
Review I A student researcher obtains a random sample of UMD students and finds that 55% report using an illegally obtained stimulant to study in the past.
1 URBDP 591 A Lecture 12: Statistical Inference Objectives Sampling Distribution Principles of Hypothesis Testing Statistical Significance.
© Copyright McGraw-Hill 2004
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 3 – Slide 1 of 27 Chapter 11 Section 3 Inference about Two Population Proportions.
Chapter Eleven Performing the One-Sample t-Test and Testing Correlation.
1 Testing Statistical Hypothesis The One Sample t-Test Heibatollah Baghi, and Mastee Badii.
CHAPTER 7: TESTING HYPOTHESES Leon-Guerrero and Frankfort-Nachmias, Essentials of Statistics for a Diverse Society.
 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.
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
Hypothesis Testing: One Sample Cases
Hypothesis Testing I The One-sample Case
Chapter 8 Hypothesis Testing with Two Samples.
Hypothesis Testing: Two Sample Test for Means and Proportions
Chapter 9 Hypothesis Testing.
Hypothesis Testing.
Presentation transcript:

Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case

Chapter 9 Hypothesis Testing II: The Two-Sample Case

In This Presentation The basic logic of the two-sample case Test of significance for sample means (large and small samples) Tests of significance for sample proportions (large samples) The difference between “statistical significance” and “importance”

In The Last Chapter Population = Penn State University Group 1 = All Education Majors RS of 100 Education Majors

In This Chapter Population = Pennsylvania Group 1 = All Males in Population Group 2 = All Females in Population RS of 100 Males RS of 100 Females

Basic Logic We begin with a difference between sample statistics (means or proportions) The question we test: “Is the difference between the samples large enough to allow us to conclude (with a known probability of error) that the populations represented by the samples are different?” (p. 212)

Basic Logic The H o is that the populations are the same There is no difference between the parameters of the two populations If the difference between the sample statistics is large enough, or, if a difference of this size is unlikely, assuming that the H o is true, we will reject the H o and conclude there is a difference between the populations

Basic Logic The H o is a statement of “no difference” The 0.05 level will continue to be our indicator of a significant difference

The Five Step Model 1. Make assumptions and meet test requirements 2. State the null hypothesis, H o 3. Select the sampling distribution and establish the critical region 4. Calculate the test statistic 5. Make a decision and interpret the results

The Five Step Model Changes from the one-sample case: Step 1: In addition to samples selected according to EPSEM principles, samples must be selected independently of each other: independent random sampling Step 2: Null hypothesis statement will state that the two populations are not different Step 3: Sampling distribution refers to difference between the sample statistics

Scenario #1: Dependent variable is measured at the interval/ratio level with large sample sizes and unknown population standard deviations

Hypothesis Test for Means Two-Sample Test of Means (Large Samples) Do men and women significantly differ on their support of gun control? For men (sample 1): Mean = 6.2 Standard deviation = 1.3 Sample size = 324 For women (sample 2): Mean = 6.5 Standard deviation = 1.4 Sample size = 317

Step 1: Make Assumptions and Meet Test Requirements Independent random sampling The samples must be independent of each other Level of measurement is interval-ratio Support of gun control is assessed with an interval-ratio level scale, so the mean is an appropriate statistic Sampling distribution is normal in shape Total N ≥ 100 (N 1 + N 2 = = 641) so the Central Limit Theorem applies and we can assume a normal shape

Step 2: State the Null Hypothesis H o : μ 1 = μ 2 The null hypothesis asserts there is no difference between the populations H 1 : μ 1  μ 2 The research hypothesis contradicts the H o and asserts there is a difference between the populations

Step 3: Select the Sampling Distribution and Establish the Critical Region Sampling Distribution = Z distribution Alpha (α) = 0.05 (two-tailed) Z (critical) = ±1.96

Step 4: Compute the Test Statistic 1. Calculate the pooled estimate of the standard error 2. Calculate the obtained Z score

Step 5: Make a Decision The obtained test statistic (Z = -2.80) falls in the critical region so reject the null hypothesis The difference between the sample means is so large that we can conclude (at alpha = 0.05) that a difference exists between the populations represented by the samples The difference between men’s and women’s support of gun control is significant

Factors in Making a Decision The size of the difference (e.g., means of 6.2 and 6.5) The value of alpha – the higher the alpha, the more likely we are to reject the H o The use of one- vs. two-tailed tests (we are more likely to reject with a one-tailed test) The size of the sample (N) – the larger the sample the more likely we are to reject the H o

Scenario #2: Dependent variable is measured at the interval/ratio level with small sample sizes and unknown population standard deviations

Scenario #2 For small samples, s is too biased an estimator of σ so do not use standard normal distribution Use Student’s t distribution

Hypothesis Test for Means Two-Sample Test of Means (Small Samples) Do families that reside in the center-city have more children than families that reside in the suburbs? For suburbs (sample 1): Mean = 2.37 Standard deviation = 0.63 Sample size = 42 For center-city (sample 2): Mean = 2.78 Standard deviation = 0.95 Sample size = 37

Step 1: Make Assumptions and Meet Test Requirements Independent random sampling The samples must be independent of each other Level of measurement is interval-ratio Number of children can be treated as interval-ratio Population variances are equal As long as the two samples are approximately the same size, we can make this assumption Sampling distribution is normal in shape Because we have two small samples (N < 100), we have to add the previous assumption in order to meet this assumption

Step 2: State the Null Hypothesis H o : μ 1 = μ 2 The null hypothesis asserts there is no difference between the populations H 1 : μ 1 < μ 2 The research hypothesis contradicts the H o and asserts there is a difference between the populations

Step 3: Select the Sampling Distribution and Establish the Critical Region Sampling Distribution = t distribution Alpha (α) = 0.05 (one-tailed) Degrees of freedom = N 1 + N 2 -2 = 77 t (critical) =

Step 4: Compute the Test Statistic 1. Calculate the pooled estimate of the standard error 2. Calculate the obtained Z score

Step 4: Compute the Test Statistic

Step 5: Make a Decision The obtained test statistic (t = -2.16) falls in the critical region so reject the null hypothesis The difference between the sample means is so large that we can conclude (at alpha = 0.05) that a difference exists between the populations represented by the samples The difference between the number of children in center-city families and the suburban families is significant

Scenario #3: Dependent variable is measured at the nominal level with large sample sizes and unknown population standard deviation

Hypothesis Test for Proportions Two-Sample Test of Proportions (Large Samples) Do Black and White senior citizens differ in their number of memberships in clubs and organizations? (Using the proportion of each group classified as having a “high” level of membership) For Black senior citizens (sample 1): Proportion = 0.34 Sample size = 83 For White senior citizens (sample 2): Proportion = 0.25 Sample size = 103

Step 1: Make Assumptions and Meet Test Requirements Independent random sampling The samples must be independent of each other Level of measurement is nominal We have measured the proportion of each group classified as having a “high” level of membership Sampling distribution is normal in shape Total N ≥ 100 (N 1 + N 2 = = 186) so the Central Limit Theorem applies and we can assume a normal shape

Step 2: State the Null Hypothesis H o : P u1 = P u2 The null hypothesis asserts there is no difference between the populations H 1 : P u1 ≠ P u2 The research hypothesis contradicts the H o and asserts there is a difference between the populations

Step 3: Select the Sampling Distribution and Establish the Critical Region Sampling Distribution = Z distribution Alpha (α) = 0.05 (two-tailed) Z (critical) = ±1.96

Step 4: Compute the Test Statistic 1. Calculate the pooled estimate of the standard error

Step 4: Compute the Test Statistic 2.Calculate the obtained Z score

Step 5: Make a Decision The obtained test statistic (Z = +1.29) does not fall in the critical region so fail to reject the null hypothesis The difference between the sample means is small enough that we can conclude (at alpha = 0.05) that no difference exists between the populations represented by the samples The difference between the memberships of Black and White senior citizens is not significant

Limitations of Hypothesis Testing Significance Versus Importance As long as we work with random samples, we must conduct a test of significance Significance is not the same thing as importance Differences that are otherwise trivial or uninteresting may be significant

Conclusion Scenario #1: Dependent variable is measured at the interval/ratio level with large sample sizes and unknown population standard deviations Use standard Z distribution formula Scenario #2: Dependent variable is measured at the interval/ratio level with small sample sizes and unknown population standard deviations Use standard T distribution formula Scenario #3: Dependent variable is measured at the nominal level with large sample sizes and known population standard deviations Use slightly modified Z distribution formula Scenario #4: Dependent variable is measured at the nominal level with small sample sizes This is not covered in your text or in class

USING SPSS On the top menu, click on “Analyze” Select “Compare Means” Select “Independent Samples T Test OR Paired Samples T Test”

Test on two means (independent samples) Analyze / Compare means / Independent samples t-test Specify which groups you are comparing

Output The null hypothesis is rejected (as the p-value is smaller than 0.05)