SlideShare a Scribd company logo
1 of 44
Spearman’s Rank Correlation
Department of Plant Breeding
IAAS, Tribhuvan University
Kritipur, Kathmandu, Nepal
History
 Charles Edward Spearman (1863-1945), an
influential British psychometrician interest to
measure intelligence lead to Spearman’s Rank
Correlation.
Problem
Unable to detect and measure intelligence separately
from the specific ability that particular test were
assessing.
Mission
To improve statistical methods used to measure
performance and overcome deficiency of scientific
correlation.
Outcome
 Proposed several possibilities to measure
correlation.
 Promoted the notion of using ranks instead of actual
measurement.
 Pointed the application of Rank correlation in his
paper "The proof and measurement of association
between two things" published in 1907,
 Used as Spearman's Rank Correlation today.
Contd…
Introduction
 Spearman Rank's Correlation is a measure of rank
correlation
 statistical dependence between rankings of two
variables
Contd…
 denoted by Greek letter rho (ρ) or rs is non-
parametric version of Pearson's correlation.
 is appropriate for both continuous and discrete or
ordinal variables.
What actually is non-parametric measure?
Features Parametric measure
Non-parametric
measure
Assumptions
Make assumption about
probability distribution of
population under
analysis (mainly normal
distribution)
Don’t make these
assumption so
often called
"distribution free"
method
Features Parametric
measures
Non parametric measures
Nature Works with
quantitative data.
work with qualitative
(nominal/ordinal) data
Methods confidence
interval, t-test,
ANOVA, linear
regression etc.
the most common type
being ranked observation
Pearson Correlation Vs Spearman’s
Rank correlation
Features Pearson’s correlation Spearman Rank
correlation
Definition It is statistical measure
of strength of a linear
relationship between
paired data.
It is statistical measure
of strength of
monotonic relationship
between paired data
Features Pearson’s correlation Spearman’s Rank
correlation
Symbol Denoted by r
.
Denoted by rs
Function Calculate relation between
two variables on the basis
of actual data
Calculate association
between two variables
based on the rank.
Features Pearson’s correlation Spearman Rank
correlation
Variables used jointly with
normally distributed
variables
used for non-randomly
distributed variables.
Influence of
Outliers
great influence on
Pearson’s correlations
no or very little
influence of outliers on
Rank-based methods
Monotonic relationship
 Monotonic function is the one that either never
increase or decrease as its independent variable
increases.
o Monotonically increasing as x variable increases
then y never decreases
Contd…
◦ monotonically decreasing as x variable increases,
y variable never increases.
◦ Not monotonic function is the one in which as x
variable increases, the y variable sometimes
decreases and sometimes increases
When to use spearman’s rank correlation?
For calculation of Pearson correlation, data must be in
 interval/ratio level,
 linearly related and
 bivariate normally distributed.
 If data doesn't meet the assumption it is advisable to
use Spearman's rank correlation to find correlation
between bivariate data
Contd…
Assumptions for calculation of Spearman's Rank
correlation
i. Data can be in interval/ratio/ordinal
ii. Monotonically related
Value of coefficient rs(+ve or –ve) Meaning
0.00 - 0.19 Very weak
0.20 - 0.39 Weak
0.40 - 0.69 Moderate
0.70 - 0.89 Strong
0.90 - 1 Very strong
The Strength of correlation
Association significant or not?
• 0.69 moderate correlation and 0.70 strong correlation????
• Critical value table, the level of significance and strength of
the relationship considered before making assumption on
the association,
• P-value follows a Student’s t-distribution with n-2 degrees of
freedom
What about sign?
 rho value ranges from = -1 to +1 .
 Sign of Spearman correlation indicates direction of
association between x (independent variables) and
y (independent variables).
Contd…
 If y increases as x increases positive sign and
 if y decreases as x increases then negative sign
 if there is no tendency for y to either increase/
decrease then zero.
Calculation of Spearman's rank correlation
 Untied data are those data which do not have same
