Wilcoxon Signed Rank Testing for a difference R+ RR

Slides:



Advertisements
Similar presentations
Mann-Whitney U-test Testing for a difference U 1 = n 1 n 2 + ½ n 1 (n 1 + 1) – R 1.
Advertisements

T-test - unpaired Testing for a difference. What does it do? Tests for a difference in means Compares two cases (eg areas of lichen found in two locations)
Statistical Techniques I
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
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.
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.
Inferences about two proportions Assumptions 1.We have proportions from two simple random samples that are independent (not paired) 2.For both samples,
Mann-Whitney and Wilcoxon Tests.
Statistical Analysis. Purpose of Statistical Analysis Determines whether the results found in an experiment are meaningful. Answers the question: –Does.
Nonparametrics and goodness of fit Petter Mostad
Chapter 15 Nonparametric Statistics
Non-parametric tests Note: When valid use parametric Note: When valid use parametric Commonly used Commonly usedWilcoxon Chi square etc. Performance comparable.
(a brief over view) Inferential Statistics.
Statistical Analysis Statistical Analysis
Aim: How do we test a comparison group? Exam Tomorrow.
Chi-squared Testing for a difference. What does it do? Compares numbers of people/plants/species… in different categories (eg different pollution levels,
Chi-squared Goodness of fit. What does it do? Tests whether data you’ve collected are in line with national or regional statistics.  Are there similar.
Inference about Two Population Standard Deviations.
Section 9.5 Testing the Difference Between Two Variances Bluman, Chapter 91.
14 Elements of Nonparametric Statistics
NONPARAMETRIC STATISTICS
Hypothesis Testing: One Sample Cases. Outline: – The logic of hypothesis testing – The Five-Step Model – Hypothesis testing for single sample means (z.
Inferential Statistics 2 Maarten Buis January 11, 2006.
Lesson Inferences about the Differences between Two Medians: Dependent Samples.
Previous Lecture: Categorical Data Methods. Nonparametric Methods This Lecture Judy Zhong Ph.D.
Correlation – Pearson’s. What does it do? Measures straight-line correlation – how close plotted points are to a straight line Takes values between –1.
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.
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.
T-test - paired Testing for a difference. What does it do? Tests for a difference in means Compares two cases (eg soil moisture content north & south.
GG 313 Lecture 9 Nonparametric Tests 9/22/05. If we cannot assume that our data are at least approximately normally distributed - because there are a.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
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
Statistical Techniques
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Nonparametric Statistics.
Correlation. u Definition u Formula Positive Correlation r =
Major Steps. 1.State the hypotheses.  Be sure to state both the null hypothesis and the alternative hypothesis, and identify which is the claim. H0H0.
Understanding Statistics © Curriculum Press 2003     H0H0 H1H1.
Chi-squared Association Index. What does it do? Looks for “links” between two factors  Do dandelions and plantains tend to grow together?  Does the.
Correlation – Spearman’s. What does it do? Measures rank correlation – whether highest value in the 1 st data set corresponds to highest in the 2 nd set.
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.
Practice You recently finished giving 5 Villanova students the MMPI paranoia measure. Determine if Villanova students’ paranoia score is significantly.
1 Underlying population distribution is continuous. No other assumptions. Data need not be quantitative, but may be categorical or rank data. Very quick.
Testing for a difference
NONPARAMETRIC STATISTICS
Testing for a difference
Testing for a difference
Hypothesis Testing: Hypotheses
Lesson Inferences about the Differences between Two Medians: Dependent Samples.
Chapter 9 Hypothesis Testing.
Inferences on Two Samples Summary
Lecture Slides Elementary Statistics Twelfth Edition
Hypothesis Tests for Proportions
The Rank-Sum Test Section 15.2.
Doing t-tests by hand.
Nonparametric Statistics
Tests of inference about 2 population means
Section 11.1: Significance Tests: Basics
Presentation transcript:

Wilcoxon Signed Rank Testing for a difference R+ RR

What does it do? Tests for a difference in averages (medians – the middle value – to be exact) Compares two cases (eg soil moisture content north & south of a hedge) Data must occur in natural pairs  Measurements at matched points on either side of a hedge  Measurements at corresponding points on two shores

Planning to use it? Your data occur in natural pairs You want to test for difference You have just two cases to compare You have five or more pairs of values If your data are likely to be normally distributed, it may be easier to get a significant result using the t-test Make sure that…

How does it work? You assume (null hypothesis) there is no difference between the two cases The test involves finding the differences between the pairs of data, and ranking the differences. If, for example, the values in the first sample were all much bigger, then all the differences would be positive

Doing the test These are the stages in doing the test: 1.Write down your hypotheseshypotheses 2.Finding the differencesdifferences 3.Doing the rankingranking 4.Look at the tablestables 5.Make a decisiondecision Click here Click here for an example

Hypotheses H 0: There is no difference between population 1 and population 2 For H 1, you have a choice, depending on what alternative you were looking for. H 1: Population 1 is larger than population 2 eg: Soil moisture content is higher on the north of the hedge than the south of the hedge orH 1: Population 1 is different to population 2 eg: Soil moisture content is different on the north and south sides of the hedge. Unless you have a good scientific reason for expecting one to be larger, you should choose “different” for H 1

Differences Work out the differences between the pairs of values, including signs Always do sample 1 – sample 2 not the other way round, where sample 1 is the one you expect to have larger values

Ranking We rank the differences, ignoring their signs. Rank from 1 for largest difference and ignore any zero differences Then work out  R+ = sum of ranks of positive differences  R- = sum of ranks of negative differences Eg: To rank the data –4, 3, 5, -6, -1, we’d put them in descending numerical order, ignoring signs: Ranks:12345 SoR+ = = 6R  = = 9

Tables This is a Wilcoxon table Sample size. Significance levels - note different values for 1 and 2-tailed

Make a decision If you used: H 1 : Population 1 is larger than population 2:  You are doing a 1-tailed test (1 alternative only considered)  Use W = R   If your W value is smaller than the tables value, you reject your null hypothesis If you used H 1 : Population 1 is different to population 2:  You are doing a 2-tailed test (both alternatives considered)  Choose W = the smaller of R+ and R-  If your W value is smaller than the tables value, you reject your null hypothesis

Soil Moisture North & South of Hedge Data were obtained for soil moisture content at seven matched points north and south of a hedge. Hypotheses: H 0: There is no difference in the soil moisture content on the north & south of the hedge H 1 The soil moisture is higher north of the hedge

The data Site North South

Differences We are expecting the North side to have a higher moisture content. So we do North - South N S N – S

Ranking We now rank the data ignoring signs (Rank 1 for largest difference – ignore 0 differences) N – S Rank Now we find R+ and R  R+ = = 20 R- = = 8

The test We are doing a 1-tailed test, so W = R- = 8 Critical value (5%) = 4 Since our W-value is larger than the tables value, we must accept H 0 – the moisture content is not significantly higher north of the hedge.