SlideShare a Scribd company logo
1 of 7
Spearman's correlation
Ms. Nigar K.Mujawar
Assistant Professor,
Shri.Balasaheb Mane Shikshan Prasarak Mandal Ambap
Womens College of Pharmacy, Peth-Vadgaon,
Kolhapur, M.S., INDIA.
1
Spearman's correlation
Spearman's correlation coefficient (or Spearman's rho) is a non-
parametric measure of rank correlation between two variables. It
assesses how well the relationship between two variables can be
described using a monotonic function, regardless of the scale of
measurement. Here's a detailed explanation of Spearman's correlation
coefficient:
Calculation:
1.Ranking:
1.For each variable X and Y, rank the values separately. If there are
ties (i.e., identical values), assign them the average of the ranks they
would have received if they were distinct values.
2.Computing Differences:
1.For each pair of ranked values(xi​,yi​), calculate the difference in ranks
di​=rank of xi​−rank of yi.
1.Applying the Formula:
1.Use the formula: = 1− 6∑di2 / n(n2−1)
2.6∑(2−1)ρ=1−​​ where n is the number of observations.
Interpretation:
The Spearman correlation coefficient ρ ranges between -1 and 1.
ρ=1 indicates a perfect positive monotonic relationship: as X increases,
Y tends to increase.
ρ=−1 indicates a perfect negative monotonic relationship: as X
increases, Y tends to decrease.
ρ=0 indicates no monotonic association between X and Y, but it doesn't
imply independence.
Advantages and Use Cases:
1. Non-parametric: Suitable for ordinal data or data that do not meet the
assumptions of normality required by Pearson correlation.
2. Robust: Less affected by outliers compared to Pearson correlation.
3. Interpretability: Describes the strength and direction of monotonic
relationships.
Example:
Suppose we have the following paired data representing ranks:
X:10,5,8,3,6
Y:7,4,9,2,1​
•Rank X values: Rank(10)=5,Rank(5)=3,Rank(8)=4,Rank(3)=2,Rank(6)=1
•Rank Y values: Rank(7)=4,Rank(4)=3,Rank(9)=5,Rank(2)=2,Rank(1)=1
•Compute differences:
• d1​=5−4=1
• d2​=3−3=0
• d3​=4−5=−1
• d4​=2−2=0
• d5​=1−1=0
7

More Related Content

Similar to Spearman's correlation,Formula,Advantages,

Correlation - Biostatistics
Correlation - BiostatisticsCorrelation - Biostatistics
Correlation - BiostatisticsFahmida Swati
 
College of Doctoral StudiesRES-845 Module 8 Problem.docx
        College of Doctoral StudiesRES-845 Module 8 Problem.docx        College of Doctoral StudiesRES-845 Module 8 Problem.docx
College of Doctoral StudiesRES-845 Module 8 Problem.docxhallettfaustina
 
Stats For Life Module7 Oc
Stats For Life Module7 OcStats For Life Module7 Oc
Stats For Life Module7 OcN Rabe
 
MCA_UNIT-4_Computer Oriented Numerical Statistical Methods
MCA_UNIT-4_Computer Oriented Numerical Statistical MethodsMCA_UNIT-4_Computer Oriented Numerical Statistical Methods
MCA_UNIT-4_Computer Oriented Numerical Statistical MethodsRai University
 
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
 
Factor Extraction method in factor analysis with example in R studio.pptx
Factor Extraction method in factor analysis with example in R studio.pptxFactor Extraction method in factor analysis with example in R studio.pptx
Factor Extraction method in factor analysis with example in R studio.pptxGauravRajole
 
Four Methods in testing reliability
Four Methods in testing reliabilityFour Methods in testing reliability
Four Methods in testing reliabilityMelchorJrTuazon1
 
Class 9 Covariance & Correlation Concepts.pptx
Class 9 Covariance & Correlation Concepts.pptxClass 9 Covariance & Correlation Concepts.pptx
Class 9 Covariance & Correlation Concepts.pptxCallplanetsDeveloper
 
