SlideShare a Scribd company logo
Correlation
and types of
correlation.
JOSHUA RODRICK AND
MANAS PRADEEP
Introduction
Many a times we come across situations where two variables are interrelated.
For example:
◦ Marks and intelligence quotient of students.
◦ Demand and price of a certain commodity.
◦ Rainfall and agricultural production.
◦ Income and expenditure of a family.
In these situations we may be interested in examining the relation between the two variables.
Such interrelated variables are called as correlated variables.
Definition of Correlation and
Bivariate Data.
Correlation is a statistical tool to measure the extent of
linear relation between two variables.
Bivariate Data: In order to determine correlation, we
require data regarding two concerned variables. These data
are called bivariate data. Whenever the variables X and Y
are mentioned in the same item, they are likely to be
correlated.
Positive Correlation
In some cases, ↑Increase in value of one variable is
associated with ↑Increase in value of other variable or
↓Decrease in value of one variable is associated with
↓Decrease in value of other variable.
Correlation between these variables is said to be POSITIVE.
Negative Correlation
In some situations ↑Increase in value of one variable is
accompanied by ↓Decrease in value of other variable and
↓Decrease in value of one variable is accompanied by
↑Increase in value of the other Variable.
Correlation between these two variables is said to be
NEGATIVE.
Examples of Positive and Negative
Correlation
Positive Correlation Negative Correlation
Relationship between Sale of Cold
Drinks and Temperature.
Relationship between Alcohol
Consumption and Driving Ability.
Relationship Between DUI’s and
Accidents.
Relationship between Supply and price
of commodity.
No Correlation
In some cases change in one variable is not related to change in other
variable, In these cases there is said to be No Correlation or Zero
Correlation between the two variables.
For example,
◦ There is no relationship between the amount of tea drunk and level of
intelligence.
◦ There is no relationship between height of students and grades scored in
examinations.
Measures of Correlation
There are several measure of correlation some
of which are:
◦Scatter Diagram
◦Karl Pearson’s Coefficient of Correlation
◦Rank Correlation
Scatter Diagram
Scatter Diagram is a graph of observed
potted points where each points represents
the value of X & Y as a coordinate. It
portrays the relationship between these
two variables graphically.
Perfect Positive Correlation
• A perfect positive
correlation is given
the value of 1.
Perfect Negative Correlation
• A perfect negative
correlation is given
the value of -1.
Positive Correlation
• If the data points make a
straight line going from the
origin out to high x- and y-
values, then the variables
are said to have a positive
correlation.
Negative Correlation
• If the line goes from a
high-value on the y-
axis down to a high-
value on the x-axis, the
variables have a
negative correlation.
Non-Linear Correlation
• Sometimes when we look
at a plot of data there is an
obvious nonlinear
relationship. In other
words, the plotted data
have an obvious curved
appearance. They are
known as Non-Linear
Correlation
Merits and Demerits of Scatter
Diagram
Merits Demerits
Scatter diagram is the simplest method
of studying correlation.
It does not give a numerical measure of
of correlation.
It is easy to understand. It is a subjective method.
It is not influenced by extreme values. It cannot be applied to qualitative data.
Karl Pearson’s Coefficient of
correlation
oThe Karl Pearson’s correlation coefficient method is
quantitative and offers numerical value to establish the intensity
of linear relationship between X and Y.
oKarl Pearson’s coefficient correlation is represented by ‘r’.
oThe Pearson’s correlation measures the direction and degree of
linear relationship between two variables.
Formula
Merits and Demerits of Karl Pearson’s
Coefficient of Correlation
Merits Demerits
Karl Pearson’s coefficient of
correlation determines a single values
which summarizes the extent of linear
relationship. It also indicates types of
correlation.
It cannot be computed for qualitative
data such as honesty and intelligence,
beauty and intelligence.
It depends upon all observations. It is unduly affected by extreme
values.
It measures only linear relationship.
Applications of Karl Pearson’s
Coefficient of correlation
◦The Pearson correlation coefficient can be used
to summarize the strength of linear relationship
between two data samples.
◦The Pearson’s correlation coefficient is
calculated as the covariance of two variables
divided by the standard deviation of each data
sample.
Auto Correlation
Sometimes the observations X1,X2….., Xn are
interrelated among themselves. In other words
Xi’s are dependent. To measure such
dependence, we compute correlation among
the observation such a correlation is called
auto correlation.
Examples of Autocorrelation
◦During Monsoon, rainfall on nth day depends on rainfall on
(n-1)th Day or (n-2)th Day .
◦Price of share on nth day depends upon what happened on
earlier day or a few earlier days. In order to analyse the
data under this situation we make use of autocorrelation.
It has applications in the analysis of time series data.
Rank Correlation
◦Karl Pearson’s coefficient of correlation is the best
measure of correlation, however it poses difficulty in
measuring the correlation between qualitative
characteristics.
◦If the qualitative characteristics under study are recorded
using ordinal scale, we can arrange the items in ascending
or in descending order according to the merit that they
possess.
Rank Correlation
◦Ranking: Ordered arrangement if items according to merit
that they possess is called ranking.
◦Rank: The Number indicating the position in ranking is called
as rank.
◦Tie: Tie is said to occur in ranking if two or more items have
same merit. In this case we allot common rank to these items.
This rank is the average of ranks which would have been
allotted if the respective items would differ in merit slightly.
Rank Correlation
◦The product moment correlation between ranks is called
as Spearman’s rank correlation coefficient. It is
denoted by R.
◦R is a Karl Pearson’s coefficient of correlation for bivariate
data.
Rank Correlation
◦Spearman’s rank correlation is simple to compute as
compared t Karl Pearson’s coefficient of correlation. However
there is a loss of accuracy, whenever we compute it for
quantitative data.
◦Spearman’s rank correlation is most commonly used to
measure the correlation between the different traits such as
intelligence and mathematical aptitude.
◦Since R is Karl Pearson’s coefficient of correlation between the
ranks, it lies between -1 and 1.
Rank Correlation With Ties
oWhen ranking the data, ties(two or more
subjects having exactly the same value of a
variable) are likely to occur.
oIn case of ties, the tied observations receive the
same average rank.
Formula
Rank Correlation With Ties
oIf two or more items have same merit or quality, then
common rank is allotted to each of such items. This rank is
arithmetic mean of ranks which would have been given.
oIn case the corresponding items would differ slightly in
quality or merit. The number of items getting same rank
called as length of the tie.
Rank Correlation With Ties
oWe denote it by m. For example, suppose scores of the student
are to be ranked. Let the scores be arranged in increasing order.
oSupposed 3rd and 4th student have same scores, then we give
common rank to both. It will be an arithmetic mean of 3 and 4.
oHence, we give rank 3.5 to both the students. In this case length
of the tie is m = 2.
Thankyou.
JOSHUA RODRICK AND
MANAS PRADEEP

