TMA4255 Applied Statistics V2016 (23)

Similar documents
Non-parametric methods

Nonparametric Tests. Mathematics 47: Lecture 25. Dan Sloughter. Furman University. April 20, 2006

PSY 307 Statistics for the Behavioral Sciences. Chapter 20 Tests for Ranked Data, Choosing Statistical Tests

Non-parametric Hypothesis Testing

3. Nonparametric methods

Dr. Maddah ENMG 617 EM Statistics 10/12/12. Nonparametric Statistics (Chapter 16, Hines)

Distribution-Free Procedures (Devore Chapter Fifteen)

Chapter 15: Nonparametric Statistics Section 15.1: An Overview of Nonparametric Statistics

Module 9: Nonparametric Statistics Statistics (OA3102)

CHI SQUARE ANALYSIS 8/18/2011 HYPOTHESIS TESTS SO FAR PARAMETRIC VS. NON-PARAMETRIC

Fish SR P Diff Sgn rank Fish SR P Diff Sng rank

Nonparametric tests. Mark Muldoon School of Mathematics, University of Manchester. Mark Muldoon, November 8, 2005 Nonparametric tests - p.

Nonparametric tests. Timothy Hanson. Department of Statistics, University of South Carolina. Stat 704: Data Analysis I

STAT 135 Lab 8 Hypothesis Testing Review, Mann-Whitney Test by Normal Approximation, and Wilcoxon Signed Rank Test.

ANOVA - analysis of variance - used to compare the means of several populations.

Introduction and Descriptive Statistics p. 1 Introduction to Statistics p. 3 Statistics, Science, and Observations p. 5 Populations and Samples p.

CHAPTER 17 CHI-SQUARE AND OTHER NONPARAMETRIC TESTS FROM: PAGANO, R. R. (2007)

Nonparametric Statistics

Business Statistics MEDIAN: NON- PARAMETRIC TESTS

Data are sometimes not compatible with the assumptions of parametric statistical tests (i.e. t-test, regression, ANOVA)

Tentative solutions TMA4255 Applied Statistics 16 May, 2015

Non-parametric tests, part A:

SEVERAL μs AND MEDIANS: MORE ISSUES. Business Statistics

Transition Passage to Descriptive Statistics 28

Chapter 18 Resampling and Nonparametric Approaches To Data

Statistics: revision

Chapter 7 Comparison of two independent samples

Non-parametric (Distribution-free) approaches p188 CN

Nonparametric statistic methods. Waraphon Phimpraphai DVM, PhD Department of Veterinary Public Health

THE ROYAL STATISTICAL SOCIETY HIGHER CERTIFICATE

Lecture 26. December 19, Department of Biostatistics Johns Hopkins Bloomberg School of Public Health Johns Hopkins University.

Inferential Statistics

Inferences About the Difference Between Two Means

STATISTIKA INDUSTRI 2 TIN 4004

Wilcoxon Test and Calculating Sample Sizes

Analysis of 2x2 Cross-Over Designs using T-Tests

Introduction to Statistical Data Analysis III

