SlideShare uma empresa Scribd logo
1 de 20
Baixar para ler offline
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

Mais conteúdo relacionado

Mais procurados

Presentation on regression analysis
Presentation on regression analysisPresentation on regression analysis
Presentation on regression analysisSujeet Singh
 
Correlation IN STATISTICS
Correlation IN STATISTICSCorrelation IN STATISTICS
Correlation IN STATISTICSKriace Ward
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionMOHIT PANCHAL
 
Unit ibp801 t l multiple correlation a24022022
Unit ibp801 t  l multiple correlation a24022022Unit ibp801 t  l multiple correlation a24022022
Unit ibp801 t l multiple correlation a24022022ashish7sattee
 
Correlationanalysis
CorrelationanalysisCorrelationanalysis
CorrelationanalysisLibu Thomas
 
Mpc 006 - 02-03 partial and multiple correlation
Mpc 006 - 02-03 partial and multiple correlationMpc 006 - 02-03 partial and multiple correlation
Mpc 006 - 02-03 partial and multiple correlationVasant Kothari
 
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 analysisbijuhari
 
Regression analysis.
Regression analysis.Regression analysis.
Regression analysis.sonia gupta
 
Correlation coefficient
Correlation coefficientCorrelation coefficient
Correlation coefficientCarlo Magno
 
Multiple Correlation - Thiyagu
Multiple Correlation - ThiyaguMultiple Correlation - Thiyagu
Multiple Correlation - ThiyaguThiyagu K
 

Mais procurados (20)

Regression
RegressionRegression
Regression
 
Meaning and types of correlation
Meaning and types of correlationMeaning and types of correlation
Meaning and types of correlation
 
Presentation on regression analysis
Presentation on regression analysisPresentation on regression analysis
Presentation on regression analysis
 
Correlation IN STATISTICS
Correlation IN STATISTICSCorrelation IN STATISTICS
Correlation IN STATISTICS
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Regression
RegressionRegression
Regression
 
Regression ppt
Regression pptRegression ppt
Regression ppt
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Unit ibp801 t l multiple correlation a24022022
Unit ibp801 t  l multiple correlation a24022022Unit ibp801 t  l multiple correlation a24022022
Unit ibp801 t l multiple correlation a24022022
 
Correlationanalysis
CorrelationanalysisCorrelationanalysis
Correlationanalysis
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Correlation
CorrelationCorrelation
Correlation
 
Mpc 006 - 02-03 partial and multiple correlation
Mpc 006 - 02-03 partial and multiple correlationMpc 006 - 02-03 partial and multiple correlation
Mpc 006 - 02-03 partial and multiple correlation
 
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
 
Regression analysis.
Regression analysis.Regression analysis.
Regression analysis.
 
Correlation
CorrelationCorrelation
Correlation
 
Correlation coefficient
Correlation coefficientCorrelation coefficient
Correlation coefficient
 
Multiple Correlation - Thiyagu
Multiple Correlation - ThiyaguMultiple Correlation - Thiyagu
Multiple Correlation - Thiyagu
 

Destaque

MS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATIONMS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATIONMridul Bansal
 
Correlation and Regression Analysis using SPSS and Microsoft Excel
Correlation and Regression Analysis using SPSS and Microsoft ExcelCorrelation and Regression Analysis using SPSS and Microsoft Excel
Correlation and Regression Analysis using SPSS and Microsoft ExcelSetia Pramana
 
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 excelmadhuparna 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-testShakehand with Life
 
MS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATIONMS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATIONMridul Bansal
 

Destaque (10)

Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
MS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATIONMS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATION
 
Correlation and Regression Analysis using SPSS and Microsoft Excel
Correlation and Regression Analysis using SPSS and Microsoft ExcelCorrelation and Regression Analysis using SPSS and Microsoft Excel
Correlation and Regression Analysis using SPSS and Microsoft Excel
 
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
 

Semelhante a Correlation and Regression Analysis Explained

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 studentsSoujanyaLk1
 
Pearson's correlation coefficient 
Pearson's correlation coefficient Pearson's correlation coefficient 
Pearson's correlation coefficient Topu Kawser
 
Artificial Intelligence (Unit - 8).pdf
Artificial Intelligence   (Unit  -  8).pdfArtificial Intelligence   (Unit  -  8).pdf
Artificial Intelligence (Unit - 8).pdfSathyaNarayanan47813
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionPadma Metta
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionANCYBS
 
Correlationanalysis
CorrelationanalysisCorrelationanalysis
CorrelationanalysisLibu Thomas
 
5 regressionand correlation
5 regressionand correlation5 regressionand correlation
5 regressionand correlationLama K Banna
 
Unit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdfUnit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdfRavinandan A P
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regressionjasondroesch
 
Correlation and Regression Analysis.pptx
Correlation and Regression Analysis.pptxCorrelation and Regression Analysis.pptx
Correlation and Regression Analysis.pptxasemzkgmu
 

Semelhante a Correlation and Regression Analysis Explained (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
 
PEARSON'CORRELATION
PEARSON'CORRELATION PEARSON'CORRELATION
PEARSON'CORRELATION
 
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
 

Mais de 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 IndiaAakriti Agarwal
 
Social Media Strategy for Tata Docomo
Social Media Strategy for Tata DocomoSocial Media Strategy for Tata Docomo
Social Media Strategy for Tata DocomoAakriti 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 PSUAakriti Agarwal
 
The Patents Act in India
The Patents Act in IndiaThe Patents Act in India
The Patents Act in IndiaAakriti 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 PromotionAakriti 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 NetworkingAakriti Agarwal
 

Mais de 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
 

Último

Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptxJonalynLegaspi2
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 

Último (20)

Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptx
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 

Correlation and Regression Analysis Explained

  • 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.