More Related Content

What's hot

Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
Mohit Asija
 
Correlation
CorrelationCorrelation
Correlation
Tech_MX
 
Correlationanalysis
CorrelationanalysisCorrelationanalysis
Correlationanalysis
Libu Thomas
 
Regression ppt
Regression pptRegression ppt
Regression ppt
Shraddha Tiwari
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
Salim Azad
 
Spearman’s rank correlation
Spearman’s rank correlation Spearman’s rank correlation
Spearman’s rank correlation
PritikaNeupane
 
Wilcoxon signed rank test
Wilcoxon signed rank testWilcoxon signed rank test
Wilcoxon signed rank test
Biswash Sapkota
 
Chi – square test
Chi – square testChi – square test
Chi – square test
Dr.M.Prasad Naidu
 
correlation and regression
correlation and regressioncorrelation and regression
correlation and regression
Unsa Shakir
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
Birinder Singh Gulati
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
Avjinder (Avi) Kaler
 
Karl pearson's correlation
Karl pearson's correlationKarl pearson's correlation
Karl pearson's correlation
fairoos1
 
Partial Correlation - Thiyagu
Partial Correlation - ThiyaguPartial Correlation - Thiyagu
Partial Correlation - Thiyagu
Thiyagu K
 
Karl pearson's coefficient of correlation (1)
Karl pearson's coefficient of correlation (1)Karl pearson's coefficient of correlation (1)
Karl pearson's coefficient of correlation (1)
teenathankachen1993
 
T test statistics
T test statisticsT test statistics
T test statistics
Mohammad Ihmeidan
 
Central tendency
Central tendencyCentral tendency
Central tendency
Andi Koentary
 
Correlation & Regression
Correlation & RegressionCorrelation & Regression
Correlation & Regression
Grant Heller
 
Regression
Regression Regression
Regression
Ali Raza
 
coefficient correlation
 coefficient correlation coefficient correlation
coefficient correlation
irshad narejo
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
RekhaChoudhary24
 

What's hot (20)

Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Correlation
CorrelationCorrelation
Correlation
 
Correlationanalysis
CorrelationanalysisCorrelationanalysis
Correlationanalysis
 
