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

Correlation _ Regression Analysis statistics.pptx
Correlation _ Regression Analysis statistics.pptxCorrelation _ Regression Analysis statistics.pptx
Correlation _ Regression Analysis statistics.pptx
krunal soni
 
11. simple regression and correlation analysis
11. simple regression and correlation analysis11. simple regression and correlation analysis
11. simple regression and correlation analysis
Yohanes Kevin
 
regression and correlation
regression and correlationregression and correlation
regression and correlation
Priya Sharma
 
Regression
RegressionRegression
Regression
Regent University
 
Correlation
CorrelationCorrelation
Correlation
CorrelationCorrelation
Correlation
Anjali Awasthi
 
correlation and regression
correlation and regressioncorrelation and regression
correlation and regression
Faiezah Zulkifli
 
12 rhl gta
12 rhl gta12 rhl gta
12 rhl gta
Nabhoneil Basu
 
Regression & correlation coefficient
Regression & correlation coefficientRegression & correlation coefficient
Regression & correlation coefficient
MuhamamdZiaSamad
 
Linear regression
Linear regressionLinear regression
Linear regression
Regent University
 
RANDOM SIGNALS ANALYSIS pdf.pdf
RANDOM SIGNALS ANALYSIS pdf.pdfRANDOM SIGNALS ANALYSIS pdf.pdf
RANDOM SIGNALS ANALYSIS pdf.pdf
DarshanAher5
 
Correlation
CorrelationCorrelation
Correlation
Shrayas Suryakumar
 
Regression & correlation
Regression & correlationRegression & correlation
Regression & correlation
Atiq Rehman
 
regression
regressionregression
correlation.pptx
correlation.pptxcorrelation.pptx
correlation.pptx
KrishnaVamsiMuthinen
 
STATISTICAL REGRESSION MODELS
STATISTICAL REGRESSION MODELSSTATISTICAL REGRESSION MODELS
STATISTICAL REGRESSION MODELS
Aneesa K Ayoob
 
Statistics ppt
Statistics pptStatistics ppt
Statistics ppt
PMuruganBalaMurugan
 
Simple correlation & Regression analysis
Simple correlation & Regression analysisSimple correlation & Regression analysis
Simple correlation & Regression analysis
Afra Fathima
 
IDS.pdf
IDS.pdfIDS.pdf
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
Padma Metta
 

Similar to correlationandregression-180119033043.pdf (20)

Correlation _ Regression Analysis statistics.pptx
Correlation _ Regression Analysis statistics.pptxCorrelation _ Regression Analysis statistics.pptx
Correlation _ Regression Analysis statistics.pptx
 
11. simple regression and correlation analysis
11. simple regression and correlation analysis11. simple regression and correlation analysis
11. simple regression and correlation analysis
 
regression and correlation
regression and correlationregression and correlation
regression and correlation
 
Regression
RegressionRegression
Regression
 
Correlation
CorrelationCorrelation
Correlation
 
Correlation
CorrelationCorrelation
Correlation
 
correlation and regression
correlation and regressioncorrelation and regression
correlation and regression
 
12 rhl gta
12 rhl gta12 rhl gta
12 rhl gta
 
Regression & correlation coefficient
Regression & correlation coefficientRegression & correlation coefficient
Regression & correlation coefficient
 
Linear regression
Linear regressionLinear regression
Linear regression
 
RANDOM SIGNALS ANALYSIS pdf.pdf
RANDOM SIGNALS ANALYSIS pdf.pdfRANDOM SIGNALS ANALYSIS pdf.pdf
RANDOM SIGNALS ANALYSIS pdf.pdf
 
Correlation
CorrelationCorrelation
Correlation
 
Regression & correlation
Regression & correlationRegression & correlation
Regression & correlation
 
regression
regressionregression
regression
 
correlation.pptx
correlation.pptxcorrelation.pptx
correlation.pptx
 
STATISTICAL REGRESSION MODELS
STATISTICAL REGRESSION MODELSSTATISTICAL REGRESSION MODELS
STATISTICAL REGRESSION MODELS
 
Statistics ppt
Statistics pptStatistics ppt
Statistics ppt
 
Simple correlation & Regression analysis
Simple correlation & Regression analysisSimple correlation & Regression analysis
Simple correlation & Regression analysis
 
IDS.pdf
IDS.pdfIDS.pdf
IDS.pdf
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 

Recently uploaded