Correlation and Path analysis in breeding experiments
Correlation and Path analysis in breeding experimentsCorrelation and Path analysis in breeding experiments
Correlation and Path analysis in breeding experimentsankit dhillon
 
Association between-variables
Association between-variablesAssociation between-variables
Association between-variablesBorhan Uddin
 
Correlational AnalysisAccording to Gogtay et al (2017) c.docx
Correlational AnalysisAccording to Gogtay et al (2017) c.docxCorrelational AnalysisAccording to Gogtay et al (2017) c.docx
Correlational AnalysisAccording to Gogtay et al (2017) c.docxmelvinjrobinson2199
 

Similar to Spearman's correlation,Formula,Advantages, (20)

Correlation - Biostatistics
Correlation - BiostatisticsCorrelation - Biostatistics
Correlation - Biostatistics
 
College of Doctoral StudiesRES-845 Module 8 Problem.docx
        College of Doctoral StudiesRES-845 Module 8 Problem.docx        College of Doctoral StudiesRES-845 Module 8 Problem.docx
College of Doctoral StudiesRES-845 Module 8 Problem.docx
 
Study of Correlation
Study of Correlation Study of Correlation
Study of Correlation
 
Stats For Life Module7 Oc
Stats For Life Module7 OcStats For Life Module7 Oc
Stats For Life Module7 Oc
 
correlation ;.pptx
correlation ;.pptxcorrelation ;.pptx
correlation ;.pptx
 
correlation.pptx
correlation.pptxcorrelation.pptx
correlation.pptx
 
Correlation
CorrelationCorrelation
Correlation
 
Regression.pptx
Regression.pptxRegression.pptx
Regression.pptx
 
RMBS - CORRELATION.pptx
RMBS - CORRELATION.pptxRMBS - CORRELATION.pptx
RMBS - CORRELATION.pptx
 
MCA_UNIT-4_Computer Oriented Numerical Statistical Methods
MCA_UNIT-4_Computer Oriented Numerical Statistical MethodsMCA_UNIT-4_Computer Oriented Numerical Statistical Methods
MCA_UNIT-4_Computer Oriented Numerical Statistical Methods
 
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
 
Correlational Research
Correlational ResearchCorrelational Research
Correlational Research
 
Factor Extraction method in factor analysis with example in R studio.pptx
Factor Extraction method in factor analysis with example in R studio.pptxFactor Extraction method in factor analysis with example in R studio.pptx
Factor Extraction method in factor analysis with example in R studio.pptx
 
Four Methods in testing reliability
Four Methods in testing reliabilityFour Methods in testing reliability
Four Methods in testing reliability
 
Class 9 Covariance & Correlation Concepts.pptx
Class 9 Covariance & Correlation Concepts.pptxClass 9 Covariance & Correlation Concepts.pptx
Class 9 Covariance & Correlation Concepts.pptx
 
Correlation and Path analysis in breeding experiments
Correlation and Path analysis in breeding experimentsCorrelation and Path analysis in breeding experiments
Correlation and Path analysis in breeding experiments
 
Association between-variables
Association between-variablesAssociation between-variables
Association between-variables
 
Correlational AnalysisAccording to Gogtay et al (2017) c.docx
Correlational AnalysisAccording to Gogtay et al (2017) c.docxCorrelational AnalysisAccording to Gogtay et al (2017) c.docx
Correlational AnalysisAccording to Gogtay et al (2017) c.docx
 
Inferential statistics correlations
Inferential statistics correlationsInferential statistics correlations
Inferential statistics correlations
 
Research Methodology-Chapter 14
Research Methodology-Chapter 14Research Methodology-Chapter 14
Research Methodology-Chapter 14
 

More from Nigar Kadar Mujawar,Womens College of Pharmacy,Peth Vadgaon,Kolhapur,416112

More from Nigar Kadar Mujawar,Womens College of Pharmacy,Peth Vadgaon,Kolhapur,416112 (9)

Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
 
Introduction to Research ,Need for research, Need for design of Experiments, ...
Introduction to Research ,Need for research, Need for design of Experiments, ...Introduction to Research ,Need for research, Need for design of Experiments, ...
Introduction to Research ,Need for research, Need for design of Experiments, ...
 