Regression ppt
Regression pptRegression ppt
Regression ppt
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Spearman’s rank correlation
Spearman’s rank correlation Spearman’s rank correlation
Spearman’s rank correlation
 
Wilcoxon signed rank test
Wilcoxon signed rank testWilcoxon signed rank test
Wilcoxon signed rank test
 
Chi – square test
Chi – square testChi – square test
Chi – square test
 
correlation and regression
correlation and regressioncorrelation and regression
correlation and regression
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Karl pearson's correlation
Karl pearson's correlationKarl pearson's correlation
Karl pearson's correlation
 
Partial Correlation - Thiyagu
Partial Correlation - ThiyaguPartial Correlation - Thiyagu
Partial Correlation - Thiyagu
 
Karl pearson's coefficient of correlation (1)
Karl pearson's coefficient of correlation (1)Karl pearson's coefficient of correlation (1)
Karl pearson's coefficient of correlation (1)
 
T test statistics
T test statisticsT test statistics
T test statistics
 
Central tendency
Central tendencyCentral tendency
Central tendency
 
Correlation & Regression
Correlation & RegressionCorrelation & Regression
Correlation & Regression
 
Regression
Regression Regression
Regression
 
coefficient correlation
 coefficient correlation coefficient correlation
coefficient correlation
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 

Similar to Correlation

P G STAT 531 Lecture 9 Correlation
P G STAT 531 Lecture 9 CorrelationP G STAT 531 Lecture 9 Correlation
P G STAT 531 Lecture 9 Correlation
Aashish Patel
 
Correlation Computations Thiyagu
Correlation Computations ThiyaguCorrelation Computations Thiyagu
Correlation Computations Thiyagu
Thiyagu K
 
Correlation.pptx
Correlation.pptxCorrelation.pptx
Correlation.pptx
Gauravchaudhary214677
 
OUANTITATIVE METHODS report group 5.pptx
OUANTITATIVE METHODS report group 5.pptxOUANTITATIVE METHODS report group 5.pptx
OUANTITATIVE METHODS report group 5.pptx
JustineMaeDacumos
 
The management of a regional bus line thought the companys cost of .pdf
 The management of a regional bus line thought the companys cost of .pdf The management of a regional bus line thought the companys cost of .pdf
The management of a regional bus line thought the companys cost of .pdf
nagaraj138348
 
Correlation
CorrelationCorrelation
Multivariate Analysis Degree of association between two variable - Test of Ho...
Multivariate Analysis Degree of association between two variable- Test of Ho...Multivariate Analysis Degree of association between two variable- Test of Ho...
Multivariate Analysis Degree of association between two variable - Test of Ho...
NiezelPertimos
 
CORRELATION.ppt
CORRELATION.pptCORRELATION.ppt
CORRELATION.ppt
sadiakhan783184
 
5 regressionand correlation
5 regressionand correlation5 regressionand correlation
5 regressionand correlation
Lama K Banna
 
Correlationanalysis
CorrelationanalysisCorrelationanalysis
Correlationanalysis
Libu Thomas
 
PPT Correlation.pptx
PPT Correlation.pptxPPT Correlation.pptx
PPT Correlation.pptx
MahamZeeshan5
 
Hph7310week2winter2009narr
Hph7310week2winter2009narrHph7310week2winter2009narr
Hph7310week2winter2009narr
Sarah
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
Padma Metta
 
Biostatistics - Correlation explanation.pptx
Biostatistics - Correlation explanation.pptxBiostatistics - Correlation explanation.pptx
Biostatistics - Correlation explanation.pptx
UVAS
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
ANCYBS
 
Correlation
CorrelationCorrelation
Correlation
rkalidasan
 
Correlation - Biostatistics
Correlation - BiostatisticsCorrelation - Biostatistics
Correlation - Biostatistics
Fahmida Swati
 
Class 9 Covariance & Correlation Concepts.pptx
Class 9 Covariance & Correlation Concepts.pptxClass 9 Covariance & Correlation Concepts.pptx
Class 9 Covariance & Correlation Concepts.pptx
CallplanetsDeveloper
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
Antony Raj
 
Artificial Intelligence (Unit - 8).pdf
Artificial Intelligence   (Unit  -  8).pdfArtificial Intelligence   (Unit  -  8).pdf
Artificial Intelligence (Unit - 8).pdf
SathyaNarayanan47813
 

Similar to Correlation (20)