value.
• Suppose 2 genotype under evaluation has 6 ton/hac
yield then it is called tied data.
• Untied data have unique value.
Contd…
For untied data:
𝑟𝑠 = 1 −
6 𝑑𝑖
2
𝑛(𝑛2 − 1)
where, di= difference between two ranks of each
observation
n= number of observation.
yield of
genotype
(ton/hac)
stability of
genotype
rank of
yield
rank of
stability
difference
in the
rank
d2
10 7 7 6 1 1
12 8 5 5 0 0
11 6 6 7 -1 1
13 10 4 3 1 1
14 9 3 4 -1 1
15 11 2 2 0 0
16 12 1 1 0 0
So, 𝑟𝑠= 1 −
6 ×4
7 49−1
= 0.92
For tied data
If identical value for certain characters, rank is found by
averaging their position in ascending order and using
the same simple formula.
yield of
genoty
pe(ton/
hac)
stability
of
genoty
pe
rank of
yield
rank of
stability
differen
ce in
the
rank(di)
di2
10 7 7 6 1 1
12 8 5 4.5 0.5 0.25
11 6 6 7 -1 1
13 10 4 3 1 1
14 8 3 4.5 -1.5 2.25
15 11 2 2 0 0
16 12 1 1 0 0
𝑟𝑠 = 1 −
6 ×5
7 49−1
= 0.901
This way of calculating spearman's rank correlation isn't
advocated for tied data so extension of Pearson for ranked
data is used which is given below:
𝜌 =
𝑖 𝑥𝑖 − 𝑥 𝑦𝑖 − 𝑦
𝑖 𝑥𝑖 − 𝑥 2
𝑖 𝑦𝑖 − 𝑦 2
Where, i= paired data
Advantages of spearman's rank correlation
 Less sensitive to bias.
 Used to reduce weight of the outliners as large
distance get treated as one rank differences.
◦ Outliers can have great influence on Pearson’s
correlations but have no or very little influence on Rank-
based methods.
Contd…
 Doesn't require assumption of normality
 Advisable to study ranking than actual values when
interval between data point are problematic
Disadvantages
 Ties are important and must be factored into
computation.
 Correlation doesnot necessarily equal to causation.
 Only indicates whether two variables have a
association
Use of Spearman in Genetics and Plant
Breeding
 More efficient in determination of transcriptional
association of genes (whether gene and RNA/protein
are associated or not?)
 Efficient in identifying co-expressed pathway genes
(Kumari et al.)
Contd…
 Utilized to analyze association between grain yield
and haplotypes in Genome Wide Association
studies in Rice.( Xie et al.,2015)
 Utilized to find association between traits of interest
and gene/ SNP.
Contd…
 Spearman successful in identifying coordinated
transcription factors that control the same biological
processes and traits.
Contd…
 Grain yield is positively correlated with the number
of breeding signatures which suggests that
◦ the breeding signatures useful for predicting
agronomic potential
◦ the selected loci may provide targets for rice
improvement. (Xie et al., 2015)
 Used in QTL mapping.(Sapkota et al., 2015)
 Spearman ‘s rank correlation can identify more
positive genes and a higher percentage of positive
genes in Arabidopsis(Kumari et al., 2012)
Contd…
Conclusion
 Spearman's rank correlation calculates association
between two variables.
 Efficiencies of Spearman's rank correlation vary
with the data properties to some degree and are
largely contingent upon the biological processes and
character under analysis.
Spearman’s rank correlation

More Related Content

What's hot

Correlation
CorrelationCorrelation
Correlationancytd
 
Properties of correlation coefficient
Properties of correlation coefficientProperties of correlation coefficient
Properties of correlation coefficientRaja Adapa
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionAbdelaziz Tayoun
 
Regression
Regression Regression
Regression Ali Raza
 
Karl pearson's correlation
Karl pearson's correlationKarl pearson's correlation
Karl pearson's correlationfairoos1
 
