Ka-fu Wong © 2003 Chap 16- 1 Dr. Ka-fu Wong ECON1003 Analysis of Economic Data.

Slides:



Advertisements
Similar presentations
1 Chapter 20: Statistical Tests for Ordinal Data.
Advertisements

16- 1 Chapter Sixteen McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Hypothesis Testing Steps in Hypothesis Testing:
Chapter 16 Introduction to Nonparametric Statistics
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 16 l Nonparametrics: Testing with Ordinal Data or Nonnormal Distributions.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Nonparametric Methods Chapter 15.
statistics NONPARAMETRIC TEST
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Chapter 12 Chi-Square Tests and Nonparametric Tests
Chapter 14 Analysis of Categorical Data
Chapter 12 Chi-Square Tests and Nonparametric Tests
Statistics Are Fun! Analysis of Variance
Topic 2: Statistical Concepts and Market Returns
Test statistic: Group Comparison Jobayer Hossain Larry Holmes, Jr Research Statistics, Lecture 5 October 30,2008.
Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.
15-1 Introduction Most of the hypothesis-testing and confidence interval procedures discussed in previous chapters are based on the assumption that.
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.
Chapter 15 Nonparametric Statistics
Nonparametric or Distribution-free Tests
Correlation and Linear Regression
Marketing Research, 2 nd Edition Alan T. Shao Copyright © 2002 by South-Western PPT-1 CHAPTER 17 BIVARIATE STATISTICS: NONPARAMETRIC TESTS.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 12-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
Chapter 11 Nonparametric Tests Larson/Farber 4th ed.
11 Chapter Nonparametric Tests © 2012 Pearson Education, Inc.
Non-parametric Methods: Analysis of Ranked Data
Chapter 14: Nonparametric Statistics
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
NONPARAMETRIC STATISTICS
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
1 1 Slide © 2005 Thomson/South-Western AK/ECON 3480 M & N WINTER 2006 n Power Point Presentation n Professor Ying Kong School of Analytic Studies and Information.
© 2002 Prentice-Hall, Inc.Chap 9-1 Statistics for Managers Using Microsoft Excel 3 rd Edition Chapter 9 Analysis of Variance.
Statistics Are Fun! Two-Sample Tests of Hypothesis
Chapter 11 Nonparametric Tests.
Copyright © 2012 Pearson Education. Chapter 23 Nonparametric Methods.
Previous Lecture: Categorical Data Methods. Nonparametric Methods This Lecture Judy Zhong Ph.D.
Nonparametric Statistics aka, distribution-free statistics makes no assumption about the underlying distribution, other than that it is continuous the.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Non-parametric: Analysis of Ranked Data Chapter 18.
© Copyright McGraw-Hill CHAPTER 13 Nonparametric Statistics.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Ordinally Scale Variables
Nonparametric Statistics. In previous testing, we assumed that our samples were drawn from normally distributed populations. This chapter introduces some.
MGT-491 QUANTITATIVE ANALYSIS AND RESEARCH FOR MANAGEMENT OSMAN BIN SAIF Session 26.
1 Nonparametric Statistical Techniques Chapter 17.
Lesson 15 - R Chapter 15 Review. Objectives Summarize the chapter Define the vocabulary used Complete all objectives Successfully answer any of the review.
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 12-1 Chapter 12 Chi-Square Tests and Nonparametric Tests Statistics for Managers using.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests and Nonparametric Tests Statistics for.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Non-parametric: Analysis of Ranked Data Chapter 18.
Statistics in Applied Science and Technology Chapter14. Nonparametric Methods.
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.
Chapter 14: Nonparametric Statistics
NON-PARAMETRIC STATISTICS
Nonparametric Statistics
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
NONPARAMETRIC STATISTICS In general, a statistical technique is categorized as NPS if it has at least one of the following characteristics: 1. The method.
Nonparametric Methods: Analysis of Ranked Data
Chapter 21prepared by Elizabeth Bauer, Ph.D. 1 Ranking Data –Sometimes your data is ordinal level –We can put people in order and assign them ranks Common.
Chapter Eleven Performing the One-Sample t-Test and Testing Correlation.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
1 QNT 531 Advanced Problems in Statistics and Research Methods WORKSHOP 5 By Dr. Serhat Eren University OF PHOENIX.
Lesson Test to See if Samples Come From Same Population.
Nonparametric statistics. Four levels of measurement Nominal Ordinal Interval Ratio  Nominal: the lowest level  Ordinal  Interval  Ratio: the highest.
1 Nonparametric Statistical Techniques Chapter 18.
Non-parametric: Analysis of Ranked Data
Chapter 12 Chi-Square Tests and Nonparametric Tests
Nonparametric Statistics
Chapter Sixteen McGraw-Hill/Irwin
Presentation transcript:

