Spearman’s Rank For relationship data. Non-parametric i.e. no assumptions are made about data fitting a normal distribution You must have more than 5.

Slides:



Advertisements
Similar presentations
A Brief Introduction to Spatial Regression
Advertisements

Equations to find missing angles
System of linear Equation
Lecture 9 Regression Analysis.
Research Methods in Politics Chapter 14 1 Research Methods in Politics 14 Understanding Inferential Statistics.
Name: Date: Read temperatures on a thermometer Independent / Some adult support / A lot of adult support
Which Test? Which Test? Explorin g Data Explorin g Data Planning a Study Planning a Study Anticipat.
Section 10.2: Tests of Significance
Ozone Level ppb (parts per billion)
Demonstration Problem
Multiplication X 1 1 x 1 = 1 2 x 1 = 2 3 x 1 = 3 4 x 1 = 4 5 x 1 = 5 6 x 1 = 6 7 x 1 = 7 8 x 1 = 8 9 x 1 = 9 10 x 1 = x 1 = x 1 = 12 X 2 1.
Division ÷ 1 1 ÷ 1 = 1 2 ÷ 1 = 2 3 ÷ 1 = 3 4 ÷ 1 = 4 5 ÷ 1 = 5 6 ÷ 1 = 6 7 ÷ 1 = 7 8 ÷ 1 = 8 9 ÷ 1 = 9 10 ÷ 1 = ÷ 1 = ÷ 1 = 12 ÷ 2 2 ÷ 2 =
A4.e How Do I Graph The Solution Set of A Linear Inequality in Two Variables? Course 3 Warm Up Problem of the Day Lesson Presentation.
1 1  1 =.
1  1 =.
Overview of Lecture Parametric vs Non-Parametric Statistical Tests.
Lecture 2 ANALYSIS OF VARIANCE: AN INTRODUCTION
Multi Beamlett Extraction Experiments and Sector Magnet Field Investigation.
Quantitative Methods Lecture 3
Correlation & the Coefficient of Determination
£1 Million £500,000 £250,000 £125,000 £64,000 £32,000 £16,000 £8,000 £4,000 £2,000 £1,000 £500 £300 £200 £100 Welcome.
© 2002 Prentice-Hall, Inc.Chap 17-1 Basic Business Statistics (8 th Edition) Chapter 17 Decision Making.
Case Study.
Analysis grid superimposed 2D Street Grid Calculating Travel-Time …vector to raster conversion Note that a 100 row by 100 column analysis grid (10,000.
Factoring Polynomials
NUMBER & ALGEBRA REVIEW (With your built-in calculator!) By Mr. Barnard.
You will need Your text Your calculator
Elementary Statistics
Independent Measures T-Test Quantitative Methods in HPELS 440:210.
The t-distribution William Gosset lived from 1876 to 1937 Gosset invented the t -test to handle small samples for quality control in brewing. He wrote.
9.4 t test and u test Hypothesis testing for population mean Example : Hemoglobin of 280 healthy male adults in a region: Question: Whether the population.
Decision Analysis (Decision Trees) Y. İlker TOPCU, Ph.D twitter.com/yitopcu.
Look at This PowerPoint for help on you times tables
Chapter 16 Goodness-of-Fit Tests and Contingency Tables
Chi-Square and Analysis of Variance (ANOVA)
Simplify each expression.
Hypothesis Tests: Two Independent Samples
Spearman’s Rank Correlation Coefficient
Graphing y = nx2 Lesson
Do Now Do you have extra credit to turn in? Get out pink review paper.
Comparing Two Population Parameters
Least Common Multiples and Greatest Common Factors
Example of a Decision Tree Problem: The Payoff Table
Module 16: One-sample t-tests and Confidence Intervals
STATISTICAL ANALYSIS. Your introduction to statistics should not be like drinking water from a fire hose!!
Statistics for Linguistics Students Michaelmas 2004 Week 5 Bettina Braun
Number bonds to 10,
Statistical Inferences Based on Two Samples
© The McGraw-Hill Companies, Inc., Chapter 10 Testing the Difference between Means and Variances.
Beat the Computer Drill Divide 10s Becky Afghani, LBUSD Math Curriculum Office, 2004 Vertical Format.
© The McGraw-Hill Companies, Inc., Chapter 12 Chi-Square.
Fractions Simplify: 36/48 = 36/48 = ¾ 125/225 = 125/225 = 25/45 = 5/9
Chapter 18: The Chi-Square Statistic
Tutorial: Understanding the normal curve. Gauss Next mouse click.
1 Chapter 20: Statistical Tests for Ordinal Data.
Mann Whitney U For comparison data. Using Mann Whitney U Non-parametric i.e. no assumptions are made about data fitting a normal distribution Is used.
Simple Linear Regression Analysis
Multiple Regression and Model Building
PSY 307 – Statistics for the Behavioral Sciences
Hypothesis of Association: Correlation
Data analysis – Spearman’s Rank 1.Know what Spearman’s rank is and how to use it 2.Be able to produce a Spearman’s rank correlation graph for your results.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
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“,
Statistics.
Inferences Between Two Variables
Spearman’s Rank Correlation Coefficient
Spearman’s Rank For relationship data.
Presentation transcript:

Spearman’s Rank For relationship data

Non-parametric i.e. no assumptions are made about data fitting a normal distribution You must have more than 5 pairs of data (10+ better) Measures the strength and direction of the relationship between two variables Using Spearman’s Rank

Bedload particle size (cm) Distance Downstream (km) Velocity (m/s) Distance Downstream (km) Discharge (cumecs) Number of passing dog walkers No correlation r s = 0 3 The value for r s (spearman rank) will be between +1 and indicates a perfect positive correlation -1 indicates a perfect negative correlation 0 indicates no correlation at all Positive correlation r s = +1 Negative correlation r s = -1

rsrs =1- 6  d 2 n (n 2 - 1) The Equation

rsrs =1- 6  d 2 n (n 2 - 1) Where: r s = Spearman Rank Correlation Coefficient  d 2 = Sum of the squared differences between ranks n = Number of pairs of observations in the sample The Equation

1. Establish the Null Hypothesis H 0 (this is always the negative form. i.e. there is no significant correlation between the variables) and the alternative hypothesis (H 1 ). H 0 - There is no significant correlation between variable X and variable Y H 1 - There is a significant correlation between variable X and variable Y Method

Distance from source (km) Rank R 1 PO4 ppm Rank R 2 d (R 1 - R 2 ) d2d2 (variable x)(variable y) Copy your data into the table below as variable x and variable y and label the data sets

3. Rank the individual data sets in sets in increasing order as separate sets of data (i.e. Give the lowest data value the lowest rank) Take each variable in turn Lowest value gets a rank of 1 When you have data values that are the same, they must have the same rank The same thing is done for all data values that are the same Distance from source (km) Rank R 1 PO4 ppm Rank R 2 (variable x)(variable y) Distance from source (km) Rank R 1 PO4 ppm Rank R 2 (variable x)(variable y) If the next two data values were not the same we would be assigning ranks 5 and = 11 so we will divide this rank equally between the data values (there are 2 data values so we divide 11 by 2) 11 / 2 = 5.5 so both the data values are assigned a rank of 5.5

Distance from source (km) Rank R 1 PO4 ppm Rank R 2 d (R 1 - R 2 ) d2d2 (variable x)(variable y) The assigned ranks should be recorded in the table

Distance from source (km) Rank R 1 PO4 ppm Rank R 2 d (R 1 - R 2 ) d2d2 (variable x)(variable y) Calculate the difference between each pair of ranks R 1 -R 2 (if done correctly the differences should equal zero) Take each variable in turn and record the differences in column d

Distance from source (km) Rank R 1 PO4 ppm Rank R 2 d (R 1 - R 2 ) d2d2 (variable x)(variable y) Square the differences in column d Record in column d 2

Distance from source (km) Rank R 1 PO4 ppm Rank R 2 d (R 1 - R 2 ) d2d2 (variable x)(variable y) Calculate Sum of d 2 Add up all the values in the d 2 column

Substitute the numbers calculated for the symbols in the equation Work out each part in turn e.g. 1. Work out 6 x  d 2 2. Work out n2 3. Work out n2 – 1 4. Work out n x answer to step 3 rsrs =1- 6  d 2 n (n 2 - 1) 5. Work out answer to step one divided by the answer to step 4 6. Work out 1 – the answer to step 5 6. Calculate the r s value  d 2 = x 69.5 = 417 n = = 35 6 x 35 = / 210 = = 0.986

If it is a negative number then you have a negative correlation If it is a positive number then you have a positive correlation (You do not need to worry about + and – for the next bit!) Is your r s value positive or negative?

If r s is greater than or equal to the critical value, then there is a significant correlation and the null hypothesis can be rejected Compare your r s value against the table of critical values

Significance level Number of pairs of measurements (n) p = 0.05 (95%) (+ or -) p = 0.01 (99%) (+ or -) Critical values for Spearman’s Rank Correlation Coefficient

If we have a significant correlation at 95% we can go back and check if we have a significant correlation at 99% as well (so we can be 99% confident our results were not due to chance) Check the P-0.05 (95%) confidence level first This means we are 95% confident our results were not due to chance

Is our r s value smaller or larger than our critical value from the critical value table? If the r s value is greater than or equal to the critical value then the null hypothesis can be rejected – There is a significant correlation If the r s value is NOT greater than or equal to the critical value then the null hypothesis cannot be rejected – There is no significant correlation

Use the following data to calculate r s independently Light (Lux) Rank R 1 Hedera helix leaf area cm 2 Rank R 2 d (R 1 - R 2 ) d2d2 (variable x)(variable y)

Key questions Is there a significant correlation? Which data value/s would you consider to be anomalous and why? Which graph would you use to present this data?