Correlation- an introduction and application of spearman rank correlation by...
Correlation- an introduction and application of spearman rank correlation  by...Correlation- an introduction and application of spearman rank correlation  by...
Correlation- an introduction and application of spearman rank correlation by...Gunjan Verma
 
Simple Linear Regression: Step-By-Step
Simple Linear Regression: Step-By-StepSimple Linear Regression: Step-By-Step
Simple Linear Regression: Step-By-StepDan Wellisch
 
Normal distribution
Normal distributionNormal distribution
Normal distributionSonamWadhwa3
 
Cannonical correlation
Cannonical correlationCannonical correlation
Cannonical correlationdomsr
 
coefficient correlation
 coefficient correlation coefficient correlation
coefficient correlationirshad narejo
 

What's hot (20)

Correlation
CorrelationCorrelation
Correlation
 
Properties of correlation coefficient
Properties of correlation coefficientProperties of correlation coefficient
Properties of correlation coefficient
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Correlation Analysis
Correlation AnalysisCorrelation Analysis
Correlation Analysis
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
Regression
Regression Regression
Regression
 
Correlation and partial correlation
Correlation and partial correlationCorrelation and partial correlation
Correlation and partial correlation
 
Karl pearson's correlation
Karl pearson's correlationKarl pearson's correlation
Karl pearson's correlation
 
Correlation in Statistics
Correlation in StatisticsCorrelation in Statistics
Correlation in Statistics
 
Correlation- an introduction and application of spearman rank correlation by...
Correlation- an introduction and application of spearman rank correlation  by...Correlation- an introduction and application of spearman rank correlation  by...
Correlation- an introduction and application of spearman rank correlation by...
 
Standard error
Standard error Standard error
Standard error
 
Simple Linear Regression: Step-By-Step
Simple Linear Regression: Step-By-StepSimple Linear Regression: Step-By-Step
Simple Linear Regression: Step-By-Step
 
Normal distribution
Normal distributionNormal distribution
Normal distribution
 
Rank correlation
Rank correlationRank correlation
Rank correlation
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
Meaning and types of correlation
Meaning and types of correlationMeaning and types of correlation
Meaning and types of correlation
 
Chi -square test
Chi -square testChi -square test
Chi -square test
 
Cannonical correlation
Cannonical correlationCannonical correlation
Cannonical correlation
 
coefficient correlation
 coefficient correlation coefficient correlation
coefficient correlation
 

Similar to Spearman’s rank correlation

Spearman’s rank correlation (1)
Spearman’s rank correlation (1)Spearman’s rank correlation (1)
Spearman’s rank correlation (1)PritikaNeupane
 
Correlation Computations Thiyagu
Correlation Computations ThiyaguCorrelation Computations Thiyagu
Correlation Computations ThiyaguThiyagu K
 
Association between-variables
Association between-variablesAssociation between-variables
Association between-variablesBorhan Uddin
 
Artificial Intelligence (Unit - 8).pdf
Artificial Intelligence   (Unit  -  8).pdfArtificial Intelligence   (Unit  -  8).pdf
Artificial Intelligence (Unit - 8).pdfSathyaNarayanan47813
 
Association between-variables
Association between-variablesAssociation between-variables
Association between-variablesBorhan Uddin
 
Correlation - Biostatistics
Correlation - BiostatisticsCorrelation - Biostatistics
Correlation - BiostatisticsFahmida Swati
 
Spearman Rank Correlation - Thiyagu
Spearman Rank Correlation - ThiyaguSpearman Rank Correlation - Thiyagu
Spearman Rank Correlation - ThiyaguThiyagu K
 
Data Processing and Statistical Treatment: Spreads and Correlation
Data Processing and Statistical Treatment: Spreads and CorrelationData Processing and Statistical Treatment: Spreads and Correlation
Data Processing and Statistical Treatment: Spreads and CorrelationJanet Penilla
 
Correlation
CorrelationCorrelation
CorrelationTech_MX
 
correlation-analysis.pptx
correlation-analysis.pptxcorrelation-analysis.pptx
correlation-analysis.pptxChieWoo1
 