Observation Lab PowerPoint Assignment for TEM 431
Observation Lab PowerPoint Assignment for TEM 431Observation Lab PowerPoint Assignment for TEM 431
Observation Lab PowerPoint Assignment for TEM 431
ecamare2
 
Chapter 7 Final business management sciences .ppt
Chapter 7 Final business management sciences .pptChapter 7 Final business management sciences .ppt
Chapter 7 Final business management sciences .ppt
ssuser567e2d
 
Zodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
Zodiac Signs and Food Preferences_ What Your Sign Says About Your TasteZodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
Zodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
my Pandit
 
The latest Heat Pump Manual from Newentide
The latest Heat Pump Manual from NewentideThe latest Heat Pump Manual from Newentide
The latest Heat Pump Manual from Newentide
JoeYangGreatMachiner
 
一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理
一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理
一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理
taqyea
 
Industrial Tech SW: Category Renewal and Creation
Industrial Tech SW:  Category Renewal and CreationIndustrial Tech SW:  Category Renewal and Creation
Industrial Tech SW: Category Renewal and Creation
Christian Dahlen
 
Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...
Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...
Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...
Neil Horowitz
 
GKohler - Retail Scavenger Hunt Presentation
GKohler - Retail Scavenger Hunt PresentationGKohler - Retail Scavenger Hunt Presentation
GKohler - Retail Scavenger Hunt Presentation
GraceKohler1
 
Unveiling the Dynamic Personalities, Key Dates, and Horoscope Insights: Gemin...
Unveiling the Dynamic Personalities, Key Dates, and Horoscope Insights: Gemin...Unveiling the Dynamic Personalities, Key Dates, and Horoscope Insights: Gemin...
Unveiling the Dynamic Personalities, Key Dates, and Horoscope Insights: Gemin...
my Pandit
 
Profiles of Iconic Fashion Personalities.pdf
Profiles of Iconic Fashion Personalities.pdfProfiles of Iconic Fashion Personalities.pdf
Profiles of Iconic Fashion Personalities.pdf
TTop Threads
 
Digital Marketing with a Focus on Sustainability
Digital Marketing with a Focus on SustainabilityDigital Marketing with a Focus on Sustainability
Digital Marketing with a Focus on Sustainability
sssourabhsharma
 
❼❷⓿❺❻❷❽❷❼❽ Dpboss Matka Result Satta Matka Guessing Satta Fix jodi Kalyan Fin...
❼❷⓿❺❻❷❽❷❼❽ Dpboss Matka Result Satta Matka Guessing Satta Fix jodi Kalyan Fin...❼❷⓿❺❻❷❽❷❼❽ Dpboss Matka Result Satta Matka Guessing Satta Fix jodi Kalyan Fin...
❼❷⓿❺❻❷❽❷❼❽ Dpboss Matka Result Satta Matka Guessing Satta Fix jodi Kalyan Fin...
❼❷⓿❺❻❷❽❷❼❽ Dpboss Kalyan Satta Matka Guessing Matka Result Main Bazar chart
 
How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....
How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....
How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....
Lacey Max
 
Best Forex Brokers Comparison in INDIA 2024
Best Forex Brokers Comparison in INDIA 2024Best Forex Brokers Comparison in INDIA 2024
Best Forex Brokers Comparison in INDIA 2024
Top Forex Brokers Review
 
Top mailing list providers in the USA.pptx
Top mailing list providers in the USA.pptxTop mailing list providers in the USA.pptx
Top mailing list providers in the USA.pptx
JeremyPeirce1
 
Call8328958814 satta matka Kalyan result satta guessing
Call8328958814 satta matka Kalyan result satta guessingCall8328958814 satta matka Kalyan result satta guessing
Call8328958814 satta matka Kalyan result satta guessing
➑➌➋➑➒➎➑➑➊➍
 
Best practices for project execution and delivery
Best practices for project execution and deliveryBest practices for project execution and delivery
Best practices for project execution and delivery
CLIVE MINCHIN
 
Innovation Management Frameworks: Your Guide to Creativity & Innovation
Innovation Management Frameworks: Your Guide to Creativity & InnovationInnovation Management Frameworks: Your Guide to Creativity & Innovation
Innovation Management Frameworks: Your Guide to Creativity & Innovation
Operational Excellence Consulting
 
Lundin Gold Corporate Presentation - June 2024
Lundin Gold Corporate Presentation - June 2024Lundin Gold Corporate Presentation - June 2024
Lundin Gold Corporate Presentation - June 2024
Adnet Communications
 
