SlideShare a Scribd company logo
CORRELATION AND LINEAR
REGRESSION
SIMPLE CORRELATION AND REGRESSION
ANALYSIS
AJENDRA SHARMA
CONTENTS
• WHAT IS CORRELATION
• TYPE OF RELATIONSHIP AND STRENGTH OF
ASSOCIATION
• PROPERTIES OF CORRELATION
• WHAT IS REGRESSION
• SIMPLE LINEAR REGRESSION
• REGRESSION LINE
• COEFFICIENT OF DETERMINATION
What is need of correlation?
 What happens to Sweater sales with increase in
temperature?
 What is the strength of association between them?
 Ice-cream sales vs temperature ?
 What is the strength of association between them?
 Which one of these two is stronger? How to quantify the
association?
What is Correlation
 It is a measure of association (linear association only)
 Formula for correlation coefficient
 r is the ratio of variance together and product of separate
variances
 r= cov(XY)/sd(x)*sd(y)
 r = [n(∑xy) – (∑ x)(∑ y)] / {[n(∑ x2
) – (∑ x)2
][n(∑ y2
) – (∑ y)2
]}1/2
 Where n is the number of data pairs, x is the independent
variable and y the dependent variable.
TYPE OF RELATIONSHIP
TYPE OF RELATIONSHIP
TYPE OF RELATIONSHIP
STRENGTH OF ASSOCIATION
 Correlation 0 - No linear
association
 Correlation 0 to 0.25 -
Negligible positive
association
 Correlation 0.25-0.5 - Weak
positive association
 Correlation 0.5-0.75 -
Moderate positive
association
 Correlation >0.75 - Very
Strong positive association
PROPERTIES OF CORRELATION
• -1 ≤ r ≤ +1
• r=0 represents no linear relationship between the two
Variables
• Correlation is unit free
Limitations:
• Though r measures how closely the two variables
approximate a straight line, it does not validly measures the
strength of nonlinear relationship
• When the sample size, n, is small we also have to be careful
with the reliability of the correlation
• Outliers could have a marked effect on r
REGRESSION
• Regression analysis is used to predict the value of one
variable (the dependent variable) on the basis of other
variables (the independent variables).
• In correlation, the two variables are treated as equals. In
regression, one variable is considered independent
(=predictor) variable (X) and the other the dependent
(=outcome) variable Y.
• Dependent variable: denoted Y
• Independent variables: denoted X1, X2, …, Xk
Y=β0 + β1X + ε
• Above model is referred to as simple linear regression. We
would be interested in estimating β0 and β1 from the data we
collect.
SIMPLE LINEAR REGRESSION
ANALYSIS
• If you know something about X, this knowledge helps you
predict something about Y.
Y=β0 + β1X + ε
Variables:
• X = Independent Variable (we provide this)
• Y = Dependent Variable (we observe this)
Parameters:
• β0 = Y-Intercept
• β1 = Slope
REGRESSION LINE
COEFFICIENT OF DETERMINATION
 The coefficient of determination is the portion of
the total variation in the dependent variable that
is explained by variation in the independent
variable
 The coefficient of determination is also called R-
squared and is denoted as R2
TYPE OF RELATIONSHIP
correlationandregression-180119033043.pdf

More Related Content

Similar to correlationandregression-180119033043.pdf (20)

PPT
5 regressionand correlation
Lama K Banna
 
PPTX
Correlaton vs regression report for master of education major in administrati...
aljonfronteras
 
PPTX
Regression & correlation coefficient
MuhamamdZiaSamad
 
PPTX
Correlation and regression
ANCYBS
 
PPTX
Linear-Regression-and-Correlation..pptx.
DreamCatcher86
 
PDF
Introduction to correlation and regression analysis
Farzad Javidanrad
 
PPTX
Introduction to simple linear regression and correlation in spss
Amjad Khan Afridi
 
PPTX
Simple correlation & Regression analysis
Afra Fathima
 
PDF
correlationppt-111222215110-phpapp02.pdf
KrishnaVamsiMuthinen
 
PPTX
Statistics ppt
PMuruganBalaMurugan
 
PPTX
Correlation and regression analysis
_pem
 
PPTX
STATISTICAL REGRESSION MODELS
Aneesa K Ayoob
 
PDF
Regression
AbidShahriar8
 
PPTX
Stat 1163 -correlation and regression
Khulna University
 