Data Analysis: Descriptive Statistics
Data Analysis: Descriptive StatisticsData Analysis: Descriptive Statistics
Data Analysis: Descriptive StatisticsMahmood Ahmad
 
s.analysis
s.analysiss.analysis
s.analysiskavi ...
 
DATA PROCESSING AND STATISTICAL TREATMENT
DATA PROCESSING AND STATISTICAL TREATMENTDATA PROCESSING AND STATISTICAL TREATMENT
DATA PROCESSING AND STATISTICAL TREATMENTAdolf Odani
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regressionjasondroesch
 
How to Conduct and Interpret Correlation Tests
How to Conduct and Interpret Correlation TestsHow to Conduct and Interpret Correlation Tests
How to Conduct and Interpret Correlation TestsStatistics Solutions
 
Four Methods in testing reliability
Four Methods in testing reliabilityFour Methods in testing reliability
Four Methods in testing reliabilityMelchorJrTuazon1
 

Similar to Spearman’s rank correlation (20)

Spearman’s rank correlation (1)
Spearman’s rank correlation (1)Spearman’s rank correlation (1)
Spearman’s rank correlation (1)
 
Correlation Computations Thiyagu
Correlation Computations ThiyaguCorrelation Computations Thiyagu
Correlation Computations Thiyagu
 
Association between-variables
Association between-variablesAssociation between-variables
Association between-variables
 
Artificial Intelligence (Unit - 8).pdf
Artificial Intelligence   (Unit  -  8).pdfArtificial Intelligence   (Unit  -  8).pdf
Artificial Intelligence (Unit - 8).pdf
 
Association between-variables
Association between-variablesAssociation between-variables
Association between-variables
 
Correlation - Biostatistics
Correlation - BiostatisticsCorrelation - Biostatistics
Correlation - Biostatistics
 
Spearman Rank Correlation - Thiyagu
Spearman Rank Correlation - ThiyaguSpearman Rank Correlation - Thiyagu
Spearman Rank Correlation - Thiyagu
 
Data Processing and Statistical Treatment: Spreads and Correlation
Data Processing and Statistical Treatment: Spreads and CorrelationData Processing and Statistical Treatment: Spreads and Correlation
Data Processing and Statistical Treatment: Spreads and Correlation
 
Correlation
CorrelationCorrelation
Correlation
 
Correlation
CorrelationCorrelation
Correlation
 
correlation-analysis.pptx
correlation-analysis.pptxcorrelation-analysis.pptx
correlation-analysis.pptx
 
Data Analysis: Descriptive Statistics
Data Analysis: Descriptive StatisticsData Analysis: Descriptive Statistics
Data Analysis: Descriptive Statistics
 
Measure of Association
Measure of AssociationMeasure of Association
Measure of Association
 
Correltional research
Correltional researchCorreltional research
Correltional research
 
s.analysis
s.analysiss.analysis
s.analysis
 
Correlation
CorrelationCorrelation
Correlation
 
DATA PROCESSING AND STATISTICAL TREATMENT
DATA PROCESSING AND STATISTICAL TREATMENTDATA PROCESSING AND STATISTICAL TREATMENT
DATA PROCESSING AND STATISTICAL TREATMENT
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
How to Conduct and Interpret Correlation Tests
How to Conduct and Interpret Correlation TestsHow to Conduct and Interpret Correlation Tests
How to Conduct and Interpret Correlation Tests
 
Four Methods in testing reliability
Four Methods in testing reliabilityFour Methods in testing reliability
Four Methods in testing reliability
 

Recently uploaded

BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
(ISHITA) Call Girls Service Hyderabad Call Now 8617697112 Hyderabad Escorts
(ISHITA) Call Girls Service Hyderabad Call Now 8617697112 Hyderabad Escorts(ISHITA) Call Girls Service Hyderabad Call Now 8617697112 Hyderabad Escorts
(ISHITA) Call Girls Service Hyderabad Call Now 8617697112 Hyderabad EscortsCall girls in Ahmedabad High profile
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxolyaivanovalion
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxolyaivanovalion
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 

