SlideShare a Scribd company logo
5
Most read
9
Most read
10
Most read
Saurav Das
MURP 180405
Lecture 5
1. Linear regression analysis
2. Multi linear regression analysis
3. Standard error of the regression
4. Coefficient of determination
5. Application of regression analysis
Content
 Regression analysis is a powerful statistical method that allows you to
examine the relationship between two or more variables of interest.
 While there are many types of regression analysis, at their core they all
examine the influence of one or more independent variables on a
dependent variable.
 Regression analysis is widely used for prediction and forecasting such as
Advertisement and Product sells
Definition
Simple: In case of simple relationship only two variables are considered.
Multiple: In the case of multiple relationship, more than two variables are involved. On
this while one variable is a dependent variable the remaining variables are
independent
Linear: The linear relationships are based on straight-line trend, the equation of which
has no-power higher than one.
Non- Linear: In the case of non-linear relationship curved trend lines are derived.
Total: In the case of total relationships all the important variables are considered.
Partial: In the case of partial relationship one or more variables are considered, but not
all.
Regression
Linear
Simple Linear Multiple Linear
Simple Multiple
Non-
Linear
Total Partial
What is “Linear”?
Remember this:
Y= mX + B?
B
m
What’s Slope?
A slope of 2 means that every 1-unit
change in X yields a 2-unit change in Y.
If you know something about x, this knowledge helps you predict something about Y
(conditional probabilities)
Prediction
Linear regression equation
Y = a + bX
Where,
b = slope
a = intercept
Regression
Graphic Algebraic
Y = a + bX
X axis
Yaxis
. .
.
. .
.
.. .
1. Points are plotted on a graph paper representing
various parts of values
2. These points give a picture of a scatter diagram
3. A regression line may be drawn in between these
points
4. Line should be drawn faithfully as the line of best fit
leaving equal number of points on both sides
1. Obtain a random sample of n data pairs (X, Y), where X is the explanatory variable
and Y is the response variable.
2. Using the data pairs, compute ∑X, ∑Y, ∑X2, ∑Y2, and ∑XY. Then compute the sample
means X and Y.
3. With n = sample size, ∑X, ∑Y, ∑X2, ∑Y2, ∑XY, X and Y, you are ready to compute the
slope b and intercept a using the computation formulas
Slope: b =
𝒏∑XY− (∑X)(∑Y)
n∑X2 – (∑X)2 Intercept: a = Y— bX
4. The equation of the least-squares line computed from your sample data is, Y = a + bX
Find the regression equations from the following data:
Solution:
X =
∑X
n
=
𝟑𝟎
5
= 6
Y =
∑ 𝐘
n
=
𝟒𝟎
5
= 8
b =
𝒏∑XY− (∑X)(∑Y)
n∑X2 –(∑X)2 = -0.65
a = Y— bX = 11.9
Y = a + bX = 11.9 + 0.65X
Simple regression considers the relation between a single
explanatory variable and response variable
Multiple regression simultaneously considers the influence of
multiple explanatory variables on a response variable Y
A multiple regression equation expresses a linear relationship
between a response variable y and two or more predictor
variables (x1, x2, . . ., xk). The general form of a multiple
regression equation obtained from sample data is
y = b0 + b1 x1 + b2x2 + ………………. + bkxk
Regression
The standard error of the estimate is a measure of the accuracy of predictions made
with a regression line.
The square root of the average squared error of prediction is used as a measure of the
accuracy of prediction. This measure is called the standard error of the estimate and is
designated as σest.
where N is the number of pairs of (X,Y) points
The slope and intercept of the regression line
are 3.2716 and 7.1526 respectively.
Y' = 3.2716X + 7.1526
The coefficient of determination (denoted by R2) is a key output of regression analysis.
It is interpreted as the proportion of the variance in the dependent variable that is
predictable from the independent variable.
The coefficient of determination is the square of the correlation (r) between predicted
y scores and actual y scores; thus, it ranges from 0 to 1.
With linear regression, the coefficient of determination is also equal to the square of
the correlation between x and y scores.
1. An R2 of 0 means that the dependent variable cannot be predicted from the
independent variable.
2. An R2 of 1 means the dependent variable can be predicted without error from the
independent variable.
3. An R2 between 0 and 1 indicates the extent to which the dependent variable is
predictable. An R2 of 0.10 means that 10 percent of the variance in Y is predictable
from X; an R2 of 0.20 means that 20 percent is predictable; and so on.
Correlation coefficient, r =
𝒏∑𝑿𝒀− (∑𝑿)(∑𝒀)
𝒏∑𝑿 𝟐 – (∑𝑿) 𝟐 𝒏∑𝒀 𝟐 – (∑𝒀) 𝟐
= - 0.92
Coefficient of determination = r2 = (-0.92)2 = 0.85
Here,
n = 5
∑𝑿 = 30
∑𝒀 = 40
∑𝑿𝒀 = 214
∑𝑿 𝟐
= 220
(∑𝐗) 𝟐 = 900
∑𝒀 𝟐 = 340
(∑𝐘) 𝟐 = 1600
Interpretation: 0.85 means that 85 percent of the variance in Y is predictable from X
1. Regression analysis helps in establishing a functional relationship between two or more
variables.
2. Since most of the problems of economic analysis are based on cause and effect
relationships, the regression analysis is a highly valuable tool in economic and business
research.
3. Regression analysis predicts the values of dependent variables from the values of
independent variables.
4. We can calculate coefficient of correlation ( r) and coefficient of determination ( r2) with the
help of regression coefficients.
5. In statistical analysis of demand curves, supply curves, production function, cost function,
consumption function etc., regression analysis is widely used.
Application of regression analysis
Regression