Ka-fu Wong © 2003 Chap Dr. Ka-fu Wong ECON1003 Analysis of Economic Data

Ka-fu Wong © 2003 Chap l GOALS Conduct the sign test for dependent samples using the binomial distribution as the test statistic. Conduct the sign test for dependent samples using the normal distribution as the test statistic. Conduct a test of hypothesis for the population median. Conduct a test of hypothesis for dependent samples using the Wilcoxon signed-rank test. Conduct the Wilcoxon rank-sum test for independent samples. Conduct the Kruskal-Wallis test for several independent samples. Compute and interpret Spearman’s coefficient of rank correlation. Conduct a test of hypothesis to determine whether the correlation among the ranks in the population is different from zero. Chapter Sixteen Nonparametric Methods: Analysis of Ranked Data

Ka-fu Wong © 2003 Chap Tests based on signs and ranks Some of the tests we discussed earlier may be conducted differently based on the signs and ranks of data. Tests based on signs and ranks can Deal with a wider range of data type. Most the tests we talked about mainly deals with ratio level data. Rank-based and sign-based tests can deal with ordinal level data. Requires less distributional assumptions. Some of the tests we talked about requires normality and sometimes same variance across populations. Tests based on signs and ranks are thus known to be non-parametric – requires less parametric assumptions.

Ka-fu Wong © 2003 Chap The Sign Test The Sign Test is based on the sign of a difference between two related observations. No assumption is necessary regarding the shape of the population of differences. The binomial distribution is the test statistic for small samples and the standard normal (z) for large samples. The test requires dependent (related) samples. Recall in Chapter 11, we tested the difference of paired sample based on the mean differences of different pairs. A t-statistic was used for the test.

Ka-fu Wong © 2003 Chap The Sign Test applications Test of the “ before/after ” experiments. Have sales increased after the introduction of a new marketing strategy? Have general prices fallen after the outbreak of SARS in Hong Kong? Have stock prices fallen after the outbreak of SARS in Hong Kong?

Ka-fu Wong © 2003 Chap The Sign Test procedure Procedure to conduct the test: Determine the sign of the difference between related pairs. Determine the number of usable pairs. Compare the number of positive (or negative) differences to the critical value. Idea of the test: Any observation pair is classified as positive (success) or negative (failure). Hence the distribution of observed positive should be approximated binomial. Similarly for observed negatives. If we were to test no change from one group to the other (or before and after), the probability of success (positive) in any single draw under the null is  =.5. In s sample of n observations (n usable pairs without ties), the probability of observing X positives may be computed using the binomial probability formula

Ka-fu Wong © 2003 Chap Normal Approximation If both n  and n(1-  ) are greater than 5, we can use z distribution as an approximation to the binomial distribution, with some adjustment of the continuity correction factor (see Chapter 7). If the number of pluses or minuses is more than n/2, then If the number of pluses or minuses is less than n/2, then

Ka-fu Wong © 2003 Chap EXAMPLE 1 The Gagliano Research Institute for Business Studies is comparing the research and development expense (R&D) as a percent of income for a sample of glass manufacturing firms for 2000 and At the.05 significance level has the R&D expense declined? Use the sign test. Company Savoth Glass2016 Ruisi Glass1413 Rubin Inc.2320 Vaught2417 Lambert Glass3122 Pimental2220 Olson Glass1420 Flynn Glass1811

Ka-fu Wong © 2003 Chap EXAMPLE 1 continued Company DifferenceSign Savoth Glass Ruisi Glass Rubin Inc Vaught Lambert Glass Pimental Olson Glass Flynn Glass First, Compute the differences and determine the signs

Ka-fu Wong © 2003 Chap EXAMPLE 1 continued Step 1: If the R&D expense remains more or less unchanged, the probability that a random draw firm should have a higher R&D expense (with + sign) should be about 0.5. H 0 :  =.5 If the R&D expense has decline, the probability that a random draw firm should have a higher R&D expense should be lower than 0.5. H 1 :  <.5