PPTX
CORRELATION AND REGRESSION.pptx
Rohit77460
 
PPTX
co relation and regression
Rehan ali
 
PPTX
Regression analysis and Correlation.pptx
PreetiAggarwal52
 
PPTX
Correletion.pptx
swapniltirmanwar
 
PPTX
Regression and Correlation Analysis-NEW NORMAL.pptx
MetcheAnneCasinilloL
 
PPT
correlation_regression.ppt
Richa Joshi
 
5 regressionand correlation
Lama K Banna
 
Correlaton vs regression report for master of education major in administrati...
aljonfronteras
 
Regression & correlation coefficient
MuhamamdZiaSamad
 
Correlation and regression
ANCYBS
 
Linear-Regression-and-Correlation..pptx.
DreamCatcher86
 
Introduction to correlation and regression analysis
Farzad Javidanrad
 
Introduction to simple linear regression and correlation in spss
Amjad Khan Afridi
 
Simple correlation & Regression analysis
Afra Fathima
 
correlationppt-111222215110-phpapp02.pdf
KrishnaVamsiMuthinen
 
Statistics ppt
PMuruganBalaMurugan
 
Correlation and regression analysis
_pem
 
STATISTICAL REGRESSION MODELS
Aneesa K Ayoob
 
Regression
AbidShahriar8
 
Stat 1163 -correlation and regression
Khulna University
 
CORRELATION AND REGRESSION.pptx
Rohit77460
 
co relation and regression
Rehan ali
 
Regression analysis and Correlation.pptx
PreetiAggarwal52
 
Correletion.pptx
swapniltirmanwar
 
Regression and Correlation Analysis-NEW NORMAL.pptx
MetcheAnneCasinilloL
 
correlation_regression.ppt
Richa Joshi
 

Recently uploaded (20)

PPTX
Appreciations - July 25.pptxsdsdsddddddsssss
anushavnayak
 
PDF
ANÁLISIS DE COSTO- PAUCAR RIVERA NEISY.pdf
neisypaucarr
 
PPTX
Appreciations - July 25.pptxdddddddddddss
anushavnayak
 
PDF
Driving the Energy Transition India’s Top Renewable Energy Solution Providers...
Essar Group
 
DOCX
Andrew C. Belton, MBA Resume - July 2025
Andrew C. Belton
 
PDF
Gregory Felber - A Dedicated Researcher
Gregory Felber
 
PDF
NewBase 24 July 2025 Energy News issue - 1805 by Khaled Al Awadi._compressed...
Khaled Al Awadi
 
PDF
From Fossil to Future Green Energy Companies Leading India’s Energy Transitio...
Essar Group
 
PDF
Retinal Disorder Treatment Market 2030: The Impact of Advanced Diagnostics an...
Kumar Satyam
 
PPTX
Piper 2025 Financial Year Shareholder Presentation
Piper Industries
 
PDF
Gregory Felber - An Accomplished Underwater Marine Biologist
Gregory Felber
 
PPTX
Andrew C. Belton, MBA Experience Portfolio July 2025
Andrew C. Belton
 
DOCX
Navigating Environmental Excellence ISO 140012015 Implementation in Pretoria....
Norocke Consulting
 
PDF
Agentic AI: The Autonomous Upgrade Your AI Stack Didn’t Know It Needed
Amnic
 
PDF
MBA-I-Year-Session-2024-20hzuxutiytidydy
cminati49
 
PPTX
Social Media Marketing for Business Growth
vidhi622006
 
PDF
Foundations Program Overview.pdfbbbbbbbb
martinpulpit
 
PDF
NewBase 26 July 2025 Energy News issue - 1806 by Khaled Al Awadi_compressed.pdf
Khaled Al Awadi
 
PPTX
FINAL _ DB x Forrester x Workday Webinar Buying Groups July 2025 (1).pptx
smarvin1
 
PDF
Unlocking Productivity: Practical AI Skills for Professionals
LOKAL
 
Appreciations - July 25.pptxsdsdsddddddsssss
anushavnayak
 
ANÁLISIS DE COSTO- PAUCAR RIVERA NEISY.pdf
neisypaucarr
 
Appreciations - July 25.pptxdddddddddddss
anushavnayak
 
Driving the Energy Transition India’s Top Renewable Energy Solution Providers...
Essar Group
 
Andrew C. Belton, MBA Resume - July 2025
Andrew C. Belton
 