P G STAT 531 Lecture 9 Correlation
P G STAT 531 Lecture 9 CorrelationP G STAT 531 Lecture 9 Correlation
P G STAT 531 Lecture 9 Correlation
 
Correlation Computations Thiyagu
Correlation Computations ThiyaguCorrelation Computations Thiyagu
Correlation Computations Thiyagu
 
Correlation.pptx
Correlation.pptxCorrelation.pptx
Correlation.pptx
 
OUANTITATIVE METHODS report group 5.pptx
OUANTITATIVE METHODS report group 5.pptxOUANTITATIVE METHODS report group 5.pptx
OUANTITATIVE METHODS report group 5.pptx
 
The management of a regional bus line thought the companys cost of .pdf
 The management of a regional bus line thought the companys cost of .pdf The management of a regional bus line thought the companys cost of .pdf
The management of a regional bus line thought the companys cost of .pdf
 
Correlation
CorrelationCorrelation
Correlation
 
Multivariate Analysis Degree of association between two variable - Test of Ho...
Multivariate Analysis Degree of association between two variable- Test of Ho...Multivariate Analysis Degree of association between two variable- Test of Ho...
Multivariate Analysis Degree of association between two variable - Test of Ho...
 
CORRELATION.ppt
CORRELATION.pptCORRELATION.ppt
CORRELATION.ppt
 
5 regressionand correlation
5 regressionand correlation5 regressionand correlation
5 regressionand correlation
 
Correlationanalysis
CorrelationanalysisCorrelationanalysis
Correlationanalysis
 
PPT Correlation.pptx
PPT Correlation.pptxPPT Correlation.pptx
PPT Correlation.pptx
 
Hph7310week2winter2009narr
Hph7310week2winter2009narrHph7310week2winter2009narr
Hph7310week2winter2009narr
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Biostatistics - Correlation explanation.pptx
Biostatistics - Correlation explanation.pptxBiostatistics - Correlation explanation.pptx
Biostatistics - Correlation explanation.pptx
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Correlation
CorrelationCorrelation
Correlation
 
Correlation - Biostatistics
Correlation - BiostatisticsCorrelation - Biostatistics
Correlation - Biostatistics
 
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 regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Artificial Intelligence (Unit - 8).pdf
Artificial Intelligence   (Unit  -  8).pdfArtificial Intelligence   (Unit  -  8).pdf
Artificial Intelligence (Unit - 8).pdf
 

Recently uploaded

ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 

Recently uploaded (20)

ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 