Ka-fu Wong © 2003 Chap EXAMPLE 1 continued Step 1: H 0 :  =.5 H 1 :  <.5 Step 2: H 0 is rejected if the number of negative signs is 0 or 1, because z critical value is -1.65, and hence critical value of X = (-1.65) 0.5 (8) (8)-0.5 =1.166 at 0.05 level of significance, based on the normal approximation. Step 3: There is one negative difference, i.e., 7 positive difference. That is, there was an increase in the percent for one company. Step 4: H 0 is rejected. We conclude that R&D expense as a percent of income declined from 2000 to 2001.

Ka-fu Wong © 2003 Chap Using sign test to test a hypothesis about a Median When testing the value of the median, we use the normal approximation to the binomial distribution. Any observation that is above the proposed median is classified as positive (success), and below as negative (failure). If the proposed median is correct, the observed positives should be about 50% of the sample size. Hence the distribution of observed positive should be approximated binomial with  =.5. Similar for observed negatives. As before, the probability of success (positive) in any single draw under the null is  =.5. In s sample of n observations (n usable pairs without ties), the probability of observing X positives may be computed using the binomial probability formula. When sample size is large, the z distribution is used as an approximation, with a continuity factor correction.

Ka-fu Wong © 2003 Chap EXAMPLE 2 The Gordon Travel Agency claims that their median airfare for all their clients to all destinations is $450. This claim is being challenged by a competing agency, who believe the median is different from $450. A random sample of 300 tickets revealed 170 tickets were below $450. Use the 0.05 level of significance.

Ka-fu Wong © 2003 Chap Example 2 Continued H 0 : median = $450 versus H 1 : median ≠ $450 Above the proposed median implies positive sign. Below the proposed median implies negative sign. Because we have a two-sided alternative, at 0.05 significance level, H 0 is rejected if z is less than – 1.96 or greater than Because z is larger than 1.96, H 0 is rejected. We conclude that the median is not $450.

Ka-fu Wong © 2003 Chap Wilcoxon Signed-Rank Test If the assumption of normality is violated for the paired-t test (recall Chapter 11), the paired- t test cannot be used. Wilcoxon signed-rank test does not assume normality and hence can be used in this situation. The test requires the ordinal scale of measurement. The observations must be related or dependent. As an alternative to Sign Test to test “no change” in “before/after experiments”.

Ka-fu Wong © 2003 Chap Wilcoxon Signed-Rank Test The steps for the test are: 1.Compute the differences between related observations. 2.Rank the absolute differences from low to high. 3.Return the signs to the ranks and sum positive and negative ranks. If there is no change after the experiment, the ranks of the absolute difference should be due to some random errors. Hence, the two rank sums should be close. 4.Compare the smaller of the two rank sums with the T value, obtained from Appendix H.

Ka-fu Wong © 2003 Chap EXAMPLE 3 Use the Wilcoxon matched-pair signed-rank test to determine if the R&D expenses as a percent of income (EXAMPLE 1) have declined. Use the.05 significance level. Step 1: H 0 : The percent stayed the same. H 1 : The percent declined. Step 2: H 0 is rejected if the smaller of the rank sums is less than or equal to 5. See Appendix H.

Ka-fu Wong © 2003 Chap Example 3 Continued Company DiffAbs- diff RankR+R- Savoth Glass * Ruisi Glass * Rubin Inc * Vaught ** Lambert Glass * Pimental * Olson Glass *5 Flynn Glass * The smaller rank sum is 5, which is equal to the critical value of T. H 0 is rejected. The percent has declined from one year to the next.

Ka-fu Wong © 2003 Chap Wilcoxon Rank-Sum Test The Wilcoxon Rank-Sum Test is used to determine if two independent samples came from the same or equal populations. No assumption about the shape of the population is required. The data must be at least ordinal scale. Each sample must contain at least eight observations. If the two samples are from the same population, the average of the ranks of the two samples should be about the same. Recall a similar t-test in Chapter 11 requires the data to follow normal distribution and have equal population variances.

Ka-fu Wong © 2003 Chap Wilcoxon Rank-Sum Test For a one sided test, W have to be chosen to be consistent with the hypothesis. To determine the value of the test statistic W, all data values are ranked from low to high as if they were from a single population. The sum of ranks for each of the two samples is determined. The sum of ranks of the first sample – W – is used to compute the test statistic : Implied sum of ranks for the first sample under the null.

Ka-fu Wong © 2003 Chap EXAMPLE 4 Hills Community College purchased two vehicles, a Ford and a Chevy, for the administration ’ s use when traveling. The repair costs for the two cars over the last three years is shown on the next slide. At the.05 significance level is there a difference in the two distributions? Ford ($)Chevy ($)

