1 2 Sample Tests – Small Samples 1.Small sample, independent groups a. Test of equality of population variances b. If variances are equal, t-test c. If.

Slides:



Advertisements
Similar presentations
Statistical Techniques I
Advertisements

BPS - 5th Ed. Chapter 241 One-Way Analysis of Variance: Comparing Several Means.
Chapter 16 Introduction to Nonparametric Statistics
EPI 809 / Spring 2008 Chapter 9 Nonparametric Statistics.
Lecture 10 Non Parametric Testing STAT 3120 Statistical Methods I.
Single Sample t-test Purpose: Compare a sample mean to a hypothesized population mean. Design: One group.
© 2003 Pearson Prentice Hall Statistics for Business and Economics Nonparametric Statistics Chapter 14.
© 2002 Prentice-Hall, Inc.Chap 8-1 Statistics for Managers using Microsoft Excel 3 rd Edition Chapter 8 Two Sample Tests with Numerical Data.
BCOR 1020 Business Statistics Lecture 22 – April 10, 2008.
BCOR 1020 Business Statistics
Tuesday, October 22 Interval estimation. Independent samples t-test for the difference between two means. Matched samples t-test.
Chapter 11 Hypothesis Tests and Estimation for Population Variances
© 2004 Prentice-Hall, Inc.Chap 10-1 Basic Business Statistics (9 th Edition) Chapter 10 Two-Sample Tests with Numerical Data.
Basic Business Statistics (9th Edition)
The Kruskal-Wallis Test The Kruskal-Wallis test is a nonparametric test that can be used to determine whether three or more independent samples were.
Hypothesis Testing Using The One-Sample t-Test
Hypothesis Testing.
AM Recitation 2/10/11.
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
Jeopardy Hypothesis Testing T-test Basics T for Indep. Samples Z-scores Probability $100 $200$200 $300 $500 $400 $300 $400 $300 $400 $500 $400.
Review of Statistical Inference Prepared by Vera Tabakova, East Carolina University ECON 4550 Econometrics Memorial University of Newfoundland.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
NONPARAMETRIC STATISTICS
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.3.
Chapter 9 Hypothesis Testing: Single Population
8-1 COMPLETE BUSINESS STATISTICS by AMIR D. ACZEL & JAYAVEL SOUNDERPANDIAN 6 th edition (SIE)
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Pengujian Hipotesis Varians By. Nurvita Arumsari, Ssi, MSi.
1 1 Slide © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
COURSE: JUST 3900 TIPS FOR APLIA Developed By: Ethan Cooper (Lead Tutor) John Lohman Michael Mattocks Aubrey Urwick Chapter : 10 Independent Samples t.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Wilcoxon rank sum test (or the Mann-Whitney U test) In statistics, the Mann-Whitney U test (also called the Mann-Whitney-Wilcoxon (MWW), Wilcoxon rank-sum.
Copyright © Cengage Learning. All rights reserved. 14 Elements of Nonparametric Statistics.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Hypothesis Tests for One and Two Population Variances.
Nonparametric Statistics. In previous testing, we assumed that our samples were drawn from normally distributed populations. This chapter introduces some.
1 Nonparametric Statistical Techniques Chapter 17.
1 Wilcoxon Wilcoxon Rank Sum Test 1. Wilcoxon with both n 1 and n 2 < Wilcoxon with both n 1 and n 2 ≥ Examples.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests and Nonparametric Tests Statistics for.
Copyright © Cengage Learning. All rights reserved. 12 Analysis of Variance.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
CD-ROM Chap 16-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition CD-ROM Chapter 16 Introduction.
The Chi-Square Distribution. Preliminary Idea Sum of n values of a random variable.
Sec 8.5 Test for a Variance or a Standard Deviation Bluman, Chapter 81.
Business Statistics, 4e, by Ken Black. © 2003 John Wiley & Sons Business Statistics, 4e by Ken Black Chapter 10 Statistical Inferences about Two.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Chapter Fifteen Chi-Square and Other Nonparametric Procedures.
© The McGraw-Hill Companies, Inc., Chapter 12 Analysis of Variance (ANOVA)
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
1 Nonparametric Statistical Techniques Chapter 18.
Lesson 5 DATA ANALYSIS. Am I using and independent groups design or repeated measures? Independent groups Mann- Whitney U test Repeated measures Wilcoxon.
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
Hypothesis Testing – Two Means(Small, Independent Samples)
Hypothesis Testing – Two Population Variances
Chapter 12 Chi-Square Tests and Nonparametric Tests
Statistics for Managers using Microsoft Excel 3rd Edition
NONPARAMETRIC STATISTICS
Basic Practice of Statistics - 5th Edition
John Loucks St. Edward’s University . SLIDES . BY.
Lecture Slides Elementary Statistics Twelfth Edition
Hypothesis Tests for Two Population Proportions
Chapter 11 Inferences About Population Variances
LESSON 20: HYPOTHESIS TESTING
The Rank-Sum Test Section 15.2.
Hypothesis Tests for a Standard Deviation
Chapter Outline Inferences About the Difference Between Two Population Means: s 1 and s 2 Known.
Nonparametric Statistics
Tests of inference about 2 population means
Presentation transcript:

1 2 Sample Tests – Small Samples 1.Small sample, independent groups a. Test of equality of population variances b. If variances are equal, t-test c. If variances are not equal, Wilcoxon Rank Sum Test 2. Examples

2 1b. Small samples, independent groups We now turn to the case of comparing means for two independent, small samples (ns < 30). * There are 2 ways to do this – depending upon whether the two population variances are equal or different. * In order to know which method we should use, we have to test the hypothesis H 0 :  1 2 =  2 2 * So for small, independent samples, there are always 2 steps– test the variances, then test the means.

3 1b. Small samples, independent groups VERY IMPORTANT POINT: * We can only use the independent groups t-test when the two population variances are equal. * We must not assume that  1 2 =  2 2. * We must test H 0 :  1 2 =  2 2. * The test of hypothesis about the two population variances uses the ratio F= (  1 2 /  2 2 ).

4 1b. Small samples, independent groups On an exam, you must test the hypothesis of equal variances before doing the independent groups t- test! If H 0 :  1 2 =  2 2 is rejected, we use the Wilcoxon Rank Sum test instead of the t-test. Note: before t-test only; not before Z test.

5 Test of hypothesis of equal variances Notes: * Next slide shows a formal statement of test of hypothesis about two population variances. * Both one-tailed and two-tailed tests are shown. * When you test equality of variances before doing small sample, independent groups t-test, always do a two-tailed test. * One-tailed test of equality of variances has other uses.

6 Test of hypothesis of equal variances H 0 :  1 2 =  2 2 H A :  1 2 <  2 2 H A :  1 2 ≠  2 2 or  1 2 >  2 2 Test statistic:F =S 1 2 S 2 2

7 Test of hypothesis of equal variances Rejection region: One-tailedTwo-tailed: F > F α F > F α/2 d.f. = (n 1 – 1), (n 2 – 1) (See note on next slide.)

8 α α given in F table is value for upper tail. Since the F distribution is not symmetric, we have to compute critical F for lower tail.

9 Computing critical F values for lower tail Critical F for upper tail of distribution is found in Table VII, using α and d.f. Critical F for lower tail of distribution: 1 F α, n2-1, n1-1 Note that d.f. are inverted!

10 1b. Small samples, independent groups Now – back to our t-test. * If you do NOT reject H 0 in the test of equality of variances, then you can pool the two sample variances: S p 2 = (n 1 -1)s (n 2 -1)s 2 2 n 1 + n 2 - 2

11 1b. Small samples, independent groups H 0 :  1 –  2 = D 0 H A :  1 –  2 > D 0 H A :  1 –  2 ≠ D 0 or:  1 –  2 < D 0 Test statistic:t = – D 0 X1X1 X2X2 ( ) S p n 1 n 2 ()

12 1b. Small samples, independent groups Rejection region: One-tailed:Two-tailed: t t α/2 or t > t α

13 1b. Small samples, independent groups Wilcoxon Rank Sum Test * first, combine the two samples and rank order all the observations. * smallest number has rank 1, largest number has rank N (= sum of n 1 and n 2 ). * separate samples and add up the ranks for the smaller sample. (If n 1 = n 2, choose either one.) * test statistic : rank sum T for smaller sample.

14 1b. Small samples, independent groups Wilcoxon – One-tailed Hypotheses: H 0 : Prob. distributions for 2 sampled populations are identical. H A : Prob. distribution for Population A shifted to right of distribution for Population B. (Note: could be to the left, but must be one or the other, not both.)

15 1b. Small samples, independent groups Wilcoxon – Two-tailed Hypotheses: H 0 : Prob. distributions for 2 sampled populations are identical. H A : Prob. distribution for Population A shifted to right or left of distribution for Population B.

16 1b. Small samples, independent groups Wilcoxon – Rejection region: (With Sample taken from Population A being smaller than sample for Population B) – reject H 0 if T A ≥ T U or T A ≤ T L

17 1b. Small samples, independent groups Wilcoxon for n 1 ≥ 10 and n 2 ≥ 10: Test statistic: Z = T A – n 1 (n 1 + n 2 + 1) 2 n 1 n 2 (n 1 + n 2 + 1) 12

18 Wilcoxon for n 1 ≥ 10 and n 2 ≥ 10 Rejection region: One-tailedTwo-tailed Z > Z α │Z│ > Z α/2 Note: use this only when n 1 ≥ 10 and n 2 ≥ 10

19 Example 1 A retail store sales consultant is asked to determine whether customers at stores which require memberships spend more on average than customers at ordinary stores where you don’t have to buy a membership to shop. She surveys as group of 7 randomly selected customers leaving no-membership-required stores and 8 different randomly selected customers leaving membersip-required stores, recording the amount of their purchases shown on their sales receipts. The data are shown below. Is there evidence that customers at the membership-required stores, on average, spend more money on a single trip to the store than customers at no-membership-required stores? (α =.05)

20 Example 1 Amount spent No membership required Membership required

21 Example 1 This question involves a test of hypothesis about 2 population means, using the means of two small, independent samples. Thus, the first step is the test of hypothesis about the population variances, σ 1 2 and σ 2 2.

22 Example 1 No membership required: X = σ 2 = 7646 – = Membership required: X = 40.0 σ 2 = – 12800=

23 Example 1 H O : σ 1 2 = σ 2 2 H A : σ 1 2 ≠ σ 2 2 F critical = F (6, 7,.025) = 5.12 (from table) F obt = 36.62= < Therefore, we can do a t-test.

24 Example 1 H O : μ non 2 = μ mem 2 H A : μ non 2 < μ mem 2 t critical = t (n – 2, α) = t (13,.05) = s 2 p = 6 (36.62) + 7 (27.42) =

25 Example 1 t obt = 40 – = = 7.43= 2.55  reject H O

26 Example 2 Many people are confused about the distinction between Cajun and Creole cooking. One possible distinction is that Cajun food contains more cayenne and other peppers and is thus “hotter” than Creole food. To test this hypothesis, the “heat” (measured in Scoville Units) of random samples of Cajun and Creole dishes is compared, yielding the data on the next slide. Do these data support the hypothesis that Cajun dishes are hotter than Creole dishes (α =.05)?

27 Example 2 Scoville Heat Units Cajun DishesCreole Dishes

28 Example 2 Cajun: σ 2 = = Membership required: σ 2 = =

29 Example 2 H O : σ 1 2 = σ 2 2 H A : σ 1 2 ≠ σ 2 2 F critical = F (6, 6,.025) = 5.82 (from table) F obt = = 7.11 > Therefore, we cannot do a t-test. We do a Wilcoxon.

30 Example 2 H O : Cajun distribution and Creole distribution are identical. H A : Cajun distribution is shifted to the right relative to the Creole distribution. Test statistic: T (rank sum total) for Cajun dishes T critical: T U = 66 or T L = 39

31 Example 2 Scoville Heat Units Cajun RankCreole Rank

32 Example 2 Check accuracy of rank sum total T: T A + T B = 105 = n*(n+1) = 14*15 = T A > T U = 70. Reject H O – Cajun dishes are hotter than Creole dishes.

33