SlideShare a Scribd company logo
Correlation and
Regression
-Aakriti Agarwal
Roll No. 13004
BMS 1A
Correlation

•
•

•

Correlation refers to statistical relationships
involving two random variables or sets of
data
The correlation coefficient is denoted by ‘r’
and ranges from -1 to +1
Tells the Direction and Measure of the
Relationship between two variables
Coefficient of Correlation
The coefficient of correlation can be:
perfectly negative
r=-1
strong negative
-1<r<0 and r closer to 1
weak negative
-1<r<0 and r closer to 0
independent
r=0
strong positive
0<r<1 and r closer to 1
weak positive
0<r<0 and r closer to 0
perfect positive
r=1

•
•
•
•
•
•
•
Methods to calculate
Correlation
Coefficient
Karl
Pearson

Spearman
Karl Pearson
𝑟=

𝑛
𝑖=0(𝑥1

𝑥1 − 𝑥

− 𝑥 )(𝑦1 − 𝑦)
2

𝑦1 − 𝑦

n - number of pairs of
observations

2
Data for Calculation in MS Excel
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013

Sales
(in Unit Lakhs)
9.1
10.1
9.3
9.9
11.3
10.9
11.6
12.5
14
14.5
15
15.6
16.2

18

16
14
12

Lakhs

Year

Marketing
Expenditure
(In Rs. Lakhs)
8
10.5
11
12
12.9
13.5
11.6
10.9
13
14
15.3
16
17

10
8

Expenditure In Lakhs

6

Sales in Lakhs

4
2
0
2000

2005

2010

Year

2015
Pearson in MS Excel
2

2

Year

x

y

2001

8

9.1

-4.746153846 22.52598 -3.20769 10.28929

15.2242

2002

10.5

10.1

-2.246153846 5.045207 -2.20769 4.873905

4.958817

2003

11

9.3

-1.746153846 3.049053 -3.00769 9.046213

5.251893

2004

12

9.9

-0.746153846 0.556746 -2.40769 5.796982

1.796509

2005

12.9

11.3

0.153846154 0.023669 -1.00769 1.015444

-0.15503

2006

13.5

10.9

0.753846154 0.568284 -1.40769 1.981598

-1.06118

2007

11.6

11.6

-1.146153846 1.313669 -0.70769 0.500828

0.811124

2008

10.9

12.5

-1.846153846 3.408284 0.192308 0.036982

-0.35503

2009

13

14

0.253846154 0.064438 1.692308 2.863905

0.429586

2010

14

14.5

1.253846154 1.57213 2.192308 4.806213

2.748817

2011

15.3

15

2.553846154 6.52213 2.692308 7.248521

6.87574

2012

16

15.6

3.253846154 10.58751 3.292308 10.83929

10.71266

2013

17

16.2

4.253846154 18.09521 3.892308 15.15006

16.55728

𝒙

12.74615

∑

∑

∑

𝒚

12.30769

73.33231

74.44923

63.79538

𝑥1 − 𝑥

𝑥𝑖 − 𝑥

𝑦𝑖 − 𝑦

𝑦𝑖 − 𝑦

(𝑥 𝑖 − 𝑥 )(𝑦 𝑖 − 𝑦)

r=$H$16/($E$16*$G$16)^0.5
∑(𝑥 𝑖 − 𝑥 )(𝑦 𝑖 − 𝑦)

∑ 𝑥𝑖 − 𝑥

Square
root

2

∑ 𝑦𝑖 − 𝑦

2

R= 0.863399
Spearman
𝑟 =1−

6

2
𝐷

+

1
𝑛
𝑖=0 12
𝑛3 − 𝑛

3
𝑚𝑖

− 𝑚𝑖

m=no. of times a pair of
observations is repeated
D=Rank 1- Rank 2
Spearman in MS Excel
Year

x

y

Rank 1

Rank 2

D(R1-R2)

𝐷2

2001

8

9.1