Ka-fu Wong © 2003 Chap EXAMPLE 4 continued Ford ($)RankChevy ($)Rank First, rank the combined sample and compute the sum of ranks separately for the two samples.

Ka-fu Wong © 2003 Chap EXAMPLE 4 continued Step 1: H 0 : The repair costs are the same. H 1 : The repair costs are not the same. Because it is a two-sided test, W can be either the rank sum of the smaller sample or the larger sample. Step 2: H 0 is rejected if z >1.96 or z is less than –1.96 If we have H 0 : The repair costs are the same. H 1 : The repair costs is lower for Ford than for Chevy. Somehow we should reject the null and favor the alternative, if the average of rank of ford is lower than that for Chevy. That should correspond to small z. Hence we will choose “Ford” as the first sample. See the textbook for additional example.

Ka-fu Wong © 2003 Chap Example 4 continued Step 3: The value of the test statistic is Step 4: We do not reject the null hypothesis. We cannot conclude that there is a difference in the distributions of the repair costs of the two vehicles.

Ka-fu Wong © 2003 Chap Kruskal-Wallis Test: Analysis of Variance by Ranks This is used to compare three or more samples to determine if they came from equal populations. The ordinal scale of measurement is required. It is an alternative to the one-way ANOVA. The chi-square distribution is the test statistic with degree of freedom equal to the number of samples minus 1. Each sample should have at least five observations. The sample data is ranked from low to high as if it were a single group.

Ka-fu Wong © 2003 Chap Kruskal-Wallis Test: Analysis of Variance by Ranks continued The test statistic is given by: If the samples come from the same population, the mean sum of squared ranks should be approximately the same across samples. If the samples are not from the same population, some mean sum of squared ranks may explode – returning a big H.

Ka-fu Wong © 2003 Chap EXAMPLE 5 Keely Ambrose, director of Human Resources for Miller Industries, wishes to study the percent increase in salary for middle managers at the four manufacturing plants. She gathers a sample of managers and determines the percent increase in salary from last year to this year. At the 5% significance level can Keely conclude that there is a difference in the percent increases for the various plants?

Ka-fu Wong © 2003 Chap EXAMPLE 5 continued MillvilleRankCamdenRankEatonRankVinelandRank First, rank the combined sample.

Ka-fu Wong © 2003 Chap EXAMPLE 5 continued Step 1: H 0 : The populations are the same. H 1 : The populations are not the same. Step 2: H 0 is rejected if  2 is greater than There are 3 degrees of freedom at the.05 significance level.

Ka-fu Wong © 2003 Chap Example 5 continued The null hypothesis is not rejected. There is no difference in the percent increases in the four plants. Step 1: H 0 : The populations are the same. H 1 : The populations are not the same. Step 2: H 0 is rejected if  2 is greater than There are 3 degrees of freedom at the.05 significance level.

Ka-fu Wong © 2003 Chap Rank-Order Correlation Spearman ’ s coefficient of rank correlation reports the association between two sets of ranked observations. The features are: It can range from – 1.00 up to It is similar to Pearson’s coefficient of correlation, but is based on ranked data.

Ka-fu Wong © 2003 Chap Spearman Coefficient of Rank Correlation The formula to find the coefficient of rank correlation is: d is the difference in the ranks and n is the number of observations.

Ka-fu Wong © 2003 Chap Testing the Significance of r s State the null hypothesis: Rank correlation in population is 0. State the alternate hypothesis: Rank correlation in population is not 0. The value of the test statistic is computed from the formula:

Ka-fu Wong © 2003 Chap Example 6 Below are the pre-season football rankings for the Atlantic Coast Conference by the coaches and sports writers. Determine the coefficient of rank correlation between the two groups. SchoolCoachesWriters Maryland23 NC State34 NC66 Virginia55 Clemson42 Wake Forest78 Duke87 Florida State11

Ka-fu Wong © 2003 Chap Example 6 Continued SchoolCoachesWritersdD2D2 Maryland231 NC State341 NC6600 Virginia5500 Clemson4224 Wake Forest781 Duke8711 Florida State1100 Total8 Compute the differences in ranks and their squares.

Ka-fu Wong © 2003 Chap Example 6 Continued There is a strong correlation between the ranks of the coaches and the sports writers. Since the test statistic is larger than the critical value (2.447 from t-distribution with 6 degree of freedom), the null hypothesis of zero correlation is rejected..

Ka-fu Wong © 2003 Chap END - Chapter Sixteen Nonparametric Methods: Analysis of Ranked Data