Spearman’s Rank Correlation

Slides:



Advertisements
Similar presentations
Exam II Marks. Chapter 20.1 Correlation Correlation is used when we wish to know whether two randomly distributed variables are associated with each.
Advertisements

ANOVA and Linear Models. Data Data is from the University of York project on variation in British liquids. Data is from the University of York project.
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Data Analysis: Bivariate Correlation and Regression CHAPTER sixteen.
Learning Objectives 1 Copyright © 2002 South-Western/Thomson Learning Data Analysis: Bivariate Correlation and Regression CHAPTER sixteen.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Nonparametric Methods Chapter 15.
Ordinal Data. Ordinal Tests Non-parametric tests Non-parametric tests No assumptions about the shape of the distribution No assumptions about the shape.
Correlation Mechanics. Covariance The variance shared by two variables When X and Y move in the same direction (i.e. their deviations from the mean are.
Lesson Inferences Between Two Variables. Objectives Perform Spearman’s rank-correlation test.
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
© 2003 Pearson Prentice Hall Statistics for Business and Economics Nonparametric Statistics Chapter 14.
PSY 307 – Statistics for the Behavioral Sciences
Simple Linear Regression Analysis
EDUC 200C Section 4 – Review Melissa Kemmerle October 19, 2012.
Pearson Correlation Example A researcher wants to determine if there is a relationship between the annual number of lost workdays for each plant and the.
Chapter 21 Correlation. Correlation A measure of the strength of a linear relationship Although there are at least 6 methods for measuring correlation,
© 2011 Pearson Education, Inc
Equations in Simple Regression Analysis. The Variance.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Correlation.
Correlation and Regression
Chapter 15 Correlation and Regression
Learning Objective Chapter 14 Correlation and Regression Analysis CHAPTER fourteen Correlation and Regression Analysis Copyright © 2000 by John Wiley &
14 Elements of Nonparametric Statistics
Statistics 11 Correlations Definitions: A correlation is measure of association between two quantitative variables with respect to a single individual.
Chapter 11 Nonparametric Tests.
Hypothesis of Association: Correlation
Production Planning and Control. A correlation is a relationship between two variables. The data can be represented by the ordered pairs (x, y) where.
© 2000 Prentice-Hall, Inc. Statistics Nonparametric Statistics Chapter 14.
Introduction to Behavioral Statistics Correlation & Regression.
Relationship between two variables Two quantitative variables: correlation and regression methods Two qualitative variables: contingency table methods.
Correlation & Regression Chapter 15. Correlation It is a statistical technique that is used to measure and describe a relationship between two variables.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
A Significance Test for r An estimator r    = 0 ? t-test.
Testing Your Hypothesis In your previous assignments you were supposed to develop two hypotheses that examine a relationship between two variables. For.
Chapter Thirteen Copyright © 2006 John Wiley & Sons, Inc. Bivariate Correlation and Regression.
Simple linear regression Tron Anders Moger
T Test for Two Related Samples (Repeated Measures)
T Test for Two Independent Samples. t test for two independent samples Basic Assumptions Independent samples are not paired with other observations Null.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics Seventh Edition By Brase and Brase Prepared by: Lynn Smith.
Chapter 21prepared by Elizabeth Bauer, Ph.D. 1 Ranking Data –Sometimes your data is ordinal level –We can put people in order and assign them ranks Common.
Nonparametric Tests with Ordinal Data Chapter 18.
Chapter Eleven Performing the One-Sample t-Test and Testing Correlation.
Today’s lesson (Chapter 12) Paired experimental designs Paired t-test Confidence interval for E(W-Y)
Video Conference 1 AS 2013/2012 Chapters 10 – Correlation and Regression 15 December am – 11 am Puan Hasmawati Binti Hassan
Pearson’s Correlation The Pearson correlation coefficient is the most widely used for summarizing the relation ship between two variables that have a straight.
T-test calculations.
Regression and Correlation
Spearman’s Rho Correlation
Correlation I have two variables, practically „equal“ (traditionally marked as X and Y) – I ask, if they are independent and if they are „correlated“,
Chapter 10 CORRELATION.
Correlation – Regression
Correlation and regression
CHAPTER fourteen Correlation and Regression Analysis
Quantitative Methods PSY302 Quiz Chapter 9 Statistical Significance
BUS 308 HELPS Perfect Education/ bus308helps.com.
Introduction to Behavioral Statistics
Ch. 11: Quantifying and Interpreting Relationships Among Variables
Correlation and Regression
Spearman Rank Order Correlation Example
Correlation and Regression
Correlation and Regression
Inferences Between Two Variables
Confidence Interval.
Nonparametric Statistics
RES 500 Academic Writing and Research Skills
Spearman’s Rank For relationship data.
Correlation & Regression
COMPARING VARIABLES OF ORDINAL OR DICHOTOMOUS SCALES: SPEARMAN RANK- ORDER, POINT-BISERIAL, AND BISERIAL CORRELATIONS.
Statistical Inference for the Mean: t-test
Presentation transcript:

Spearman’s Rank Correlation :1, 1, 3

Spearman’s Rank Correlation Coefficient Measures correlation between ranks Corresponds to Pearson product moment correlation coefficient Values range from –1 to +1 Formula (shortcut) di = ui – vi (difference in ranks of ith observation for samples 1 and 2) n = number of pairs of observations

Spearman’s Rank Correlation Procedure Assign ranks, Ri , to the observations of each variable separately Calculate differences, di , between each pair of ranks Square differences, di2, between ranks Sum squared differences for each variable Use shortcut approximation formula

Spearman’s Rank Correlation Example You’re a research assistant for the FBI. You’re investigating the relationship between a person’s attempts at deception and percent changes in their pupil size. You ask subjects a series of questions, some of which they must answer dishonestly. At the .05 level of significance, what is the correlation coefficient? Subj. Deception Pupil size 1 87 10 2 63 6 3 95 11 4 50 7 5 43 0 112

Spearman’s Rank Correlation Table 2 Subj. Decep. R1i Pupil R2i di di 1 87 10 2 63 6 3 95 11 4 50 7 5 43 4 4 1 -1 1 2 3 2 5 5 2 3 1 1 Σdi2=

Spearman’s Rank Correlation Solution

Correlation using Rstudio Hours, x 1 2 3 5 6 7 10 Test score, y 96 85 82 74 95 68 76 84 58 65 75 50 x<- c(0, 1, 2, 3, 3, 5, 5, 5, 6, 7, 7, 10) y<- c(96, 85, 82, 74, 95, 68, 76, 84, 58, 65, 75, 50) cor(x,y) [1] -0.8312962 cor.test(x,y) data: x and y t = -4.7295, df = 10, p-value = 0.0008048 alternative hypothesis: true correlation is not equal to 0 95 percent confidence interval: -0.9513335 -0.4922277 sample estimates: cor -0.8312962

Plot X and Y using Rstudio Hours, x 1 2 3 5 6 7 10 Test score, y 96 85 82 74 95 68 76 84 58 65 75 50 x<- c(0, 1, 2, 3, 3, 5, 5, 5, 6, 7, 7, 10) y<- c(96, 85, 82, 74, 95, 68, 76, 84, 58, 65, 75, 50) cor(x,y) [1] -0.8312962 cor.test(x,y) data: x and y t = -4.7295, df = 10, p-value = 0.0008048 alternative hypothesis: true correlation is not equal to 0 95 percent confidence interval: -0.9513335 -0.4922277 sample estimates: cor -0.8312962

cor(x, y = NULL, use = "everything", method = c("pearson", "kendall", "spearman")) Dec<-c(87,63,95,50,43) Pup<-c(10,6,11,7,0) Data<-data.frame(cbind(Dec, Pup)) cor(Dec, Pup, method="spearman")