SlideShare una empresa de Scribd logo
1 de 26
CHAPTER-14
INTRODUCTION TO CORRELATION &
REGRESSION ANALYSIS
By
DR. PRASANT SARANGI
Key concepts:
 Introduction to Correlation Analysis
 Rank Correlation
 Linear Regression Analysis
 Multiple Regression Analysis
CORRELATION ANALYSIS
• Positive Correlation
• Negative Correlation
• Linear Correlation and
• Non-linear Correlation
Positive Correlation
• Two variables are said to be positively correlated when the movement of
the one variable leads the movement of the other variable in the same
direction.
• There exists direct relationship between the two variables.
Negative Correlation
• Correlation between two variables is said to be negative when the
movement of one variable leads to the movement in the other variable in
the opposite direction.
• Here there exists inverse relationship between the two variables.
Linear Correlation
• The correlation between two variables is said to be linear where the
points when drawn is a graph represents a straight line.
• Non-linear Correlation
A relationship between two variables is said to be non-linear if a unit change
in one variable causes the other variable to change in fluctuations.
If X is changed then corresponding values of Y will not change in the same
proportion.
Methods of Measuring Correlation
• The Graphical Method
The correlation can be graphically shown by using scatter diagrams.
Scatter diagram reveals two important useful information.
Firstly, through this diagram, one can observe the patterns between two
variables which indicate whether there exists some association between
the variables or not.
Secondly, if an association between the variables is found, then it can be
easily identified regarding the nature of relationship between the two
(whether two variables are linearly related or non-linearly related).
• Karl Pearson’s Coefficient of Correlation
Karl Pearson’s coefficient of correlation (developed in 1986) measures
linear relationship between two variables under study.
Since, the relationship is expressed is linear, hence, two variables change
in a fixed proportion.
This measure provides the answer of the degree of relationship in real
number, independent of the units in which the variables have been
expressed, and also indicates the direction of the correlation.
• Direct method
∑∑
∑=
22
ii
ii
XY
yx
yx
r
Assumed Mean Method
∑ ∑∑ ∑
∑ ∑ ∑
−−
−
=
2222
)()(
))((
YYXX
YXYX
XY
ddnddn
ddddn
r
• Grouped Data
∑ ∑∑ ∑
∑ ∑
−−
−
=
2222
)()(
))((
YYXX
YXYX
XY
fdfdnfdfdn
fdfddfdn
r
Assumptions of Coefficient of Correlation
1. The Value of the Coefficient of Correlation Lies between -1 (minus
one) to +1 (plus one).
2. The Value of the Coefficient of Correlation is Independent of the Change
of Origin and Change of Scale of Measurement
∑ ∑∑ ∑
∑ ∑ ∑
−−
−
=
2222
)()(
)()(
iiii
iiii
XY
kknhhn
khkhn
r
Rank Correlation Coefficient
There are three different situations of applying the Spearman’s rank
correlation coefficient.
• When ranks of both the variables are given
• When ranks of both the variables are not given and
• When ranks between two or more observations in a series are
equal
• When Ranks of Both the Variables are Given
)(
6
1
6
1 2
2
3
2
nnn
d
or
nn
d
RXY
−
−
−
−=
∑∑
When Ranks of both the Variables are not Given
•In such cases, each observation in the series is to be ranked first.
•The selection of highest value depends on the researcher.
• In other words, either the highest value or the lowest value will be ranked 1
(one) depends upon the decision of the researcher.
• When Ranks between Two or More Observations in a Series are Equal
• The ranks to be assigned to each observation are an average of the ranks
which these observations would have got, if they differed from each
other.
)1(
......)(
12
1
)(
12
1
)(
12
1
6
1 2
3
3
32
3
21
3
1
2
−






+−+−+−+
−=
∑
nn
mmmmmmd
RXY
Simple Linear Regression Model
What do we use regression models for:
1. Estimate a relationship among economic variables, such as
y = f(x).
2. Test hypotheses
3. Forecast or predict the value of one variable, y, based
on the value of another variable, x.
Dependent and Independent Variables
Dependent variable - the variable we are trying to explain
Independent (or explanatory) variables - variables that we think cause
movements in the dependent variable
Simple Regression Model
Y = dependent variable
X = independent variable
Model is: Y = α + β X
α is the intercept or constant
β is the slope coefficient
Linearity
Models that are linear in the variables and in the coefficients:
Y = α + β X
Models that are nonlinear in the variables but linear in the coefficients:
Y = α + β X2
Models that are nonlinear in the variables and in the coefficients:
Y = α + X β
Some models that are nonlinear can be made linear in the coefficients:
Y = e α
X β
take logs:
ln Y = α + β ln X
r
{α
∆Χ
∆E(Y|X)
E(Y|X)
Average
Expenditure
X (income)
E(Y|X)= α +βX
β=
∆E(Y|X)
∆X
An Example showing income and average expenditure
Error Term
Y is a random variable composed of two parts:
I. Systematic component: E(Y) = α+ βX
This is the mean of Y.
II. Random component: u = Y - E(Y | X)
= Y - α- βX
u is called the stochastic or random error.
Together E(Y) and u form the model:
Y = α+ βX + u
Sources of error term
• Dependent variable measured with error
• Model left out relevant variables
• Wrong functional form
• Inherent randomness of behaviour
True Relationship
u4
Y
X
E(Y)= α + β X
•
•
Y4
Y1
Y3
Y2
X1 X2 X3 X4
u1
u2
u3
The Estimated Model
We use the data on Y and X to come up with guesses for α and β. These
estimated parameters or coefficients are
α and β cap
^ ^
Our estimated, or “fitted”, model gives the predicted value for Y for any given
X:
Yi = α + β Xi
The residual is the difference between the actual or observed value of Y and
the predicted value:
ui = Yi - Yi = Yi - α - β Xi
^ ^ ^
^ ^ ^ ^

Más contenido relacionado

La actualidad más candente

Simple linear regression analysis
Simple linear  regression analysisSimple linear  regression analysis
Simple linear regression analysisNorma Mingo
 
Functional Forms of Regression Models | Eonomics
Functional Forms of Regression Models | EonomicsFunctional Forms of Regression Models | Eonomics
Functional Forms of Regression Models | EonomicsTransweb Global Inc
 
Introduction to Regression Analysis and R
Introduction to Regression Analysis and R   Introduction to Regression Analysis and R
Introduction to Regression Analysis and R Rachana Taneja Bhatia
 
Regression analysis
Regression analysisRegression analysis
Regression analysisSohag Babu
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regressionjasondroesch
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis pptElkana Rorio
 
Simple regression and correlation
Simple regression and correlationSimple regression and correlation
Simple regression and correlationMary Grace
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression AnalysisASAD ALI
 
Research Methodology Module-06
Research Methodology Module-06Research Methodology Module-06
Research Methodology Module-06Kishor Ade
 
Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)Muhammadasif909
 
Regression analysis algorithm
Regression analysis algorithm Regression analysis algorithm
Regression analysis algorithm Sammer Qader
 

La actualidad más candente (18)

Simple linear regression analysis
Simple linear  regression analysisSimple linear  regression analysis
Simple linear regression analysis
 
Regression
RegressionRegression
Regression
 
Regression
Regression Regression
Regression
 
Functional Forms of Regression Models | Eonomics
Functional Forms of Regression Models | EonomicsFunctional Forms of Regression Models | Eonomics
Functional Forms of Regression Models | Eonomics
 
Introduction to Regression Analysis and R
Introduction to Regression Analysis and R   Introduction to Regression Analysis and R
Introduction to Regression Analysis and R
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis ppt
 
Bivariate
BivariateBivariate
Bivariate
 
Simple regression and correlation
Simple regression and correlationSimple regression and correlation
Simple regression and correlation
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Research Methodology Module-06
Research Methodology Module-06Research Methodology Module-06
Research Methodology Module-06
 
Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Regression ppt
Regression pptRegression ppt
Regression ppt
 
Linear regression analysis
Linear regression analysisLinear regression analysis
Linear regression analysis
 
Regression analysis algorithm
Regression analysis algorithm Regression analysis algorithm
Regression analysis algorithm
 

Similar a Research Methodology-Chapter 14

Correlation and Regression.pptx
Correlation and Regression.pptxCorrelation and Regression.pptx
Correlation and Regression.pptxJayaprakash985685
 
Regression and Co-Relation
Regression and Co-RelationRegression and Co-Relation
Regression and Co-Relationnuwan udugampala
 
STATISTICAL REGRESSION MODELS
STATISTICAL REGRESSION MODELSSTATISTICAL REGRESSION MODELS
STATISTICAL REGRESSION MODELSAneesa K Ayoob
 
Unit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdfUnit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdfRavinandan A P
 
SM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptx
SM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptxSM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptx
SM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptxManjulasingh17
 
correlation.final.ppt (1).pptx
correlation.final.ppt (1).pptxcorrelation.final.ppt (1).pptx
correlation.final.ppt (1).pptxChieWoo1
 
correlationandregression-180119033043.pdf
correlationandregression-180119033043.pdfcorrelationandregression-180119033043.pdf
correlationandregression-180119033043.pdfMuhammadAftab89
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionAjendra7846
 
Correlation _ Regression Analysis statistics.pptx
Correlation _ Regression Analysis statistics.pptxCorrelation _ Regression Analysis statistics.pptx
Correlation _ Regression Analysis statistics.pptxkrunal soni
 
REGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HEREREGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HEREShriramKargaonkar
 
Module 2_ Regression Models..pptx
Module 2_ Regression Models..pptxModule 2_ Regression Models..pptx
Module 2_ Regression Models..pptxnikshaikh786
 
Calculation of covariance and simple linear models
Calculation of covariance and simple linear models Calculation of covariance and simple linear models
Calculation of covariance and simple linear models Thendral Kumaresan
 
Sumit presentation
Sumit presentationSumit presentation
Sumit presentationSumit Bharti
 

Similar a Research Methodology-Chapter 14 (20)

Correlation and Regression.pptx
Correlation and Regression.pptxCorrelation and Regression.pptx
Correlation and Regression.pptx
 
Regression and Co-Relation
Regression and Co-RelationRegression and Co-Relation
Regression and Co-Relation
 
STATISTICAL REGRESSION MODELS
STATISTICAL REGRESSION MODELSSTATISTICAL REGRESSION MODELS
STATISTICAL REGRESSION MODELS
 
Unit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdfUnit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdf
 
SM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptx
SM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptxSM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptx
SM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptx
 
Correlation
CorrelationCorrelation
Correlation
 
IDS.pdf
IDS.pdfIDS.pdf
IDS.pdf
 
correlation.final.ppt (1).pptx
correlation.final.ppt (1).pptxcorrelation.final.ppt (1).pptx
correlation.final.ppt (1).pptx
 
correlationandregression-180119033043.pdf
correlationandregression-180119033043.pdfcorrelationandregression-180119033043.pdf
correlationandregression-180119033043.pdf
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Correlation _ Regression Analysis statistics.pptx
Correlation _ Regression Analysis statistics.pptxCorrelation _ Regression Analysis statistics.pptx
Correlation _ Regression Analysis statistics.pptx
 
REGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HEREREGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HERE
 
Module 2_ Regression Models..pptx
Module 2_ Regression Models..pptxModule 2_ Regression Models..pptx
Module 2_ Regression Models..pptx
 
Correlation and Regression
Correlation and Regression Correlation and Regression
Correlation and Regression
 
Calculation of covariance and simple linear models
Calculation of covariance and simple linear models Calculation of covariance and simple linear models
Calculation of covariance and simple linear models
 
Correlations
CorrelationsCorrelations
Correlations
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Sumit presentation
Sumit presentationSumit presentation
Sumit presentation
 
A correlation analysis.ppt 2018
A correlation analysis.ppt 2018A correlation analysis.ppt 2018
A correlation analysis.ppt 2018
 
Correlation
CorrelationCorrelation
Correlation
 

Último

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 

Último (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 

Research Methodology-Chapter 14

  • 1. CHAPTER-14 INTRODUCTION TO CORRELATION & REGRESSION ANALYSIS By DR. PRASANT SARANGI
  • 2. Key concepts:  Introduction to Correlation Analysis  Rank Correlation  Linear Regression Analysis  Multiple Regression Analysis
  • 3. CORRELATION ANALYSIS • Positive Correlation • Negative Correlation • Linear Correlation and • Non-linear Correlation
  • 4. Positive Correlation • Two variables are said to be positively correlated when the movement of the one variable leads the movement of the other variable in the same direction. • There exists direct relationship between the two variables.
  • 5. Negative Correlation • Correlation between two variables is said to be negative when the movement of one variable leads to the movement in the other variable in the opposite direction. • Here there exists inverse relationship between the two variables.
  • 6. Linear Correlation • The correlation between two variables is said to be linear where the points when drawn is a graph represents a straight line. • Non-linear Correlation A relationship between two variables is said to be non-linear if a unit change in one variable causes the other variable to change in fluctuations. If X is changed then corresponding values of Y will not change in the same proportion.
  • 7. Methods of Measuring Correlation • The Graphical Method The correlation can be graphically shown by using scatter diagrams. Scatter diagram reveals two important useful information. Firstly, through this diagram, one can observe the patterns between two variables which indicate whether there exists some association between the variables or not. Secondly, if an association between the variables is found, then it can be easily identified regarding the nature of relationship between the two (whether two variables are linearly related or non-linearly related).
  • 8. • Karl Pearson’s Coefficient of Correlation Karl Pearson’s coefficient of correlation (developed in 1986) measures linear relationship between two variables under study. Since, the relationship is expressed is linear, hence, two variables change in a fixed proportion. This measure provides the answer of the degree of relationship in real number, independent of the units in which the variables have been expressed, and also indicates the direction of the correlation.
  • 9. • Direct method ∑∑ ∑= 22 ii ii XY yx yx r Assumed Mean Method ∑ ∑∑ ∑ ∑ ∑ ∑ −− − = 2222 )()( ))(( YYXX YXYX XY ddnddn ddddn r
  • 10. • Grouped Data ∑ ∑∑ ∑ ∑ ∑ −− − = 2222 )()( ))(( YYXX YXYX XY fdfdnfdfdn fdfddfdn r
  • 11. Assumptions of Coefficient of Correlation 1. The Value of the Coefficient of Correlation Lies between -1 (minus one) to +1 (plus one). 2. The Value of the Coefficient of Correlation is Independent of the Change of Origin and Change of Scale of Measurement ∑ ∑∑ ∑ ∑ ∑ ∑ −− − = 2222 )()( )()( iiii iiii XY kknhhn khkhn r
  • 12. Rank Correlation Coefficient There are three different situations of applying the Spearman’s rank correlation coefficient. • When ranks of both the variables are given • When ranks of both the variables are not given and • When ranks between two or more observations in a series are equal
  • 13. • When Ranks of Both the Variables are Given )( 6 1 6 1 2 2 3 2 nnn d or nn d RXY − − − −= ∑∑ When Ranks of both the Variables are not Given •In such cases, each observation in the series is to be ranked first. •The selection of highest value depends on the researcher. • In other words, either the highest value or the lowest value will be ranked 1 (one) depends upon the decision of the researcher.
  • 14. • When Ranks between Two or More Observations in a Series are Equal • The ranks to be assigned to each observation are an average of the ranks which these observations would have got, if they differed from each other. )1( ......)( 12 1 )( 12 1 )( 12 1 6 1 2 3 3 32 3 21 3 1 2 −       +−+−+−+ −= ∑ nn mmmmmmd RXY
  • 16. What do we use regression models for: 1. Estimate a relationship among economic variables, such as y = f(x). 2. Test hypotheses 3. Forecast or predict the value of one variable, y, based on the value of another variable, x.
  • 17. Dependent and Independent Variables Dependent variable - the variable we are trying to explain Independent (or explanatory) variables - variables that we think cause movements in the dependent variable
  • 18. Simple Regression Model Y = dependent variable X = independent variable Model is: Y = α + β X α is the intercept or constant β is the slope coefficient
  • 19. Linearity Models that are linear in the variables and in the coefficients: Y = α + β X Models that are nonlinear in the variables but linear in the coefficients: Y = α + β X2
  • 20. Models that are nonlinear in the variables and in the coefficients: Y = α + X β Some models that are nonlinear can be made linear in the coefficients: Y = e α X β take logs: ln Y = α + β ln X
  • 21. r {α ∆Χ ∆E(Y|X) E(Y|X) Average Expenditure X (income) E(Y|X)= α +βX β= ∆E(Y|X) ∆X An Example showing income and average expenditure
  • 22. Error Term Y is a random variable composed of two parts: I. Systematic component: E(Y) = α+ βX This is the mean of Y. II. Random component: u = Y - E(Y | X) = Y - α- βX u is called the stochastic or random error. Together E(Y) and u form the model: Y = α+ βX + u
  • 23. Sources of error term • Dependent variable measured with error • Model left out relevant variables • Wrong functional form • Inherent randomness of behaviour
  • 24. True Relationship u4 Y X E(Y)= α + β X • • Y4 Y1 Y3 Y2 X1 X2 X3 X4 u1 u2 u3
  • 25. The Estimated Model We use the data on Y and X to come up with guesses for α and β. These estimated parameters or coefficients are α and β cap ^ ^
  • 26. Our estimated, or “fitted”, model gives the predicted value for Y for any given X: Yi = α + β Xi The residual is the difference between the actual or observed value of Y and the predicted value: ui = Yi - Yi = Yi - α - β Xi ^ ^ ^ ^ ^ ^ ^