Statistical Methods II Session 8 Non Parametric Testing – The Wilcoxon Signed Rank Test.

Slides:



Advertisements
Similar presentations
Prepared by Lloyd R. Jaisingh
Advertisements

Statistical Methods II
Non-Parametric Statistics
Chapter 16 Introduction to Nonparametric Statistics
Statistical Methods II
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Nonparametric Methods Chapter 15.
Lecture 10 Non Parametric Testing STAT 3120 Statistical Methods I.
Chapter 12 Chi-Square Tests and Nonparametric Tests
Lesson #25 Nonparametric Tests for a Single Population.
Non-parametric equivalents to the t-test Sam Cromie.
Test statistic: Group Comparison Jobayer Hossain Larry Holmes, Jr Research Statistics, Lecture 5 October 30,2008.
Statistics 07 Nonparametric Hypothesis Testing. Parametric testing such as Z test, t test and F test is suitable for the test of range variables or ratio.
1 Distribution-free testing If the data are normally distributed, we may apply a z- test or t-test when the parameter of interest is . But what if this.
15-1 Introduction Most of the hypothesis-testing and confidence interval procedures discussed in previous chapters are based on the assumption that.
Mann-Whitney and Wilcoxon Tests.
Nonparametrics and goodness of fit Petter Mostad
Chapter 15 Nonparametric Statistics
Statistical Methods II
Review I volunteer in my son’s 2nd grade class on library day. Each kid gets to check out one book. Here are the types of books they picked this week:
Chapter 14: Nonparametric Statistics
T-test Mechanics. Z-score If we know the population mean and standard deviation, for any value of X we can compute a z-score Z-score tells us how far.
The paired sample experiment The paired t test. Frequently one is interested in comparing the effects of two treatments (drugs, etc…) on a response variable.
NONPARAMETRIC STATISTICS
Independent samples- Wilcoxon rank sum test. Example The main outcome measure in MS is the expanded disability status scale (EDSS) The main outcome measure.
Non-parametric Tests. With histograms like these, there really isn’t a need to perform the Shapiro-Wilk tests!
Parametric & Non-parametric Parametric Non-Parametric  A parameter to compare Mean, S.D.  Normal Distribution & Homogeneity  No parameter is compared.
Lesson Inferences about the Differences between Two Medians: Dependent Samples.
What are Nonparametric Statistics? In all of the preceding chapters we have focused on testing and estimating parameters associated with distributions.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 10 Comparing Two Populations or Groups 10.2.
Previous Lecture: Categorical Data Methods. Nonparametric Methods This Lecture Judy Zhong Ph.D.
Presentation Template STAT 3120 Statistical Methods I.
© 2000 Prentice-Hall, Inc. Statistics Nonparametric Statistics Chapter 14.
© Copyright McGraw-Hill CHAPTER 13 Nonparametric Statistics.
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.
Nonparametric Tests IPS Chapter 15 © 2009 W.H. Freeman and Company.
1 Nonparametric Statistical Techniques Chapter 17.
Nonparametric Statistics
Lesson 15 - R Chapter 15 Review. Objectives Summarize the chapter Define the vocabulary used Complete all objectives Successfully answer any of the review.
Nonparametric Statistical Methods. Definition When the data is generated from process (model) that is known except for finite number of unknown parameters.
Medical Statistics (full English class) Ji-Qian Fang School of Public Health Sun Yat-Sen University.
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.
BPS - 5th Ed. Chapter 251 Nonparametric Tests. BPS - 5th Ed. Chapter 252 Inference Methods So Far u Variables have had Normal distributions. u In practice,
Nonparametric Statistics
Nonparametric Tests BPS chapter 26 © 2006 W.H. Freeman and Company.
Biostatistics Nonparametric Statistics Class 8 March 14, 2000.
Logistic regression. Recall the simple linear regression model: y =  0 +  1 x +  where we are trying to predict a continuous dependent variable y from.
CHAPTER 2: Basic Summary Statistics
Copyright (c) Bani Mallick1 STAT 651 Lecture 8. Copyright (c) Bani Mallick2 Topics in Lecture #8 Sign test for paired comparisons Wilcoxon signed rank.
Nonparametric Statistical Methods. Definition When the data is generated from process (model) that is known except for finite number of unknown parameters.
Midterm. T/F (a) False—step function (b) False, F n (x)~Bin(n,F(x)) so Inverting and estimating the standard error we see that a factor of n -1/2 is missing.
Nonparametric Statistics - Dependent Samples How do we test differences from matched pairs of measurement data? If the differences are normally distributed,
1 Nonparametric Statistical Techniques Chapter 18.
1 Underlying population distribution is continuous. No other assumptions. Data need not be quantitative, but may be categorical or rank data. Very quick.
Non-Parametric Tests 12/1.
Non-Parametric Tests 12/1.
Non-Parametric Tests 12/6.
Non-Parametric Tests.
Y - Tests Type Based on Response and Measure Variable Data
Lesson Inferences about the Differences between Two Medians: Dependent Samples.
SA3202 Statistical Methods for Social Sciences
Nonparametric Statistical Methods: Overview and Examples
Nonparametric Statistical Methods: Overview and Examples
Lecture Slides Elementary Statistics Twelfth Edition
Nonparametric Tests BPS 7e Chapter 28 © 2015 W. H. Freeman and Company.
Nonparametric Statistical Methods: Overview and Examples
Nonparametric Statistical Methods: Overview and Examples
Non-parametric tests, part A:
The Rank-Sum Test Section 15.2.
Nonparametric Statistics
Presentation transcript:

Statistical Methods II Session 8 Non Parametric Testing – The Wilcoxon Signed Rank Test

In the previous session, we introduced the concept of Non- Parametric tests (your Plan B tests). These tests come in handy when you have small datasets that are not normal. We reviewed the Sign Test as a simple test of the center (median) of a variable. Now we will introduce another non parametric test used to test the median of a dataset – The Wilcoxon Signed Rank Test. STAT 3130 – Non Parametric Testing

TestParametricNon Parametric One Quantitative Response Variable One Sample ttestSign Test One Quantitative Response Variable – Two Values from Paired Samples Paired Sample ttestWilcoxon Signed Rank Test One Quantitative Response Variable – One Qualitative Independent Variable with two groups Two Independent Sample ttest Wilcoxon Rank Sum or Mann Whitney Test One Quantitative Response Variable – One Qualitative Independent Variable with three or more groups ANOVAKruskall Wallis STAT 3130 – Non Parametric Testing

Lets consider the same dataset, and hypotheses from the previous session and use the Wilcoxon Signed Rank Test: 22, 24, 25, 25, 26, 29, 32, 34, 38, 40, 40, 42, 44 H 0 : η > 40 H 1 : η < 40 STAT 3130 – Non Parametric Testing

Step 1: Subtract η 0 from each value. Step 2: Take the absolute value of all the deviations calculated in Step 1. Step 3: Delete all of the 0 values and let n be the number of values which remain. Step 4: Rank the absolute deviations from the smallest to the largest. Assign the average of the ranks in cases of ties. Step 5: Let T+ be the total of ranks given to deviations that were originally positive. STAT 3130 – Non Parametric Testing

Step 1: -18, -16, -15, -15, -14, -11, -8, -6, -2, 0, 0, 2, 4 Step 2: 18, 16, 15, 15, 14, 11, 8, 6, 2, 0, 0, 2, 4 Step 3: 18, 16, 15, 15, 14, 11, 8, 6, 2, 2, 4(n=11) Step 4: 11 (neg), 10 (neg), 8.5 (neg), 8.5 (neg), 7 (neg), 6 (neg), 5 (neg) 4 (neg), 1.5 (neg), 1.5 (pos), 3 (pos) Step 5: T+ = = 4.5 STAT 3130 – Non Parametric Testing

What is 4.5? This is our test statistic. We can use SAS to determine the p-value associated with this statistic to determine if we will reject the null or not. A note of explanation – If the η is the true median of the data, then the sum of the ranks for positive deviations will be about the same as that of the negative deviations. In this case, the T- would be 61.5 – which is not even close to 4.5. (all of the rankings in aggregate would have been 66, which is …1) STAT 3130 – Non Parametric Testing

The Wilcoxon Signed Rank Test can be used in a Paired Situation as well. This makes sense, since paired analysis evaluates a single variable – the difference between the two samples. STAT 3130 – Non Parametric Testing

A few notes about when to use the Sign Test and when to use the Signed Rank Test: The Sign Test just considers how many values there are above or below the hypothesized median. The Wilcoxon Signed Rank Test is slightly more sophisticated. The Wilcoxon Signed Rank Test considers how far the values actually lie from the hypothesized median – and could be affected by outliers. In a paired situation, you should use the Wilcoxon Signed Rank Test. STAT 3130 – Non Parametric Testing

Lets go through this analysis using SAS… Note regarding the SAS output – we will generate a test statistic of How does this square with our value of 4.5? If we subtract the “shift parameter” – Nt*(Nt+1)/4, where Nt is the number of obs NOT EQUAL to the hypothesized median, from the sum of the positive ranks, we get the S stat as reported in SAS. So the math here is: 4.5 – ((11*12)/4) = 4.5 – 33 = STAT 3130 – Non Parametric Testing