Recently uploaded (20)

BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
(ISHITA) Call Girls Service Hyderabad Call Now 8617697112 Hyderabad Escorts
(ISHITA) Call Girls Service Hyderabad Call Now 8617697112 Hyderabad Escorts(ISHITA) Call Girls Service Hyderabad Call Now 8617697112 Hyderabad Escorts
(ISHITA) Call Girls Service Hyderabad Call Now 8617697112 Hyderabad Escorts
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 

Spearman’s rank correlation

  • 1. Spearman’s Rank Correlation Department of Plant Breeding IAAS, Tribhuvan University Kritipur, Kathmandu, Nepal
  • 2. History  Charles Edward Spearman (1863-1945), an influential British psychometrician interest to measure intelligence lead to Spearman’s Rank Correlation.
  • 3. Problem Unable to detect and measure intelligence separately from the specific ability that particular test were assessing.
  • 4. Mission To improve statistical methods used to measure performance and overcome deficiency of scientific correlation.
  • 5. Outcome  Proposed several possibilities to measure correlation.  Promoted the notion of using ranks instead of actual measurement.
  • 6.  Pointed the application of Rank correlation in his paper "The proof and measurement of association between two things" published in 1907,  Used as Spearman's Rank Correlation today. Contd…
  • 7. Introduction  Spearman Rank's Correlation is a measure of rank correlation  statistical dependence between rankings of two variables
  • 8. Contd…  denoted by Greek letter rho (ρ) or rs is non- parametric version of Pearson's correlation.  is appropriate for both continuous and discrete or ordinal variables.
  • 9. What actually is non-parametric measure?
  • 10. Features Parametric measure Non-parametric measure Assumptions Make assumption about probability distribution of population under analysis (mainly normal distribution) Don’t make these assumption so often called "distribution free" method
  • 11. Features Parametric measures Non parametric measures Nature Works with quantitative data. work with qualitative (nominal/ordinal) data Methods confidence interval, t-test, ANOVA, linear regression etc. the most common type being ranked observation
  • 12. Pearson Correlation Vs Spearman’s Rank correlation
  • 13. Features Pearson’s correlation Spearman Rank correlation Definition It is statistical measure of strength of a linear relationship between paired data. It is statistical measure of strength of monotonic relationship between paired data
  • 14. Features Pearson’s correlation Spearman’s Rank correlation Symbol Denoted by r . Denoted by rs Function Calculate relation between two variables on the basis of actual data Calculate association between two variables based on the rank.
  • 15. Features Pearson’s correlation Spearman Rank correlation Variables used jointly with normally distributed variables used for non-randomly distributed variables. Influence of Outliers great influence on Pearson’s correlations no or very little influence of outliers on Rank-based methods
  • 16.
  • 17.
  • 18.
  • 19. Monotonic relationship  Monotonic function is the one that either never increase or decrease as its independent variable increases. o Monotonically increasing as x variable increases then y never decreases
  • 20. Contd… ◦ monotonically decreasing as x variable increases, y variable never increases. ◦ Not monotonic function is the one in which as x variable increases, the y variable sometimes decreases and sometimes increases
  • 21.
  • 22. When to use spearman’s rank correlation? For calculation of Pearson correlation, data must be in  interval/ratio level,  linearly related and  bivariate normally distributed.
  • 23.  If data doesn't meet the assumption it is advisable to use Spearman's rank correlation to find correlation between bivariate data
  • 24. Contd… Assumptions for calculation of Spearman's Rank correlation i. Data can be in interval/ratio/ordinal ii. Monotonically related
  • 25. Value of coefficient rs(+ve or –ve) Meaning 0.00 - 0.19 Very weak 0.20 - 0.39 Weak 0.40 - 0.69 Moderate 0.70 - 0.89 Strong 0.90 - 1 Very strong The Strength of correlation
  • 26. Association significant or not? • 0.69 moderate correlation and 0.70 strong correlation???? • Critical value table, the level of significance and strength of the relationship considered before making assumption on the association, • P-value follows a Student’s t-distribution with n-2 degrees of freedom
  • 27. What about sign?  rho value ranges from = -1 to +1 .  Sign of Spearman correlation indicates direction of association between x (independent variables) and y (independent variables).
  • 28. Contd…  If y increases as x increases positive sign and  if y decreases as x increases then negative sign  if there is no tendency for y to either increase/ decrease then zero.
  • 29. Calculation of Spearman's rank correlation  Untied data are those data which do not have same value. • Suppose 2 genotype under evaluation has 6 ton/hac yield then it is called tied data. • Untied data have unique value.
  • 30. Contd… For untied data: 𝑟𝑠 = 1 − 6 𝑑𝑖 2 𝑛(𝑛2 − 1) where, di= difference between two ranks of each observation n= number of observation.
  • 31. yield of genotype (ton/hac) stability of genotype rank of yield rank of stability difference in the rank d2 10 7 7 6 1 1 12 8 5 5 0 0 11 6 6 7 -1 1 13 10 4 3 1 1 14 9 3 4 -1 1 15 11 2 2 0 0 16 12 1 1 0 0 So, 𝑟𝑠= 1 − 6 ×4 7 49−1 = 0.92
  • 32. For tied data If identical value for certain characters, rank is found by averaging their position in ascending order and using the same simple formula.
  • 33. yield of genoty pe(ton/ hac) stability of genoty pe rank of yield rank of stability differen ce in the rank(di) di2 10 7 7 6 1 1 12 8 5 4.5 0.5 0.25 11 6 6 7 -1 1 13 10 4 3 1 1 14 8 3 4.5 -1.5 2.25 15 11 2 2 0 0 16 12 1 1 0 0 𝑟𝑠 = 1 − 6 ×5 7 49−1 = 0.901
  • 34. This way of calculating spearman's rank correlation isn't advocated for tied data so extension of Pearson for ranked data is used which is given below: 𝜌 = 𝑖 𝑥𝑖 − 𝑥 𝑦𝑖 − 𝑦 𝑖 𝑥𝑖 − 𝑥 2 𝑖 𝑦𝑖 − 𝑦 2 Where, i= paired data
  • 35. Advantages of spearman's rank correlation  Less sensitive to bias.  Used to reduce weight of the outliners as large distance get treated as one rank differences. ◦ Outliers can have great influence on Pearson’s correlations but have no or very little influence on Rank- based methods.
  • 36. Contd…  Doesn't require assumption of normality  Advisable to study ranking than actual values when interval between data point are problematic
  • 37. Disadvantages  Ties are important and must be factored into computation.  Correlation doesnot necessarily equal to causation.  Only indicates whether two variables have a association
  • 38. Use of Spearman in Genetics and Plant Breeding  More efficient in determination of transcriptional association of genes (whether gene and RNA/protein are associated or not?)  Efficient in identifying co-expressed pathway genes (Kumari et al.)
  • 39. Contd…  Utilized to analyze association between grain yield and haplotypes in Genome Wide Association studies in Rice.( Xie et al.,2015)  Utilized to find association between traits of interest and gene/ SNP.
  • 40. Contd…  Spearman successful in identifying coordinated transcription factors that control the same biological processes and traits.
  • 41. Contd…  Grain yield is positively correlated with the number of breeding signatures which suggests that ◦ the breeding signatures useful for predicting agronomic potential ◦ the selected loci may provide targets for rice improvement. (Xie et al., 2015)
  • 42.  Used in QTL mapping.(Sapkota et al., 2015)  Spearman ‘s rank correlation can identify more positive genes and a higher percentage of positive genes in Arabidopsis(Kumari et al., 2012) Contd…
  • 43. Conclusion  Spearman's rank correlation calculates association between two variables.  Efficiencies of Spearman's rank correlation vary with the data properties to some degree and are largely contingent upon the biological processes and character under analysis.