GROUPED DATA E.G. FOR SAMPLE OF RAW DATA (E.G. 4, 12, 7, 5, MEAN G x / n STANDARD DEVIATION MEDIAN AND QUARTILES STANDARD DEVIATION

Introduction to Nonparametric Statistics

Lecture Slides. Elementary Statistics. by Mario F. Triola. and the Triola Statistics Series

Lecture Slides. Section 13-1 Overview. Elementary Statistics Tenth Edition. Chapter 13 Nonparametric Statistics. by Mario F.

STAT Section 5.8: Block Designs

Lecture 7: Hypothesis Testing and ANOVA

Basics on t-tests Independent Sample t-tests Single-Sample t-tests Summary of t-tests Multiple Tests, Effect Size Proportions. Statistiek I.

Unit 14: Nonparametric Statistical Methods

Chapter 9 Inferences from Two Samples

Nonparametric hypothesis tests and permutation tests

Hypothesis Testing. Hypothesis: conjecture, proposition or statement based on published literature, data, or a theory that may or may not be true

Glossary. The ISI glossary of statistical terms provides definitions in a number of different languages:

Comparison of Two Population Means

Data analysis and Geostatistics - lecture VII

This is particularly true if you see long tails in your data. What are you testing? That the two distributions are the same!

Exam details. Final Review Session. Things to Review

The independent-means t-test:

Contents Kruskal-Wallis Test Friedman s Two-way Analysis of Variance by Ranks... 47

What is a Hypothesis?

BIO 682 Nonparametric Statistics Spring 2010

Session 3 The proportional odds model and the Mann-Whitney test

Non-parametric Inference and Resampling

Nonparametric Statistics. Leah Wright, Tyler Ross, Taylor Brown

Non-Parametric Statistics: When Normal Isn t Good Enough"

Statistics for Managers Using Microsoft Excel Chapter 9 Two Sample Tests With Numerical Data

Nonparametric Location Tests: k-sample

Introduction to Statistical Analysis

Y i = η + ɛ i, i = 1,...,n.

Solutions exercises of Chapter 7

Non-parametric Statistics

= 1 i. normal approximation to χ 2 df > df

Parametric versus Nonparametric Statistics-when to use them and which is more powerful? Dr Mahmoud Alhussami

Textbook Examples of. SPSS Procedure

1 ONE SAMPLE TEST FOR MEDIAN: THE SIGN TEST

z and t tests for the mean of a normal distribution Confidence intervals for the mean Binomial tests

9-6. Testing the difference between proportions /20

Non-parametric Tests

psychological statistics

Chapter Fifteen. Frequency Distribution, Cross-Tabulation, and Hypothesis Testing

Violating the normal distribution assumption. So what do you do if the data are not normal and you still need to perform a test?

6 Single Sample Methods for a Location Parameter

4/6/16. Non-parametric Test. Overview. Stephen Opiyo. Distinguish Parametric and Nonparametric Test Procedures

Version 1: Equality of Distributions. 3. F (x) and G(x) represent the distribution functions corresponding to the Xs and Y s, respectively.

Resampling Methods. Lukas Meier

Glossary for the Triola Statistics Series

Recall that in order to prove Theorem 8.8, we argued that under certain regularity conditions, the following facts are true under H 0 : 1 n

Examination paper for TMA4255 Applied statistics

Do not copy, post, or distribute. Independent-Samples t Test and Mann- C h a p t e r 13

Non-Parametric Two-Sample Analysis: The Mann-Whitney U Test

Analysis of variance (ANOVA) Comparing the means of more than two groups

DETAILED CONTENTS PART I INTRODUCTION AND DESCRIPTIVE STATISTICS. 1. Introduction to Statistics

Sampling distribution of t. 2. Sampling distribution of t. 3. Example: Gas mileage investigation. II. Inferential Statistics (8) t =

Basic Business Statistics, 10/e

S D / n t n 1 The paediatrician observes 3 =

STAT Section 3.4: The Sign Test. The sign test, as we will typically use it, is a method for analyzing paired data.

STATISTICS 4, S4 (4769) A2

16. Nonparametric Methods. Analysis of ordinal data

Introduction to Statistics

Formulas and Tables by Mario F. Triola

Two-Sample Inferential Statistics

Chapter 8 Class Notes Comparison of Paired Samples

Questions 3.83, 6.11, 6.12, 6.17, 6.25, 6.29, 6.33, 6.35, 6.50, 6.51, 6.53, 6.55, 6.59, 6.60, 6.65, 6.69, 6.70, 6.77, 6.79, 6.89, 6.

Nominal Data. Parametric Statistics. Nonparametric Statistics. Parametric vs Nonparametric Tests. Greg C Elvers

Transcription:

TMA4255 Applied Statistics V2016 (23) Part 7: Nonparametric tests Signed-Rank test [16.2] Wilcoxon Rank-sum test [16.3] Anna Marie Holand April 19, 2016, wiki.math.ntnu.no/tma4255/2016v/start

2 Outline of part 7 Approximation of E and Var First order Taylor approximation [p 133-135] Nonparametric tests: One sample or two paired samples: The sign test [16.1], for continuous distributions. The (Wilcoxon) signed-rank test [16.2], for continuous symmetric distributions. Two independent samples: The Wilcoxon rank-sum test (Mann-Whitney) [16.3], for two continuous distributions of the same shape.

3 Shoshoni and golden ratio conjugate Data set of ratio of height/length for n = 8 rectangles found on leather items at Shoshoni indians: 0.693 0.662 0.690 0.606 0.570 0.749 0.672 0.628 The golden ratio, 1+ 5 2 = 1.618, is the longer segment divided by the shorter, while the reverse is called the golden ratio conjugate, 0.618. Do the ratioes from the shoshoni rectangles correspond with the golden ratio (conjugate)? H 0 : median of rectangles ratios=0.618 vs. H 1 : not so. Sign test gave a p-value of 0.29. But, the sign test only used the sign of each observation as compared to the hypothesized mean. Can we do better?

4 The Sign Test [16.1] Use with one sample or two paired samples. Test for the median, or the mean in a symmetric distribution. Binomial test based on the number of positive (or negative) differences between observations and the hypothesized median. Binomial (n, p = 0.5). Normal approximation to the binomial used for n large. General rule of thumb np 5 and n(1 p) 5, here p = 0.5, so n 10. Values equal to the hypothesized median are deleted from the data set. Only the sign of the data (wrt the hypthesized median), and not the magnitude (actual value) of the data are used.

5 The Signed-Rank Test Source: Statistics review 6: Nonparametric methods Elise Whitley and Jonathan Ball.

6 Shoshoni and golden ratio conjugate y i y i 0.618 y i 0.618 rank 0.628 0.010 0.010 1 0.606-0.012 0.012 2 0.662 0.044 0.044 3 0.570-0.048 0.048 4 0.672 0.054 0.054 5 0.690 0.072 0.072 6 0.693 0.075 0.075 7 0.749 0.131 0.131 8

7 The Signed-Rank Test: Critical values

9 Critical values: W +, W and W = min(w +, W ) We have one sample of n Y i s (or the difference between paired samples). The null hypothesis tested is H 0 : µ = µ 0. We form differences Y i µ 0, and rank them. W + is the sum of the ranks of the positive differences. W + is the sum of the ranks of the negative differences. Which W (W +, W or W ) to be used to compare to the critical values in Table A16 is deciede by the alternativ hypothesis: H 1 : µ < µ 0 : Reject H 0 when W + critical value (one-sided) H 1 : µ > µ 0 : Reject H 0 when W critical value (one-sided) H 1 : µ µ 0 : Reject H 0 when W critical value (two-sided)

10 The Signed-Rank Test: questions Q: What about zeros? Remove, as for the sign test. Q: What about ties? If two observations have the same absolute value, and these two values should have been assigned rank 3 and 4 (say), then both observations are assigned rank 3.5. Q: What if n is large (n 15)? Instead of the tables use the normal approximation to calculate critical values and tail probabilites. Z = W E(W ) Var(W ) where E(W ) = n(n + 1)/4 and Var(W ) = n(n + 1)(2n + 1)/24.

11 Tar example

12 The Rank-Sum Test Source: Statistics review 6: Nonparametric methods Elise Whitley and Jonathan Ball.

13 The Rank-Sum Test:Critical values

14 The Rank-Sum Test: tail probabilities

15 Critical values and U 1, U 2 and U = min(u 1, U 2 ) Sample 1: has the n 1 observations, rank sum W 1 and adjusted rank sum U 1 = W 1 n 1(n 1 +1) 2. Sample 2: has the n 2 observations, rank sum W 2 and adjusted rank sum U 2 = W 2 n 2(n 2 +1) 2. Here n 1 n 2. The null hypothesis about the medians µ is H 0 : µ 1 = µ 2. Which U (U 1, U 2 or U) to be used to compare to the critical values in Table A17 is deciede by the alternativ hypothesis: H 1 : µ 1 < µ 2 : Reject H 0 when U 1 critical value (one-sided) H 1 : µ 1 > µ 2 : Reject H 0 when U 2 critical value (one-sided) H 1 : µ 1 µ 2 : Reject H 0 when U critical value (two-sided)

16 Efficiency of the Wilcoxon Rank-Sum test When data are normal with equal variances, the rank-sum test is 95% as efficient as the pooled t-test for large samples. 95% efficient= the t-test needs 95% of the sample size of the rank-sum test to acihive the same power. The rank-sum test will always be at least 86% as efficient as the pooled t-test, and may be more efficient if the underlying distributions are very non-normal, escpecially with heavy tails. Power calculations for the rank-sum tests is in general difficult, since we need to specify the shapes of the two distributions. Taken from Devore.

17 Balance Is it harder to maintain your balance while you are concentrating? Nine elderly and eight young people stood barefoot on a "force platform" and was asked to maintain a stable upright position and to react as quickly as possible to an unpredictable noise by pressing a hand held button. The noise came randomly and the subject concentrated on reacting as quickly as possible. The platform automatically measured how much each subject swayed in millimeters in both the forward/backward and the side-to-side directions. http://lib.stat.cmu.edu/dasl/stories/maintainingbalance.html Sway Group 1.5 14 young 1.5 14 young 3 15 young 4.5 17 young 4.5 17 young 6.5 19 elderly 6.5 19 elderly 8 20 elderly 9.5 21 elderly 9.5 21 young 11 22 young 12 24 elderly 13.5 25 elderly 13.5 25 young 15 29 elderly 16 30 elderly 17 50 elderly

18 Advantages of nonparametric tests Nonparametric methods require no or very limited assumptions to be made about the format of the data, and they may therefore be preferable when the assumptions required for parametric methods are not valid. Nonparametric methods can be useful for dealing with unexpected, outlying observations that might be problematic with a parametric approach. Nonparametric methods are intuitive and are simple to carry out by hand, for small samples at least. Nonparametric methods are often useful in the analysis of ordered categorical data in which assignation of scores to individual categories may be inappropriate. Source: Statistics review 6: Nonparametric methods Elise Whitley and Jonathan Ball.

19 Disadvantages of nonparametric tests Nonparametric methods may lack power as compared with more traditional approaches. This is a particular concern if the sample size is small or if the assumptions for the corresponding parametric method (e.g. Normality of the data) hold. Nonparametric methods are geared toward hypothesis testing rather than estimation of effects. It is often possible to obtain nonparametric estimates and associated confidence intervals, but this is not generally straightforward. Tied values can be problematic when these are common, and nonparametric methods adjustments to the test statistic may be necessary. Source: Statistics review 6: Nonparametric methods Elise Whitley and Jonathan Ball.