Gregory Felber - A Dedicated Researcher
Gregory Felber
 
NewBase 24 July 2025 Energy News issue - 1805 by Khaled Al Awadi._compressed...
Khaled Al Awadi
 
From Fossil to Future Green Energy Companies Leading India’s Energy Transitio...
Essar Group
 
Retinal Disorder Treatment Market 2030: The Impact of Advanced Diagnostics an...
Kumar Satyam
 
Piper 2025 Financial Year Shareholder Presentation
Piper Industries
 
Gregory Felber - An Accomplished Underwater Marine Biologist
Gregory Felber
 
Andrew C. Belton, MBA Experience Portfolio July 2025
Andrew C. Belton
 
Navigating Environmental Excellence ISO 140012015 Implementation in Pretoria....
Norocke Consulting
 
Agentic AI: The Autonomous Upgrade Your AI Stack Didn’t Know It Needed
Amnic
 
MBA-I-Year-Session-2024-20hzuxutiytidydy
cminati49
 
Social Media Marketing for Business Growth
vidhi622006
 
Foundations Program Overview.pdfbbbbbbbb
martinpulpit
 
NewBase 26 July 2025 Energy News issue - 1806 by Khaled Al Awadi_compressed.pdf
Khaled Al Awadi
 
FINAL _ DB x Forrester x Workday Webinar Buying Groups July 2025 (1).pptx
smarvin1
 
Unlocking Productivity: Practical AI Skills for Professionals
LOKAL
 

correlationandregression-180119033043.pdf

  • 1. CORRELATION AND LINEAR REGRESSION SIMPLE CORRELATION AND REGRESSION ANALYSIS AJENDRA SHARMA
  • 2. CONTENTS • WHAT IS CORRELATION • TYPE OF RELATIONSHIP AND STRENGTH OF ASSOCIATION • PROPERTIES OF CORRELATION • WHAT IS REGRESSION • SIMPLE LINEAR REGRESSION • REGRESSION LINE • COEFFICIENT OF DETERMINATION
  • 3. What is need of correlation?  What happens to Sweater sales with increase in temperature?  What is the strength of association between them?  Ice-cream sales vs temperature ?  What is the strength of association between them?  Which one of these two is stronger? How to quantify the association?
  • 4. What is Correlation  It is a measure of association (linear association only)  Formula for correlation coefficient  r is the ratio of variance together and product of separate variances  r= cov(XY)/sd(x)*sd(y)  r = [n(∑xy) – (∑ x)(∑ y)] / {[n(∑ x2 ) – (∑ x)2 ][n(∑ y2 ) – (∑ y)2 ]}1/2  Where n is the number of data pairs, x is the independent variable and y the dependent variable.
  • 8. STRENGTH OF ASSOCIATION  Correlation 0 - No linear association  Correlation 0 to 0.25 - Negligible positive association  Correlation 0.25-0.5 - Weak positive association  Correlation 0.5-0.75 - Moderate positive association  Correlation >0.75 - Very Strong positive association
  • 9. PROPERTIES OF CORRELATION • -1 ≤ r ≤ +1 • r=0 represents no linear relationship between the two Variables • Correlation is unit free Limitations: • Though r measures how closely the two variables approximate a straight line, it does not validly measures the strength of nonlinear relationship • When the sample size, n, is small we also have to be careful with the reliability of the correlation • Outliers could have a marked effect on r
  • 10. REGRESSION • Regression analysis is used to predict the value of one variable (the dependent variable) on the basis of other variables (the independent variables). • In correlation, the two variables are treated as equals. In regression, one variable is considered independent (=predictor) variable (X) and the other the dependent (=outcome) variable Y. • Dependent variable: denoted Y • Independent variables: denoted X1, X2, …, Xk Y=β0 + β1X + ε • Above model is referred to as simple linear regression. We would be interested in estimating β0 and β1 from the data we collect.
  • 11. SIMPLE LINEAR REGRESSION ANALYSIS • If you know something about X, this knowledge helps you predict something about Y. Y=β0 + β1X + ε Variables: • X = Independent Variable (we provide this) • Y = Dependent Variable (we observe this) Parameters: • β0 = Y-Intercept • β1 = Slope
  • 13. COEFFICIENT OF DETERMINATION  The coefficient of determination is the portion of the total variation in the dependent variable that is explained by variation in the independent variable  The coefficient of determination is also called R- squared and is denoted as R2