The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...
The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...
The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...
APCO
 

Recently uploaded (20)

Observation Lab PowerPoint Assignment for TEM 431
Observation Lab PowerPoint Assignment for TEM 431Observation Lab PowerPoint Assignment for TEM 431
Observation Lab PowerPoint Assignment for TEM 431
 
Chapter 7 Final business management sciences .ppt
Chapter 7 Final business management sciences .pptChapter 7 Final business management sciences .ppt
Chapter 7 Final business management sciences .ppt
 
Zodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
Zodiac Signs and Food Preferences_ What Your Sign Says About Your TasteZodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
Zodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
 
The latest Heat Pump Manual from Newentide
The latest Heat Pump Manual from NewentideThe latest Heat Pump Manual from Newentide
The latest Heat Pump Manual from Newentide
 
一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理
一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理
一比一原版(QMUE毕业证书)英国爱丁堡玛格丽特女王大学毕业证文凭如何办理
 
Industrial Tech SW: Category Renewal and Creation
Industrial Tech SW:  Category Renewal and CreationIndustrial Tech SW:  Category Renewal and Creation
Industrial Tech SW: Category Renewal and Creation
 
Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...
Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...
Brian Fitzsimmons on the Business Strategy and Content Flywheel of Barstool S...
 
GKohler - Retail Scavenger Hunt Presentation
GKohler - Retail Scavenger Hunt PresentationGKohler - Retail Scavenger Hunt Presentation
GKohler - Retail Scavenger Hunt Presentation
 
Unveiling the Dynamic Personalities, Key Dates, and Horoscope Insights: Gemin...
Unveiling the Dynamic Personalities, Key Dates, and Horoscope Insights: Gemin...Unveiling the Dynamic Personalities, Key Dates, and Horoscope Insights: Gemin...
Unveiling the Dynamic Personalities, Key Dates, and Horoscope Insights: Gemin...
 
Profiles of Iconic Fashion Personalities.pdf
Profiles of Iconic Fashion Personalities.pdfProfiles of Iconic Fashion Personalities.pdf
Profiles of Iconic Fashion Personalities.pdf
 
Digital Marketing with a Focus on Sustainability
Digital Marketing with a Focus on SustainabilityDigital Marketing with a Focus on Sustainability
Digital Marketing with a Focus on Sustainability
 
❼❷⓿❺❻❷❽❷❼❽ Dpboss Matka Result Satta Matka Guessing Satta Fix jodi Kalyan Fin...
❼❷⓿❺❻❷❽❷❼❽ Dpboss Matka Result Satta Matka Guessing Satta Fix jodi Kalyan Fin...❼❷⓿❺❻❷❽❷❼❽ Dpboss Matka Result Satta Matka Guessing Satta Fix jodi Kalyan Fin...
❼❷⓿❺❻❷❽❷❼❽ Dpboss Matka Result Satta Matka Guessing Satta Fix jodi Kalyan Fin...
 
How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....
How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....
How are Lilac French Bulldogs Beauty Charming the World and Capturing Hearts....
 
Best Forex Brokers Comparison in INDIA 2024
Best Forex Brokers Comparison in INDIA 2024Best Forex Brokers Comparison in INDIA 2024
Best Forex Brokers Comparison in INDIA 2024
 
Top mailing list providers in the USA.pptx
Top mailing list providers in the USA.pptxTop mailing list providers in the USA.pptx
Top mailing list providers in the USA.pptx
 
Call8328958814 satta matka Kalyan result satta guessing
Call8328958814 satta matka Kalyan result satta guessingCall8328958814 satta matka Kalyan result satta guessing
Call8328958814 satta matka Kalyan result satta guessing
 
Best practices for project execution and delivery
Best practices for project execution and deliveryBest practices for project execution and delivery
Best practices for project execution and delivery
 
Innovation Management Frameworks: Your Guide to Creativity & Innovation
Innovation Management Frameworks: Your Guide to Creativity & InnovationInnovation Management Frameworks: Your Guide to Creativity & Innovation
Innovation Management Frameworks: Your Guide to Creativity & Innovation
 
Lundin Gold Corporate Presentation - June 2024
Lundin Gold Corporate Presentation - June 2024Lundin Gold Corporate Presentation - June 2024
Lundin Gold Corporate Presentation - June 2024
 
The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...
The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...
The APCO Geopolitical Radar - Q3 2024 The Global Operating Environment for Bu...
 

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