More Related Content

PPT
Multiple Regression.ppt
PPTX
Presentation On Regression
PPT
Regression analysis
PPTX
Simple linear regression
PPTX
Regression Analysis
PPSX
Linear regression
PPTX
Regression analysis in R
PPT
Regression
Multiple Regression.ppt
Presentation On Regression
Regression analysis
Simple linear regression
Regression Analysis
Linear regression
Regression analysis in R
Regression

What's hot (20)

PPTX
Regression
PPTX
Regression
PPTX
Linear and Logistics Regression
PPTX
Regression Analysis
PDF
An Overview of Simple Linear Regression
PPTX
Adjusted R Square or Adjusted R bar Square
PPTX
Regression analysis
PPTX
Basics of Regression analysis
PPSX
Simple linear regression
PPTX
Simple linear regression and correlation
PDF
Hypothesis Testing
PPTX
Introduction to Regression Analysis
PPT
Linear regression
PPTX
Probit and logit model
PDF
Linear regression theory
PPTX
Regression Analysis presentation by Al Arizmendez and Cathryn Lottier
PPTX
Properties of correlation coefficient
PPTX
Regression analysis.
Regression
Regression
Linear and Logistics Regression
Regression Analysis
An Overview of Simple Linear Regression
Adjusted R Square or Adjusted R bar Square
Regression analysis
Basics of Regression analysis
Simple linear regression
Simple linear regression and correlation
Hypothesis Testing
Introduction to Regression Analysis
Linear regression
Probit and logit model
Linear regression theory
Regression Analysis presentation by Al Arizmendez and Cathryn Lottier
Properties of correlation coefficient
Regression analysis.
Ad

Similar to Regression (20)

