SlideShare a Scribd company logo
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
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

What's hot

Ordinary least squares linear regression
Ordinary least squares linear regressionOrdinary least squares linear regression
Ordinary least squares linear regression
Elkana Rorio
 
Chapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares RegressionChapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares Regression
nszakir
 
Regression analysis
Regression analysisRegression analysis
Regression analysissaba khan
 
Statistics-Regression analysis
Statistics-Regression analysisStatistics-Regression analysis
Statistics-Regression analysis
Rabin BK
 
Regression analysis
Regression analysisRegression analysis
Regression analysisRavi shankar
 
Logistic regression (blyth 2006) (simplified)
Logistic regression (blyth 2006) (simplified)Logistic regression (blyth 2006) (simplified)
Logistic regression (blyth 2006) (simplified)
MikeBlyth
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
Muhammad Fazeel
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
Srikant001p
 
Regression analysis in R
Regression analysis in RRegression analysis in R
Regression analysis in R
Alichy Sowmya
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
RekhaChoudhary24
 
Ders 2 ols .ppt
Ders 2 ols .pptDers 2 ols .ppt
Ders 2 ols .ppt
Ergin Akalpler
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
Shameer P Hamsa
 
Introduction to Regression Analysis
Introduction to Regression AnalysisIntroduction to Regression Analysis
Introduction to Regression Analysis
Minha Hwang
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
Dr.ammara khakwani
 
Linear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec domsLinear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec doms
Babasab Patil
 
Data Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
Data Science - Part XII - Ridge Regression, LASSO, and Elastic NetsData Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
Data Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
Derek Kane
 
Ml3 logistic regression-and_classification_error_metrics
Ml3 logistic regression-and_classification_error_metricsMl3 logistic regression-and_classification_error_metrics
Ml3 logistic regression-and_classification_error_metrics
ankit_ppt
 
4.5. logistic regression
4.5. logistic regression4.5. logistic regression
4.5. logistic regression
A M
 

What's hot (20)

Ordinary least squares linear regression
Ordinary least squares linear regressionOrdinary least squares linear regression
Ordinary least squares linear regression
 
Chapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares RegressionChapter 2 part3-Least-Squares Regression
Chapter 2 part3-Least-Squares Regression
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Statistics-Regression analysis
Statistics-Regression analysisStatistics-Regression analysis
Statistics-Regression analysis
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Logistic regression (blyth 2006) (simplified)
Logistic regression (blyth 2006) (simplified)Logistic regression (blyth 2006) (simplified)
Logistic regression (blyth 2006) (simplified)
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Regression analysis in R
Regression analysis in RRegression analysis in R
Regression analysis in R
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Regression
RegressionRegression
Regression
 
Multiple Linear Regression
Multiple Linear Regression Multiple Linear Regression
Multiple Linear Regression
 
Ders 2 ols .ppt
Ders 2 ols .pptDers 2 ols .ppt
Ders 2 ols .ppt
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Introduction to Regression Analysis
Introduction to Regression AnalysisIntroduction to Regression Analysis
Introduction to Regression Analysis
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Linear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec domsLinear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec doms
 
Data Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
Data Science - Part XII - Ridge Regression, LASSO, and Elastic NetsData Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
Data Science - Part XII - Ridge Regression, LASSO, and Elastic Nets
 
Ml3 logistic regression-and_classification_error_metrics
Ml3 logistic regression-and_classification_error_metricsMl3 logistic regression-and_classification_error_metrics
Ml3 logistic regression-and_classification_error_metrics
 
4.5. logistic regression
4.5. logistic regression4.5. logistic regression
4.5. logistic regression
 

Similar to Regression

REGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HEREREGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HERE
ShriramKargaonkar
 
CORRELATION AND REGRESSION.pptx
CORRELATION AND REGRESSION.pptxCORRELATION AND REGRESSION.pptx
CORRELATION AND REGRESSION.pptx
Rohit77460
 
Regression.ppt basic introduction of regression with example
Regression.ppt basic introduction of regression with exampleRegression.ppt basic introduction of regression with example
Regression.ppt basic introduction of regression with example
shivshankarshiva98
 
ML-UNIT-IV complete notes download here
ML-UNIT-IV  complete notes download hereML-UNIT-IV  complete notes download here
ML-UNIT-IV complete notes download here
keerthanakshatriya20
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
Amany El-seoud
 
Correlation and Regression
Correlation and Regression Correlation and Regression
Correlation and Regression
Dr. Tushar J Bhatt
 
Corr-and-Regress (1).ppt
Corr-and-Regress (1).pptCorr-and-Regress (1).ppt
Corr-and-Regress (1).ppt
MuhammadAftab89
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
BAGARAGAZAROMUALD2
 
Cr-and-Regress.ppt
Cr-and-Regress.pptCr-and-Regress.ppt
Cr-and-Regress.ppt
RidaIrfan10
 
Correlation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social ScienceCorrelation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social Science
ssuser71ac73
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
HarunorRashid74
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
krunal soni
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
MoinPasha12
 
Linear regreesion ppt
Linear regreesion pptLinear regreesion ppt
Linear regreesion ppt
AlivaLenka
 
Regression
RegressionRegression
Correlation
CorrelationCorrelation

Similar to Regression (20)

REGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HEREREGRESSION ANALYSIS THEORY EXPLAINED HERE
REGRESSION ANALYSIS THEORY EXPLAINED HERE
 
CORRELATION AND REGRESSION.pptx
CORRELATION AND REGRESSION.pptxCORRELATION AND REGRESSION.pptx
CORRELATION AND REGRESSION.pptx
 
Regression.ppt basic introduction of regression with example
Regression.ppt basic introduction of regression with exampleRegression.ppt basic introduction of regression with example
Regression.ppt basic introduction of regression with example
 
SPSS
SPSSSPSS
SPSS
 
ML-UNIT-IV complete notes download here
ML-UNIT-IV  complete notes download hereML-UNIT-IV  complete notes download here
ML-UNIT-IV complete notes download here
 
Regression
RegressionRegression
Regression
 
Regression
RegressionRegression
Regression
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Correlation and Regression
Correlation and Regression Correlation and Regression
Correlation and Regression
 
Corr-and-Regress (1).ppt
Corr-and-Regress (1).pptCorr-and-Regress (1).ppt
Corr-and-Regress (1).ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Cr-and-Regress.ppt
Cr-and-Regress.pptCr-and-Regress.ppt
Cr-and-Regress.ppt
 
Correlation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social ScienceCorrelation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social Science
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Linear regreesion ppt
Linear regreesion pptLinear regreesion ppt
Linear regreesion ppt
 
Regression
RegressionRegression
Regression
 
Correlation
CorrelationCorrelation
Correlation
 
9. parametric regression
9. parametric regression9. parametric regression
9. parametric regression
 

Recently uploaded

2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 

Recently uploaded (20)

2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 

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