Correlation

  • 2. Introduction Many a times we come across situations where two variables are interrelated. For example: ◦ Marks and intelligence quotient of students. ◦ Demand and price of a certain commodity. ◦ Rainfall and agricultural production. ◦ Income and expenditure of a family. In these situations we may be interested in examining the relation between the two variables. Such interrelated variables are called as correlated variables.
  • 3. Definition of Correlation and Bivariate Data. Correlation is a statistical tool to measure the extent of linear relation between two variables. Bivariate Data: In order to determine correlation, we require data regarding two concerned variables. These data are called bivariate data. Whenever the variables X and Y are mentioned in the same item, they are likely to be correlated.
  • 4. Positive Correlation In some cases, ↑Increase in value of one variable is associated with ↑Increase in value of other variable or ↓Decrease in value of one variable is associated with ↓Decrease in value of other variable. Correlation between these variables is said to be POSITIVE.
  • 5. Negative Correlation In some situations ↑Increase in value of one variable is accompanied by ↓Decrease in value of other variable and ↓Decrease in value of one variable is accompanied by ↑Increase in value of the other Variable. Correlation between these two variables is said to be NEGATIVE.
  • 6. Examples of Positive and Negative Correlation Positive Correlation Negative Correlation Relationship between Sale of Cold Drinks and Temperature. Relationship between Alcohol Consumption and Driving Ability. Relationship Between DUI’s and Accidents. Relationship between Supply and price of commodity.
  • 7. No Correlation In some cases change in one variable is not related to change in other variable, In these cases there is said to be No Correlation or Zero Correlation between the two variables. For example, ◦ There is no relationship between the amount of tea drunk and level of intelligence. ◦ There is no relationship between height of students and grades scored in examinations.
  • 8. Measures of Correlation There are several measure of correlation some of which are: ◦Scatter Diagram ◦Karl Pearson’s Coefficient of Correlation ◦Rank Correlation
  • 9. Scatter Diagram Scatter Diagram is a graph of observed potted points where each points represents the value of X & Y as a coordinate. It portrays the relationship between these two variables graphically.
  • 10. Perfect Positive Correlation • A perfect positive correlation is given the value of 1.
  • 11. Perfect Negative Correlation • A perfect negative correlation is given the value of -1.
  • 12. Positive Correlation • If the data points make a straight line going from the origin out to high x- and y- values, then the variables are said to have a positive correlation.
  • 13. Negative Correlation • If the line goes from a high-value on the y- axis down to a high- value on the x-axis, the variables have a negative correlation.
  • 14. Non-Linear Correlation • Sometimes when we look at a plot of data there is an obvious nonlinear relationship. In other words, the plotted data have an obvious curved appearance. They are known as Non-Linear Correlation
  • 15. Merits and Demerits of Scatter Diagram Merits Demerits Scatter diagram is the simplest method of studying correlation. It does not give a numerical measure of of correlation. It is easy to understand. It is a subjective method. It is not influenced by extreme values. It cannot be applied to qualitative data.
  • 16. Karl Pearson’s Coefficient of correlation oThe Karl Pearson’s correlation coefficient method is quantitative and offers numerical value to establish the intensity of linear relationship between X and Y. oKarl Pearson’s coefficient correlation is represented by ‘r’. oThe Pearson’s correlation measures the direction and degree of linear relationship between two variables.
  • 18. Merits and Demerits of Karl Pearson’s Coefficient of Correlation Merits Demerits Karl Pearson’s coefficient of correlation determines a single values which summarizes the extent of linear relationship. It also indicates types of correlation. It cannot be computed for qualitative data such as honesty and intelligence, beauty and intelligence. It depends upon all observations. It is unduly affected by extreme values. It measures only linear relationship.
  • 19. Applications of Karl Pearson’s Coefficient of correlation ◦The Pearson correlation coefficient can be used to summarize the strength of linear relationship between two data samples. ◦The Pearson’s correlation coefficient is calculated as the covariance of two variables divided by the standard deviation of each data sample.
  • 20. Auto Correlation Sometimes the observations X1,X2….., Xn are interrelated among themselves. In other words Xi’s are dependent. To measure such dependence, we compute correlation among the observation such a correlation is called auto correlation.
  • 21. Examples of Autocorrelation ◦During Monsoon, rainfall on nth day depends on rainfall on (n-1)th Day or (n-2)th Day . ◦Price of share on nth day depends upon what happened on earlier day or a few earlier days. In order to analyse the data under this situation we make use of autocorrelation. It has applications in the analysis of time series data.
  • 22. Rank Correlation ◦Karl Pearson’s coefficient of correlation is the best measure of correlation, however it poses difficulty in measuring the correlation between qualitative characteristics. ◦If the qualitative characteristics under study are recorded using ordinal scale, we can arrange the items in ascending or in descending order according to the merit that they possess.
  • 23. Rank Correlation ◦Ranking: Ordered arrangement if items according to merit that they possess is called ranking. ◦Rank: The Number indicating the position in ranking is called as rank. ◦Tie: Tie is said to occur in ranking if two or more items have same merit. In this case we allot common rank to these items. This rank is the average of ranks which would have been allotted if the respective items would differ in merit slightly.
  • 24. Rank Correlation ◦The product moment correlation between ranks is called as Spearman’s rank correlation coefficient. It is denoted by R. ◦R is a Karl Pearson’s coefficient of correlation for bivariate data.
  • 25. Rank Correlation ◦Spearman’s rank correlation is simple to compute as compared t Karl Pearson’s coefficient of correlation. However there is a loss of accuracy, whenever we compute it for quantitative data. ◦Spearman’s rank correlation is most commonly used to measure the correlation between the different traits such as intelligence and mathematical aptitude. ◦Since R is Karl Pearson’s coefficient of correlation between the ranks, it lies between -1 and 1.
  • 26. Rank Correlation With Ties oWhen ranking the data, ties(two or more subjects having exactly the same value of a variable) are likely to occur. oIn case of ties, the tied observations receive the same average rank.
  • 28. Rank Correlation With Ties oIf two or more items have same merit or quality, then common rank is allotted to each of such items. This rank is arithmetic mean of ranks which would have been given. oIn case the corresponding items would differ slightly in quality or merit. The number of items getting same rank called as length of the tie.
  • 29. Rank Correlation With Ties oWe denote it by m. For example, suppose scores of the student are to be ranked. Let the scores be arranged in increasing order. oSupposed 3rd and 4th student have same scores, then we give common rank to both. It will be an arithmetic mean of 3 and 4. oHence, we give rank 3.5 to both the students. In this case length of the tie is m = 2.