PPTX
Unit 7b Regression Analyss.pptxbhjjjjjjk
PDF
Regression analysis
PPTX
Regression analysis refers to assessing the relationship between the outcome ...
PPTX
Statistics-Regression analysis
PDF
P G STAT 531 Lecture 10 Regression
PPTX
STATISTICAL REGRESSION MODELS
PPTX
Regression Analysis.pptx
PDF
Simple Linear Regression detail explanation.pdf
PDF
DOCX
Course pack unit 5
PPTX
Simple Linear Regression explanation.pptx
PPTX
8. Correlation and Linear Regression.pptx
PPTX
Unit-III Correlation and Regression.pptx
PPTX
Regression-SIMPLE LINEAR (1).psssssssssptx
PPTX
regression analysis presentation slides.
PPTX
Regression analysis
PPT
Regression analysis ppt
PPTX
Regression , Types of Regression, Application of Regression, methods
PPTX
CORRELATION AND REGRESSION.pptx
Unit 7b Regression Analyss.pptxbhjjjjjjk
Regression analysis
Regression analysis refers to assessing the relationship between the outcome ...
Statistics-Regression analysis
P G STAT 531 Lecture 10 Regression
STATISTICAL REGRESSION MODELS
Regression Analysis.pptx
Simple Linear Regression detail explanation.pdf
Course pack unit 5
Simple Linear Regression explanation.pptx
8. Correlation and Linear Regression.pptx
Unit-III Correlation and Regression.pptx
Regression-SIMPLE LINEAR (1).psssssssssptx
regression analysis presentation slides.
Regression analysis
Regression analysis ppt
Regression , Types of Regression, Application of Regression, methods
CORRELATION AND REGRESSION.pptx
Ad

Recently uploaded (20)

PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
HVAC Specification 2024 according to central public works department
PDF
advance database management system book.pdf
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PPTX
Virtual and Augmented Reality in Current Scenario
PDF
Uderstanding digital marketing and marketing stratergie for engaging the digi...
PPTX
20th Century Theater, Methods, History.pptx
PPTX
Computer Architecture Input Output Memory.pptx
PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PDF
IGGE1 Understanding the Self1234567891011
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PDF
Hazard Identification & Risk Assessment .pdf
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
International_Financial_Reporting_Standa.pdf
PPTX
Introduction to pro and eukaryotes and differences.pptx
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
HVAC Specification 2024 according to central public works department
advance database management system book.pdf
Cambridge-Practice-Tests-for-IELTS-12.docx
What if we spent less time fighting change, and more time building what’s rig...
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
Virtual and Augmented Reality in Current Scenario
Uderstanding digital marketing and marketing stratergie for engaging the digi...
20th Century Theater, Methods, History.pptx
Computer Architecture Input Output Memory.pptx
Environmental Education MCQ BD2EE - Share Source.pdf
IGGE1 Understanding the Self1234567891011
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
Hazard Identification & Risk Assessment .pdf
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
International_Financial_Reporting_Standa.pdf
Introduction to pro and eukaryotes and differences.pptx
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf

Regression

  • 2. 1. Linear regression analysis 2. Multi linear regression analysis 3. Standard error of the regression 4. Coefficient of determination 5. Application of regression analysis Content
  • 3.  Regression analysis is a powerful statistical method that allows you to examine the relationship between two or more variables of interest.  While there are many types of regression analysis, at their core they all examine the influence of one or more independent variables on a dependent variable.  Regression analysis is widely used for prediction and forecasting such as Advertisement and Product sells Definition
  • 4. Simple: In case of simple relationship only two variables are considered. Multiple: In the case of multiple relationship, more than two variables are involved. On this while one variable is a dependent variable the remaining variables are independent Linear: The linear relationships are based on straight-line trend, the equation of which has no-power higher than one. Non- Linear: In the case of non-linear relationship curved trend lines are derived. Total: In the case of total relationships all the important variables are considered. Partial: In the case of partial relationship one or more variables are considered, but not all.
  • 5. Regression Linear Simple Linear Multiple Linear Simple Multiple Non- Linear Total Partial
  • 6. What is “Linear”? Remember this: Y= mX + B? B m What’s Slope? A slope of 2 means that every 1-unit change in X yields a 2-unit change in Y. If you know something about x, this knowledge helps you predict something about Y (conditional probabilities) Prediction
  • 7. Linear regression equation Y = a + bX Where, b = slope a = intercept
  • 9. X axis Yaxis . . . . . . .. . 1. Points are plotted on a graph paper representing various parts of values 2. These points give a picture of a scatter diagram 3. A regression line may be drawn in between these points 4. Line should be drawn faithfully as the line of best fit leaving equal number of points on both sides
  • 10. 1. Obtain a random sample of n data pairs (X, Y), where X is the explanatory variable and Y is the response variable. 2. Using the data pairs, compute ∑X, ∑Y, ∑X2, ∑Y2, and ∑XY. Then compute the sample means X and Y. 3. With n = sample size, ∑X, ∑Y, ∑X2, ∑Y2, ∑XY, X and Y, you are ready to compute the slope b and intercept a using the computation formulas Slope: b = 𝒏∑XY− (∑X)(∑Y) n∑X2 – (∑X)2 Intercept: a = Y— bX 4. The equation of the least-squares line computed from your sample data is, Y = a + bX
  • 11. Find the regression equations from the following data: Solution: X = ∑X n = 𝟑𝟎 5 = 6 Y = ∑ 𝐘 n = 𝟒𝟎 5 = 8 b = 𝒏∑XY− (∑X)(∑Y) n∑X2 –(∑X)2 = -0.65 a = Y— bX = 11.9 Y = a + bX = 11.9 + 0.65X
  • 12. Simple regression considers the relation between a single explanatory variable and response variable Multiple regression simultaneously considers the influence of multiple explanatory variables on a response variable Y A multiple regression equation expresses a linear relationship between a response variable y and two or more predictor variables (x1, x2, . . ., xk). The general form of a multiple regression equation obtained from sample data is y = b0 + b1 x1 + b2x2 + ………………. + bkxk
  • 14. The standard error of the estimate is a measure of the accuracy of predictions made with a regression line. The square root of the average squared error of prediction is used as a measure of the accuracy of prediction. This measure is called the standard error of the estimate and is designated as σest. where N is the number of pairs of (X,Y) points
  • 15. The slope and intercept of the regression line are 3.2716 and 7.1526 respectively. Y' = 3.2716X + 7.1526
  • 16. The coefficient of determination (denoted by R2) is a key output of regression analysis. It is interpreted as the proportion of the variance in the dependent variable that is predictable from the independent variable. The coefficient of determination is the square of the correlation (r) between predicted y scores and actual y scores; thus, it ranges from 0 to 1. With linear regression, the coefficient of determination is also equal to the square of the correlation between x and y scores.
  • 17. 1. An R2 of 0 means that the dependent variable cannot be predicted from the independent variable. 2. An R2 of 1 means the dependent variable can be predicted without error from the independent variable. 3. An R2 between 0 and 1 indicates the extent to which the dependent variable is predictable. An R2 of 0.10 means that 10 percent of the variance in Y is predictable from X; an R2 of 0.20 means that 20 percent is predictable; and so on.
  • 18. Correlation coefficient, r = 𝒏∑𝑿𝒀− (∑𝑿)(∑𝒀) 𝒏∑𝑿 𝟐 – (∑𝑿) 𝟐 𝒏∑𝒀 𝟐 – (∑𝒀) 𝟐 = - 0.92 Coefficient of determination = r2 = (-0.92)2 = 0.85 Here, n = 5 ∑𝑿 = 30 ∑𝒀 = 40 ∑𝑿𝒀 = 214 ∑𝑿 𝟐 = 220 (∑𝐗) 𝟐 = 900 ∑𝒀 𝟐 = 340 (∑𝐘) 𝟐 = 1600 Interpretation: 0.85 means that 85 percent of the variance in Y is predictable from X
  • 19. 1. Regression analysis helps in establishing a functional relationship between two or more variables. 2. Since most of the problems of economic analysis are based on cause and effect relationships, the regression analysis is a highly valuable tool in economic and business research. 3. Regression analysis predicts the values of dependent variables from the values of independent variables. 4. We can calculate coefficient of correlation ( r) and coefficient of determination ( r2) with the help of regression coefficients. 5. In statistical analysis of demand curves, supply curves, production function, cost function, consumption function etc., regression analysis is widely used. Application of regression analysis