EPI 809 / Spring 2008 Wilcoxon Signed Rank Test. EPI 809 / Spring 2008 Signed Rank Test Example You work in the finance department. Is the new financial.

Slides:



Advertisements
Similar presentations
Chapter 16 Introduction to Nonparametric Statistics
Advertisements

McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Nonparametric Methods Chapter 15.
EPI 809 / Spring 2008 Chapter 9 Nonparametric Statistics.
Ordinal Data. Ordinal Tests Non-parametric tests Non-parametric tests No assumptions about the shape of the distribution No assumptions about the shape.
statistics NONPARAMETRIC TEST
Lecture 10 Non Parametric Testing STAT 3120 Statistical Methods I.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
© 2003 Pearson Prentice Hall Statistics for Business and Economics Nonparametric Statistics Chapter 14.
Nonparametric Statistics Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College Publishing.
Chapter 12 Chi-Square Tests and Nonparametric Tests
Chapter 12 Chi-Square Tests and Nonparametric Tests
© 2002 Prentice-Hall, Inc.Chap 8-1 Statistics for Managers using Microsoft Excel 3 rd Edition Chapter 8 Two Sample Tests with Numerical Data.
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.
Intro to Statistics for the Behavioral Sciences PSYC 1900 Lecture 17: Nonparametric Tests & Course Summary.
Chapter Topics Comparing Two Independent Samples:
PSY 1950 Nonparametric Statistics November 24, 2008.
1 Pertemuan 11 Analisis Varians Data Nonparametrik Matakuliah: A0392 – Statistik Ekonomi Tahun: 2006.
© 2002 Prentice-Hall, Inc.Chap 8-1 Statistics for Managers using Microsoft Excel 3 rd Edition Kafla 8 Próf fyrir tvö úrtök (Ekki þýtt)
© 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)
15-1 Introduction Most of the hypothesis-testing and confidence interval procedures discussed in previous chapters are based on the assumption that.
Nonparametric and Resampling Statistics. Wilcoxon Rank-Sum Test To compare two independent samples Null is that the two populations are identical The.
Chapter 15 Nonparametric Statistics
© 2011 Pearson Education, Inc
Non-parametric Dr Azmi Mohd Tamil.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 12-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
8 - 1 © 2003 Pearson Prentice Hall Chi-Square (  2 ) Test of Variance.
Nonparametric Statistics
Nonparametric Inference
1 Chapter 15: Nonparametric Statistics Section 15.1 How Can We Compare Two Groups by Ranking?
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
Lesson Inferences about the Differences between Two Medians: Dependent Samples.
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.
© 2000 Prentice-Hall, Inc. Statistics Nonparametric Statistics Chapter 14.
© Copyright McGraw-Hill CHAPTER 13 Nonparametric Statistics.
Fall 2002Biostat Nonparametric Tests Nonparametric tests are useful when normality or the CLT can not be used. Nonparametric tests base inference.
Ordinally Scale Variables
Copyright © Cengage Learning. All rights reserved. 14 Elements of Nonparametric Statistics.
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.
Lesson 15 - R Chapter 15 Review. Objectives Summarize the chapter Define the vocabulary used Complete all objectives Successfully answer any of the review.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests and Nonparametric Tests Statistics for.
Ch11: Comparing 2 Samples 11.1: INTRO: This chapter deals with analyzing continuous measurements. Later, some experimental design ideas will be introduced.
Nonparametric Statistical Methods. Definition When the data is generated from process (model) that is known except for finite number of unknown parameters.
Kruskal-Wallis H TestThe Kruskal-Wallis H Test is a nonparametric procedure that can be used to compare more than two populations in a completely randomized.
Medical Statistics (full English class) Ji-Qian Fang School of Public Health Sun Yat-Sen University.
Friedman F r TestThe Friedman F r Test is the nonparametric equivalent of the randomized block design with k treatments and b blocks. All k measurements.
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.
1 Uses both direction (sign) and magnitude. Applies to the case of symmetric continuous distributions: Mean equals median. Wilcoxon Signed-Rank Test.
NON-PARAMETRIC STATISTICS
Business Statistics: A First Course (3rd Edition)
Biostatistics Nonparametric Statistics Class 8 March 14, 2000.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Nonparametric Statistical Methods. Definition When the data is generated from process (model) that is known except for finite number of unknown parameters.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Lesson Test to See if Samples Come From Same Population.
Nonparametric Statistics - Dependent Samples How do we test differences from matched pairs of measurement data? If the differences are normally distributed,
Two-Sample-Means-1 Two Independent Populations (Chapter 6) Develop a confidence interval for the difference in means between two independent normal populations.
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.
1 Underlying population distribution is continuous. No other assumptions. Data need not be quantitative, but may be categorical or rank data. Very quick.
Nonparametric Statistics
Statistics for Managers using Microsoft Excel 3rd Edition
Lesson Inferences about the Differences between Two Medians: Dependent Samples.
Model Diagnostics and Tests
Test to See if Samples Come From Same Population
Inferences Between Two Variables
Nonparametric Statistics
Presentation transcript:

EPI 809 / Spring 2008 Wilcoxon Signed Rank Test

EPI 809 / Spring 2008 Signed Rank Test Example You work in the finance department. Is the new financial package faster (.05 level)? You collect the following data entry times: UserCurrentNew Donna Santosha Sam Tamika Brian Jorge © T/Maker Co.

