What about ties?? There are two methods mentioned on p.155ff:

Slides:



Advertisements
Similar presentations
Contingency Tables Chapters Seven, Sixteen, and Eighteen Chapter Seven –Definition of Contingency Tables –Basic Statistics –SPSS program (Crosstabulation)
Advertisements

BIOL 4605/7220 GPT Lectures Cailin Xu November 9, 2011 CH 20.1 Correlation.
2013/12/10.  The Kendall’s tau correlation is another non- parametric correlation coefficient  Let x 1, …, x n be a sample for random variable x and.
Computing the ranks of data is only one of several possible so- called scoring methods that are in use... Section 2.7 reviews three of them – we’ll look.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Nonparametric Methods Chapter 15.
statistics NONPARAMETRIC TEST
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
CHAPTER 22 Reliability of Ordination Results From: McCune, B. & J. B. Grace Analysis of Ecological Communities. MjM Software Design, Gleneden Beach,
The Simple Regression Model
Chapter 9 For Explaining Psychological Statistics, 4th ed. by B. Cohen 1 What is a Perfect Positive Linear Correlation? –It occurs when everyone has the.
Nonparametrics and goodness of fit Petter Mostad
Chapter 15 Nonparametric Statistics
Nonparametric or Distribution-free Tests
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Equations in Simple Regression Analysis. The Variance.
Means Tests Hypothesis Testing Assumptions Testing (Normality)
Comparing Two Samples Harry R. Erwin, PhD
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
CORRELATION & REGRESSION
Correlation.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
14 Elements of Nonparametric Statistics
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 6 Sampling and Sampling.
1 Measuring Association The contents in this chapter are from Chapter 19 of the textbook. The crimjust.sav data will be used. cjsrate: RATE JOB DONE: CJ.
Copyright © 2012 Pearson Education. Chapter 23 Nonparametric Methods.
Experimental Research Methods in Language Learning Chapter 11 Correlational Analysis.
Hypothesis of Association: Correlation
© 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.
Relationship between two variables Two quantitative variables: correlation and regression methods Two qualitative variables: contingency table methods.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Nonparametric Statistics
Ch8.2 Ch8.2 Population Mean Test Case I: A Normal Population With Known Null hypothesis: Test statistic value: Alternative Hypothesis Rejection Region.
Computing the ranks of data is only one of several possible so-called scoring methods that are in use... Section 2.7 reviews three of them – we’ll look.
Principles of Biostatistics Chapter 17 Correlation 宇传华 网上免费统计资源(八)
Applied Regression Analysis BUSI 6220
Inference about the slope parameter and correlation
Correlation.
Regression and Correlation
Spearman’s Rho Correlation
Chapter 14 Inference on the Least-Squares Regression Model and Multiple Regression.
Correlation I have two variables, practically „equal“ (traditionally marked as X and Y) – I ask, if they are independent and if they are „correlated“,
Statistics in SPSS Lecture 10
S519: Evaluation of Information Systems
Chapter 11: Simple Linear Regression
Lecture Slides Elementary Statistics Twelfth Edition
Elementary Statistics
Spearman’s Rank Correlation Test
Lecture 17 Rank Correlation Coefficient
Assume as previously that we have k samples on as many treatments
Chapter 9 Hypothesis Testing.
Lecture 13 The Quantile Test
Lecture 15 Wilcoxon Tests
Signed-rank statistic
Lecture Slides Elementary Statistics Twelfth Edition
Logistic Regression --> used to describe the relationship between
Lecture 5, Goodness of Fit Test
Lecture 14 The Sign Test and the Rank Test
Non – Parametric Test Dr. Anshul Singh Thapa.
M248: Analyzing data Block D UNIT D3 Related variables.
NONPARAMETRIC METHODS
Inferences Between Two Variables
Regression & Correlation (1)
Nonparametric Statistics
Distribution-Free Procedures
pairing data values (before-after, method1 vs
See Table and let’s do it in R…
Wilcoxon Rank-Sum Test
Presentation transcript:

What about ties?? There are two methods mentioned on p.155ff: Spearman’s correlation coefficient , rs, can be computed as Pearson’s r on the ranks; i.e., rank the X’s (among the X’s) and the Y’s (among the Y’s) and then compute the correlation of the ranks… See Table 5.2.1 and let’s do it in R (use cor with method=“s” or “p” on the ranks...) We may test the null hypothesis of no association between X and Y by doing a permutation test on the ranks – all possible assignments of the ranks of the Y’s to the ranks of the X’s – if our correspondence yields an unusually high (or low) value of rs, then we should reject the hypothesis of no association between X and Y. We may also test the above hypothesis with the same normal approximation used for Pearson’s r: Z= rs(sqrt(n-1)); i.e. rs is approx. N(0,1/(sqrt(n-1)) What about ties?? There are two methods mentioned on p.155ff: compute adjusted ranks (midranks) and apply the same formulas we’ve just mentioned use the tie-adjusted formulae given on page 156 (see the next slide...) the author (and I too!) recommend the former.

The following formula for Spearman’s rank correlation (without ties) appears in the literature and we’ll mention it here. It is the one that can be modified for ties – see page 156 where it is defined... Verify that it gives the same results – see problem #13 on page 192-193 for an outline of the theoretical proof of the equivalence of this formula to the definition of rs .

Another measure of association is Kendall’s Tau, t, which looks at the distribution of concordant and discordant pairs of the (X,Y)s: (Xi,Yi) and (Xj,Yj) are concordant if Xi < Xj implies Yi < Yj and discordant if Xi < Xj implies Yi > Yj (or equivalently, concordant if (Xi – Xj)( Yi - Yj ) > 0; discordant if (Xi – Xj)( Yi - Yj ) < 0). X and Y are positively associated if pairs are more likely to be concordant than discordant and negatively associated if pairs are more likely to be discordant than concordant. Note that tau is just rescaled to be between -1 and +1; if there is no association, then the probability of a concordant pair is the same as the probability of a discordant pair, .5, so t = 0. We estimate tau by counting the fraction of concordant pairs in the data, doubling it and subtracting 1

Here, Ranks may also be used to compute tau, since pairs of ranks are concordant or discordant according to whether the original pairs are concordant or discordant. R computes Kendall’s tau in cor.test and SAS computes it in PROC CORR; Exact p-values for testing the hypothesis of no association between X and Y may be obtained by a permutation test; approximate p-values may be obtained from the large sample properties of Kendall’s tau statistic: HW: Read Chapter 5 through page 163 – we will complete this topic (association between two continuous variables) on Thursday – have your questions ready by then. Do problems #3-5 on page 189-190 … we’ll discuss them next class...