Chi-Square Test Non Parametric Test Categorical Variable
Chi-Square Test Non Parametric Test Categorical VariableChi-Square Test Non Parametric Test Categorical Variable
Chi-Square Test Non Parametric Test Categorical Variable
 
Problems on Mean,Mode,Median Standard Deviation
Problems on Mean,Mode,Median Standard DeviationProblems on Mean,Mode,Median Standard Deviation
Problems on Mean,Mode,Median Standard Deviation
 
Least Significance Difference:Biostatics and Research Methodology
Least Significance Difference:Biostatics and Research MethodologyLeast Significance Difference:Biostatics and Research Methodology
Least Significance Difference:Biostatics and Research Methodology
 
ANOVA Parametric test: Biostatics and Research Methodology
ANOVA Parametric test: Biostatics and Research MethodologyANOVA Parametric test: Biostatics and Research Methodology
ANOVA Parametric test: Biostatics and Research Methodology
 
t-test Parametric test Biostatics and Research Methodology
t-test Parametric test Biostatics and Research Methodologyt-test Parametric test Biostatics and Research Methodology
t-test Parametric test Biostatics and Research Methodology
 
Probability Problems, Biostatics and Research Methodology
Probability Problems, Biostatics and Research MethodologyProbability Problems, Biostatics and Research Methodology
Probability Problems, Biostatics and Research Methodology
 
Probability Biostatics and Research Methodology
Probability Biostatics and Research MethodologyProbability Biostatics and Research Methodology
Probability Biostatics and Research Methodology
 

Recently uploaded

CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 

Recently uploaded (20)

CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 

Spearman's correlation,Formula,Advantages,

  • 1. Spearman's correlation Ms. Nigar K.Mujawar Assistant Professor, Shri.Balasaheb Mane Shikshan Prasarak Mandal Ambap Womens College of Pharmacy, Peth-Vadgaon, Kolhapur, M.S., INDIA. 1
  • 2. Spearman's correlation Spearman's correlation coefficient (or Spearman's rho) is a non- parametric measure of rank correlation between two variables. It assesses how well the relationship between two variables can be described using a monotonic function, regardless of the scale of measurement. Here's a detailed explanation of Spearman's correlation coefficient: Calculation: 1.Ranking: 1.For each variable X and Y, rank the values separately. If there are ties (i.e., identical values), assign them the average of the ranks they would have received if they were distinct values. 2.Computing Differences: 1.For each pair of ranked values(xi​,yi​), calculate the difference in ranks di​=rank of xi​−rank of yi.
  • 3. 1.Applying the Formula: 1.Use the formula: = 1− 6∑di2 / n(n2−1) 2.6∑(2−1)ρ=1−​​ where n is the number of observations. Interpretation: The Spearman correlation coefficient ρ ranges between -1 and 1. ρ=1 indicates a perfect positive monotonic relationship: as X increases, Y tends to increase. ρ=−1 indicates a perfect negative monotonic relationship: as X increases, Y tends to decrease. ρ=0 indicates no monotonic association between X and Y, but it doesn't imply independence.
  • 4. Advantages and Use Cases: 1. Non-parametric: Suitable for ordinal data or data that do not meet the assumptions of normality required by Pearson correlation. 2. Robust: Less affected by outliers compared to Pearson correlation. 3. Interpretability: Describes the strength and direction of monotonic relationships. Example: Suppose we have the following paired data representing ranks: X:10,5,8,3,6 Y:7,4,9,2,1​ •Rank X values: Rank(10)=5,Rank(5)=3,Rank(8)=4,Rank(3)=2,Rank(6)=1 •Rank Y values: Rank(7)=4,Rank(4)=3,Rank(9)=5,Rank(2)=2,Rank(1)=1
  • 5. •Compute differences: • d1​=5−4=1 • d2​=3−3=0 • d3​=4−5=−1 • d4​=2−2=0 • d5​=1−1=0
  • 6.
  • 7. 7