1

1

0

0

2002

10.5

10.1

2

4

-2

4

2003

11

9.3

4

2

2

4

2004

12

9.9

6

3

3

9

2005

12.9

11.3

7

6

1

1

2006

13.5

10.9

9

5

4

16

2007

11.6

11.6

5

7

-2

4

2008

10.9

12.5

3

8

-5

25

2009

13

14

8

9

-1

1

2010

14

14.5

10

10

0

0

2011

15.3

15

11

11

0

0

2012

16

15.6

12

12

0

0

2013

17

16.2

13

13

0

0

=SUM(F3:F15)
=64
∑𝐷2
=1-(6*F17)/($A$1*($A$1^2-1))
∑𝐷 2

squaring
No. of pairs of
observations

R=0.824176
Are Correlation and Causation the same?
Correlation ≠ Causation

If it were, these would be true...
Practical
Applications
Practical Application
Correlation is used in:
• Business
• Government
• Education
• Medicine
• Agriculture
Business
• Marketing Expenditure and Sales Volume
correlation (to measure the efficiency of
marketing department)
• Correlation between prices of two securities
in the stock market.
• Price of a commodity to supply(or demand)
correlation.
Government
• Year on Year Revenue and Expenditure
Correlation (to forecast revenue based on
expenditure)
• Tool in formulating various Economic Policies
by correlating past trends.
• Yardstick to measure performance
(Correlation between Planned and Actual
Revenue)
Education Models
• Forecasting of student input flows towards
elementary education (Correlation between
birth rate data and enrollment in
elementary grades)
• Forecasting of dropped out student flows at
different levels of education (intermediate,
graduate, post graduate)
Medicine
• Finding out after effects of interactions
between different medicines.
• Estimating the best treatment where
various methods are applicable
(Correlation between individual
treatments’ results and severity of
disease.
Agriculture
• Correlation between certain weather
conditions and Productivity.
• Correlation between irrigating and
Productivity.
• Correlation between price and production
or price and demand, to study demand
supply pattern of crops in different seasons.
Conclusion
• Correlation is one of the many effective
ways of forecasting and predicting
possible outcomes based on past
observations.
• Though other statistical methods too
need to be implemented to get a
complete picture of the situation.
Thank You

More Related Content

What's hot

Karl pearson's correlation
Karl pearson's correlationKarl pearson's correlation
Karl pearson's correlation
fairoos1
 
Hypothesis testing , T test , chi square test, z test
Hypothesis testing , T test , chi square test, z test Hypothesis testing , T test , chi square test, z test
Hypothesis testing , T test , chi square test, z test
Irfan Ullah
 
Spearman rank correlation coefficient
Spearman rank correlation coefficientSpearman rank correlation coefficient
Spearman rank correlation coefficient
Karishma Chaudhary
 
Spearman Rank Correlation Presentation
Spearman Rank Correlation PresentationSpearman Rank Correlation Presentation
Spearman Rank Correlation Presentationcae_021
 
Regression ppt
Regression pptRegression ppt
Regression ppt
Shraddha Tiwari
 
Correlationanalysis
CorrelationanalysisCorrelationanalysis
Correlationanalysis
Libu Thomas
 
What is a partial correlation?
What is a partial correlation?What is a partial correlation?
What is a partial correlation?
Ken Plummer
 
Regression analysis
Regression analysisRegression analysis
Regression analysissaba khan
 
Coefficient of correlation...ppt
Coefficient of correlation...pptCoefficient of correlation...ppt
Coefficient of correlation...ppt
Rahul Dhaker
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
Birinder Singh Gulati
 
Rank correlation
Rank correlationRank correlation
Rank correlation
Brainmapsolutions
 
Properties of correlation coefficient
Properties of correlation coefficientProperties of correlation coefficient
Properties of correlation coefficient
Raja Adapa
 
Phi Coefficient of Correlation - Thiyagu
Phi Coefficient of Correlation - ThiyaguPhi Coefficient of Correlation - Thiyagu
Phi Coefficient of Correlation - Thiyagu
Thiyagu K
 
Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemar
Azmi Mohd Tamil
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
cbt1213
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionKhalid Aziz
 
Correlation Analysis
Correlation AnalysisCorrelation Analysis
Correlation Analysis
Birinder Singh Gulati
 

What's hot (20)

PEARSON'CORRELATION
PEARSON'CORRELATION PEARSON'CORRELATION
PEARSON'CORRELATION
 
Karl pearson's correlation
Karl pearson's correlationKarl pearson's correlation
Karl pearson's correlation
 
Hypothesis testing , T test , chi square test, z test
Hypothesis testing , T test , chi square test, z test Hypothesis testing , T test , chi square test, z test
Hypothesis testing , T test , chi square test, z test
 
Spearman rank correlation coefficient
Spearman rank correlation coefficientSpearman rank correlation coefficient
Spearman rank correlation coefficient
 
Spearman Rank Correlation Presentation
Spearman Rank Correlation PresentationSpearman Rank Correlation Presentation
Spearman Rank Correlation Presentation
 
Regression ppt
Regression pptRegression ppt
Regression ppt
 
Correlationanalysis
CorrelationanalysisCorrelationanalysis
Correlationanalysis
 
What is a partial correlation?
What is a partial correlation?What is a partial correlation?
What is a partial correlation?
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Coefficient of correlation...ppt
Coefficient of correlation...pptCoefficient of correlation...ppt
Coefficient of correlation...ppt
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Confidence interval
Confidence intervalConfidence interval
Confidence interval
 
Rank correlation
Rank correlationRank correlation
Rank correlation
 
Properties of correlation coefficient
Properties of correlation coefficientProperties of correlation coefficient
Properties of correlation coefficient
 
Phi Coefficient of Correlation - Thiyagu
Phi Coefficient of Correlation - ThiyaguPhi Coefficient of Correlation - Thiyagu
Phi Coefficient of Correlation - Thiyagu
 
Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemar
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Correlation analysis
Correlation analysisCorrelation analysis
Correlation analysis
 
Correlation Analysis
Correlation AnalysisCorrelation Analysis
Correlation Analysis
 

Viewers also liked

Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
Shiela Vinarao
 
MS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATIONMS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATION
Mridul Bansal
 
Introduction to t-tests (statistics)
Introduction to t-tests (statistics)Introduction to t-tests (statistics)
Introduction to t-tests (statistics)
Dr Bryan Mills
 
Functions and formulas of ms excel
Functions and formulas of ms excelFunctions and formulas of ms excel
Functions and formulas of ms excel
madhuparna bhowmik
 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-test
Shakehand with Life
 
MS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATIONMS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATION
Mridul Bansal
 

Viewers also liked (9)

Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
MS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATIONMS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATION
 
Data Analysis Using Spss T Test
Data Analysis Using Spss   T TestData Analysis Using Spss   T Test
Data Analysis Using Spss T Test
 
Introduction to t-tests (statistics)
Introduction to t-tests (statistics)Introduction to t-tests (statistics)
Introduction to t-tests (statistics)
 
Functions and formulas of ms excel
Functions and formulas of ms excelFunctions and formulas of ms excel
Functions and formulas of ms excel
 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-test
 
T test
T testT test
T test
 
Ms excel 2007
Ms excel 2007Ms excel 2007
Ms excel 2007
 
MS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATIONMS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATION
 

Similar to Correlation analysis

correlation_and_covariance
correlation_and_covariancecorrelation_and_covariance
correlation_and_covarianceEkta Doger
 
correlation for statistics for 2nd year students
correlation for statistics for 2nd year studentscorrelation for statistics for 2nd year students
correlation for statistics for 2nd year students
SoujanyaLk1
 
Correlation
CorrelationCorrelation
Correlation
HemamaliniSakthivel
 
Measure of Association
Measure of AssociationMeasure of Association
Measure of Association
Kalahandi University
 
Pearson's correlation coefficient 
Pearson's correlation coefficient Pearson's correlation coefficient 
Pearson's correlation coefficient 
Topu Kawser
 
Correlation
CorrelationCorrelation
Correlation
rkalidasan
 
Linear Correlation
Linear Correlation Linear Correlation
Linear Correlation
Tarek Tawfik Amin
 
Artificial Intelligence (Unit - 8).pdf
Artificial Intelligence   (Unit  -  8).pdfArtificial Intelligence   (Unit  -  8).pdf
Artificial Intelligence (Unit - 8).pdf
SathyaNarayanan47813
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
Padma Metta
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
ANCYBS
 
Correlationanalysis
CorrelationanalysisCorrelationanalysis
Correlationanalysis
Libu Thomas
 
5 regressionand correlation
5 regressionand correlation5 regressionand correlation
5 regressionand correlation
Lama K Banna
 
Correlation.pdf
Correlation.pdfCorrelation.pdf
Correlation.pdf
DHARMENDRAKUMAR216662
 
Correlation
CorrelationCorrelation
Correlation
joshuarodrick
 
Unit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdfUnit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdf
Ravinandan A P
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
jasondroesch
 
Correlation and Regression Analysis.pptx
Correlation and Regression Analysis.pptxCorrelation and Regression Analysis.pptx
Correlation and Regression Analysis.pptx
asemzkgmu
 
correlation ;.pptx
correlation ;.pptxcorrelation ;.pptx
correlation ;.pptx
Melba Shaya Sweety
 

Similar to Correlation analysis (20)

correlation_and_covariance
correlation_and_covariancecorrelation_and_covariance
correlation_and_covariance
 
correlation for statistics for 2nd year students
correlation for statistics for 2nd year studentscorrelation for statistics for 2nd year students
correlation for statistics for 2nd year students
 
Correlation
CorrelationCorrelation
Correlation
 
Measure of Association
Measure of AssociationMeasure of Association
Measure of Association
 
Correlation
CorrelationCorrelation
Correlation
 
Pearson's correlation coefficient 
Pearson's correlation coefficient Pearson's correlation coefficient 
Pearson's correlation coefficient 
 
Correlation
CorrelationCorrelation
Correlation
 
Linear Correlation
Linear Correlation Linear Correlation
Linear Correlation
 
12 rhl gta
12 rhl gta12 rhl gta
12 rhl gta
 
Artificial Intelligence (Unit - 8).pdf
Artificial Intelligence   (Unit  -  8).pdfArtificial Intelligence   (Unit  -  8).pdf
Artificial Intelligence (Unit - 8).pdf
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Correlationanalysis
CorrelationanalysisCorrelationanalysis
Correlationanalysis
 
5 regressionand correlation
5 regressionand correlation5 regressionand correlation
5 regressionand correlation
 
Correlation.pdf
Correlation.pdfCorrelation.pdf
Correlation.pdf
 
Correlation
CorrelationCorrelation
Correlation
 
Unit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdfUnit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdf
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
Correlation and Regression Analysis.pptx
Correlation and Regression Analysis.pptxCorrelation and Regression Analysis.pptx
Correlation and Regression Analysis.pptx
 
correlation ;.pptx
correlation ;.pptxcorrelation ;.pptx
correlation ;.pptx
 

More from Aakriti Agarwal

Designing for Digital Confidence
Designing for Digital Confidence Designing for Digital Confidence
Designing for Digital Confidence
Aakriti Agarwal
 
Understanding the Major Happenings in the Oil Market. A slippery path!
Understanding the Major Happenings in the Oil Market. A slippery path!Understanding the Major Happenings in the Oil Market. A slippery path!
Understanding the Major Happenings in the Oil Market. A slippery path!
Aakriti Agarwal
 
IMC Strategy for Zoomcar
IMC Strategy for Zoomcar IMC Strategy for Zoomcar
IMC Strategy for Zoomcar
Aakriti Agarwal
 
Market Research Proposal - Capturing the Rural Market for Personal and Househ...
Market Research Proposal - Capturing the Rural Market for Personal and Househ...Market Research Proposal - Capturing the Rural Market for Personal and Househ...
Market Research Proposal - Capturing the Rural Market for Personal and Househ...
Aakriti Agarwal
 
QR Codes for Marketing in India
QR Codes for Marketing in IndiaQR Codes for Marketing in India
QR Codes for Marketing in India
Aakriti Agarwal
 
Social Media Strategy for Tata Docomo
Social Media Strategy for Tata DocomoSocial Media Strategy for Tata Docomo
Social Media Strategy for Tata Docomo
Aakriti Agarwal
 
Work Life Balance in an Indian PSU
Work Life Balance in an Indian PSUWork Life Balance in an Indian PSU
Work Life Balance in an Indian PSU
Aakriti Agarwal
 
The Patents Act in India
The Patents Act in IndiaThe Patents Act in India
The Patents Act in India
Aakriti Agarwal
 
Stress Caused by Social Networking in Organisations
Stress Caused by Social Networking in Organisations Stress Caused by Social Networking in Organisations
Stress Caused by Social Networking in Organisations
Aakriti Agarwal
 
Import Substitution in India: Issues, Challenges and Promotion
Import Substitution in India: Issues, Challenges and PromotionImport Substitution in India: Issues, Challenges and Promotion
Import Substitution in India: Issues, Challenges and Promotion
Aakriti Agarwal
 
Law Case Studies
Law Case StudiesLaw Case Studies
Law Case Studies
Aakriti Agarwal
 
The Role of Social Media in Employer Branding and Recruitment in Modern Organ...
The Role of Social Media in Employer Branding and Recruitment in Modern Organ...The Role of Social Media in Employer Branding and Recruitment in Modern Organ...
The Role of Social Media in Employer Branding and Recruitment in Modern Organ...
Aakriti Agarwal
 
Quantitative Study of Comparison between Indian GAAP and IFRS - Corporate Fin...
Quantitative Study of Comparison between Indian GAAP and IFRS - Corporate Fin...Quantitative Study of Comparison between Indian GAAP and IFRS - Corporate Fin...
Quantitative Study of Comparison between Indian GAAP and IFRS - Corporate Fin...
Aakriti Agarwal
 
Stress Caused by Social Networking in Organisations
Stress Caused by Social Networking in Organisations Stress Caused by Social Networking in Organisations
Stress Caused by Social Networking in Organisations
Aakriti Agarwal
 
Corporates and Social Networking
Corporates and Social NetworkingCorporates and Social Networking
Corporates and Social Networking
Aakriti Agarwal
 

More from Aakriti Agarwal (15)

Designing for Digital Confidence
Designing for Digital Confidence Designing for Digital Confidence
Designing for Digital Confidence
 
Understanding the Major Happenings in the Oil Market. A slippery path!
Understanding the Major Happenings in the Oil Market. A slippery path!Understanding the Major Happenings in the Oil Market. A slippery path!
Understanding the Major Happenings in the Oil Market. A slippery path!
 
IMC Strategy for Zoomcar
IMC Strategy for Zoomcar IMC Strategy for Zoomcar
IMC Strategy for Zoomcar
 
Market Research Proposal - Capturing the Rural Market for Personal and Househ...
Market Research Proposal - Capturing the Rural Market for Personal and Househ...Market Research Proposal - Capturing the Rural Market for Personal and Househ...
Market Research Proposal - Capturing the Rural Market for Personal and Househ...
 
QR Codes for Marketing in India
QR Codes for Marketing in IndiaQR Codes for Marketing in India
QR Codes for Marketing in India
 
Social Media Strategy for Tata Docomo
Social Media Strategy for Tata DocomoSocial Media Strategy for Tata Docomo
Social Media Strategy for Tata Docomo
 
Work Life Balance in an Indian PSU
Work Life Balance in an Indian PSUWork Life Balance in an Indian PSU
Work Life Balance in an Indian PSU
 
The Patents Act in India
The Patents Act in IndiaThe Patents Act in India
The Patents Act in India
 
Stress Caused by Social Networking in Organisations
Stress Caused by Social Networking in Organisations Stress Caused by Social Networking in Organisations
Stress Caused by Social Networking in Organisations
 
Import Substitution in India: Issues, Challenges and Promotion
Import Substitution in India: Issues, Challenges and PromotionImport Substitution in India: Issues, Challenges and Promotion
Import Substitution in India: Issues, Challenges and Promotion
 
Law Case Studies
Law Case StudiesLaw Case Studies
Law Case Studies
 
The Role of Social Media in Employer Branding and Recruitment in Modern Organ...
The Role of Social Media in Employer Branding and Recruitment in Modern Organ...The Role of Social Media in Employer Branding and Recruitment in Modern Organ...
The Role of Social Media in Employer Branding and Recruitment in Modern Organ...
 
Quantitative Study of Comparison between Indian GAAP and IFRS - Corporate Fin...
Quantitative Study of Comparison between Indian GAAP and IFRS - Corporate Fin...Quantitative Study of Comparison between Indian GAAP and IFRS - Corporate Fin...
Quantitative Study of Comparison between Indian GAAP and IFRS - Corporate Fin...
 
Stress Caused by Social Networking in Organisations
Stress Caused by Social Networking in Organisations Stress Caused by Social Networking in Organisations
Stress Caused by Social Networking in Organisations
 
Corporates and Social Networking
Corporates and Social NetworkingCorporates and Social Networking
Corporates and Social Networking
 

Recently uploaded

2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 

Recently uploaded (20)

2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 

Correlation analysis

  • 2. Correlation • • • Correlation refers to statistical relationships involving two random variables or sets of data The correlation coefficient is denoted by ‘r’ and ranges from -1 to +1 Tells the Direction and Measure of the Relationship between two variables
  • 3. Coefficient of Correlation The coefficient of correlation can be: perfectly negative r=-1 strong negative -1<r<0 and r closer to 1 weak negative -1<r<0 and r closer to 0 independent r=0 strong positive 0<r<1 and r closer to 1 weak positive 0<r<0 and r closer to 0 perfect positive r=1 • • • • • • •
  • 5. Karl Pearson 𝑟= 𝑛 𝑖=0(𝑥1 𝑥1 − 𝑥 − 𝑥 )(𝑦1 − 𝑦) 2 𝑦1 − 𝑦 n - number of pairs of observations 2
  • 6. Data for Calculation in MS Excel 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 Sales (in Unit Lakhs) 9.1 10.1 9.3 9.9 11.3 10.9 11.6 12.5 14 14.5 15 15.6 16.2 18 16 14 12 Lakhs Year Marketing Expenditure (In Rs. Lakhs) 8 10.5 11 12 12.9 13.5 11.6 10.9 13 14 15.3 16 17 10 8 Expenditure In Lakhs 6 Sales in Lakhs 4 2 0 2000 2005 2010 Year 2015
  • 7. Pearson in MS Excel 2 2 Year x y 2001 8 9.1 -4.746153846 22.52598 -3.20769 10.28929 15.2242 2002 10.5 10.1 -2.246153846 5.045207 -2.20769 4.873905 4.958817 2003 11 9.3 -1.746153846 3.049053 -3.00769 9.046213 5.251893 2004 12 9.9 -0.746153846 0.556746 -2.40769 5.796982 1.796509 2005 12.9 11.3 0.153846154 0.023669 -1.00769 1.015444 -0.15503 2006 13.5 10.9 0.753846154 0.568284 -1.40769 1.981598 -1.06118 2007 11.6 11.6 -1.146153846 1.313669 -0.70769 0.500828 0.811124 2008 10.9 12.5 -1.846153846 3.408284 0.192308 0.036982 -0.35503 2009 13 14 0.253846154 0.064438 1.692308 2.863905 0.429586 2010 14 14.5 1.253846154 1.57213 2.192308 4.806213 2.748817 2011 15.3 15 2.553846154 6.52213 2.692308 7.248521 6.87574 2012 16 15.6 3.253846154 10.58751 3.292308 10.83929 10.71266 2013 17 16.2 4.253846154 18.09521 3.892308 15.15006 16.55728 𝒙 12.74615 ∑ ∑ ∑ 𝒚 12.30769 73.33231 74.44923 63.79538 𝑥1 − 𝑥 𝑥𝑖 − 𝑥 𝑦𝑖 − 𝑦 𝑦𝑖 − 𝑦 (𝑥 𝑖 − 𝑥 )(𝑦 𝑖 − 𝑦) r=$H$16/($E$16*$G$16)^0.5 ∑(𝑥 𝑖 − 𝑥 )(𝑦 𝑖 − 𝑦) ∑ 𝑥𝑖 − 𝑥 Square root 2 ∑ 𝑦𝑖 − 𝑦 2 R= 0.863399
  • 8. Spearman 𝑟 =1− 6 2 𝐷 + 1 𝑛 𝑖=0 12 𝑛3 − 𝑛 3 𝑚𝑖 − 𝑚𝑖 m=no. of times a pair of observations is repeated D=Rank 1- Rank 2
  • 9. Spearman in MS Excel Year x y Rank 1 Rank 2 D(R1-R2) 𝐷2 2001 8 9.1 1 1 0 0 2002 10.5 10.1 2 4 -2 4 2003 11 9.3 4 2 2 4 2004 12 9.9 6 3 3 9 2005 12.9 11.3 7 6 1 1 2006 13.5 10.9 9 5 4 16 2007 11.6 11.6 5 7 -2 4 2008 10.9 12.5 3 8 -5 25 2009 13 14 8 9 -1 1 2010 14 14.5 10 10 0 0 2011 15.3 15 11 11 0 0 2012 16 15.6 12 12 0 0 2013 17 16.2 13 13 0 0 =SUM(F3:F15) =64 ∑𝐷2 =1-(6*F17)/($A$1*($A$1^2-1)) ∑𝐷 2 squaring No. of pairs of observations R=0.824176
  • 10. Are Correlation and Causation the same?
  • 11. Correlation ≠ Causation If it were, these would be true...
  • 13. Practical Application Correlation is used in: • Business • Government • Education • Medicine • Agriculture
  • 14. Business • Marketing Expenditure and Sales Volume correlation (to measure the efficiency of marketing department) • Correlation between prices of two securities in the stock market. • Price of a commodity to supply(or demand) correlation.
  • 15. Government • Year on Year Revenue and Expenditure Correlation (to forecast revenue based on expenditure) • Tool in formulating various Economic Policies by correlating past trends. • Yardstick to measure performance (Correlation between Planned and Actual Revenue)
  • 16. Education Models • Forecasting of student input flows towards elementary education (Correlation between birth rate data and enrollment in elementary grades) • Forecasting of dropped out student flows at different levels of education (intermediate, graduate, post graduate)
  • 17. Medicine • Finding out after effects of interactions between different medicines. • Estimating the best treatment where various methods are applicable (Correlation between individual treatments’ results and severity of disease.
  • 18. Agriculture • Correlation between certain weather conditions and Productivity. • Correlation between irrigating and Productivity. • Correlation between price and production or price and demand, to study demand supply pattern of crops in different seasons.
  • 19. Conclusion • Correlation is one of the many effective ways of forecasting and predicting possible outcomes based on past observations. • Though other statistical methods too need to be implemented to get a complete picture of the situation.