EPI 809 / Spring 2008 Wilcoxon Signed Rank Test 1.Tests Probability Distributions of 2 Related Populations 2.Corresponds to t-test for Dependent (Paired) Means 3.Assumptions Random samples; Both populations are continuous; paired samples. Random samples; Both populations are continuous; paired samples. Can Use Normal Approximation if #(non-zero differences)  16 if #(non-zero differences)  16

EPI 809 / Spring 2008 Signed Rank Test Procedure 1. Obtain Difference Scores, D i = X 1i - X 2i 2. Take Absolute Value |D i | and rank them (Do not count D i = 0) 3. Assign Ranks, R i, with Smallest = 1 4. Calculate range and mean rank for |D i | 5. Sum ‘+’ Ranks (T + ) & ‘-’ Ranks (T - ) 6. Statistic (T + ). mean = n(n+1)/4, var = n(n+1)(2n+1)/24 if no ties. var = n(n+1)(2n+1)/24 if no ties.

EPI 809 / Spring 2008 Signed Rank Test Procedure Table method for (n < 16). Use Table 11 that provides the critical values at significant level. Use Table 11 that provides the critical values at significant level. 2. If n ≥ 16, use normal approximation. Let T 0 = n(n+1)/4, If T + =T 0, then T = 0 Let T 0 = n(n+1)/4, If T + =T 0, then T = 0 Otherwise, if no ties, Otherwise, if no ties, If ties, t i =R i If ties, t i =R i of ties.

EPI 809 / Spring 2008 Signed Rank Test Procedure (continued) If T > Z 1- α/2 then reject H 0. Otherwise accept H 0. P – value: p = 2 [1 - Φ(T)]. Condition: number of nonzero differences > 15.

EPI 809 / Spring 2008 Signed Rank Test Example Skin care treatments A vs B 1. Each subject received two treatments A and B randomly applied to left and right arms. 2. Measure redness after sunlight exposure of 10 min. 3. Data: subject 1: X 1A, X 1B subject 2: X 2A, X 2B.….…

EPI 809 / Spring 2008 Signed Rank Test Computation Illustration |di|di (-)fi (-)di(+)fi(+) k (# subj) Range (Rank) Mean Rank

EPI 809 / Spring 2008 Testing with positive statistic T +  T + = 10* * *28 = 248  E(T + ) = 40*(40+1)/4 = 410  Var = 40*(40+1)*(80+1)/24 – [( ) + ( ) + (7 3 -7) +…+ (1 3 -1)]/48 =  T = {|248-10|-.5}/√ = 2.19  P = 2*[1- Φ(2.19)] =

EPI 809 / Spring 2008 Signed Rank Test Example You work in the finance department. Is the new financial package faster (.05 level)? You collect the following data entry times: UserCurrentNew Donna Santosha Sam Tamika Brian Jorge © T/Maker Co.

EPI 809 / Spring 2008 Signed Rank Test Computation Table

EPI 809 / Spring 2008 Signed Rank Test Solution  H 0 : Identical Distrib.  H a : Current Shifted Right   =.05 (one-sided)  n’ = 5 (not 6; 1 elim.)  Critical Value(s): Test Statistic: Decision:Conclusion: Reject Do Not Reject TuTuTuTu TLTLTLTL

EPI 809 / Spring 2008 Wilcoxon Signed Rank Table (Portion)

EPI 809 / Spring 2008 Signed Rank Test Solution  H 0 : Identical Distrib.  H a : Current Shifted Right   =.05 (one-sided)  n’ = 5 (not 6; 1 elim.)  Critical Value(s): Test Statistic: Decision:Conclusion: Do Not Reject 015

EPI 809 / Spring 2008 Signed Rank Test Solution  H 0 : Identical Distrib.  H a : Current Shifted Right   =.05 (one-sided)  n’ = 5 (not 6; 1 elim.)  Critical Value(s): Test Statistic: Decision:Conclusion: Do Not Reject 015 Since one-sided Test & Current Shifted Right, Use T +

EPI 809 / Spring 2008 Signed Rank Test Solution  H 0 : Identical Distrib.  H a : Current Shifted Right   =.05 (one-sided)  n’ = 5 (not 6; 1 elim.)  Critical Value(s): Test Statistic: Conclusion: Border line at  =.05 Do Not Reject 015 Since One-sided Test & Current Shifted Right, Use T + T + = 15

EPI 809 / Spring 2008 Kruskal-Wallis test  A k-sample non-parametric test on the means (k > 2).  Pool observations together N = ∑n i and assign ranks to individuals.  Compute the rank sum R i for each sample.  Test statistic Chi-squares with df = (k-1) one tail prob. Compare with χ 2 k-1, 1-α  Should only be used if smallest n i ≥ 5.

EPI 809 / Spring 2008 Kruskal-Wallis test statistic  If no ties.  If ties. Denote t i, g as before.

EPI 809 / Spring 2008 Conclusion  1. Distinguished Parametric & Nonparametric Test Procedures  2. Explained a Variety of Nonparametric Test Procedures  3. Solved Hypothesis Testing Problems Using Nonparametric Tests

EPI 809 / Spring 2008 Summary NonparametricParametric Sign Rank testOne sample t-test Wilcoxon Rank – Sum test (Mann-Whitney U test) Two sample t-test Wilcoxon Signed-Rank testTwo paired sample t-test Kruskal-Wallis testMultiple sample test.