SlideShare a Scribd company logo
Analysis on
Regression Simple Linear
Presensted by:
TABLE OF CONTENTS
Key Concepts
Simple Linear
Regression
Example
01
02
03
04 Error - Residual
Key Concepts
01
Deffinition, prediction & benefits.
Definition
Regression is the measure of the average
relationship between two or more variables in
terms of the original units of the data.
It is unquestionable the most widely used statistical
technique in social sciences. It is also widely used
in biological and physical science.
Prediction using Regression analysis
Interpolation
If we give prediction within
the range of the given data
value
If we give prediction outside
the range of the given data
value
Extrapolation
Graphical difference
Relationship
Benefits of Regression analysis
Estimate
It provides estimate of
values of dependent
variables from values
of independent
variables
Extended
It can be extended
to 2 or more
variables, which is
known as multiple
regression
It shows the nature
of relationship
between two or
more variables
In the field of Business
The success of a
business depends on the
correctness of the
estimates in predicting
future production,
prices, profits, sales etc.
It’s an important tool for modelling and analysing data. It’s
used for many purposes like:
● Forecasting
● Predicting
● Finding the causal effect of one variable on another
For example, the effects of price increase on the customer’s
demand or an increase in salary causing a change in
spending etc…
Uses of Regression
Simple Linear
Regression
02
Requirements, Methods, Equation & Parameters.
Requirements
• The sample of paired data is a simple random
sample of quantitative data.
• The pairs of data 𝑥, 𝑦 have a bivariate normal
distribution, meaning the following:
- Visual examination of the scatter plot
confirms that the sample points follow an
approximately straight line.
- No Outliners.
Methods of regression study
Graphically
By using free
hand curve or
the least squares
method
Algebrically
By using the Least
Square Method or
the deviation
method from
arithmatic or
Assumed Mean
The Linear Equation
Y = a + bX
Where
Y = dependent variable
X = independent variable
a = constant (value of Y when X = 0)
b = the slope of the regression line
Least Square Method
∑𝒀 = 𝒏𝒂 + 𝒃∑𝑿
∑𝑿𝒀 = 𝒂∑𝑿 + 𝒃∑𝑿𝟐
The values of a and b are found with the
help of least of Squares-reference
method’s normal equations
Y=Dependent variable
X=Independent variable
Y = a + b X
01
02
03
Equation parameters
“a”
• a is the point at which the
slope line passes through the
Y axis.
• can be positive or negative
• may be referred to a as the
intercept.
“b”
• (the slope coefficient)
• can be positive or
negative.
• denotes a positive
or negative relationship.
Example 03
Solving equations to determine
parameters and using it in prediction
Preditction
Example
Using Variable x to
predict the response of
variable y
X 3 2 7 4 8
Y 6 1 8 5 9
Example
X Y XY 𝐗𝟐
3 6 18 9
2 1 2 4
7 8 56 49
4 5 20 16
8 9 72 64
Example
The Intercept
a = 0.66
The Slope
b = 1.07
By solving the equations
Regression
Equation and Graph
𝒀 = 𝟎. 𝟔𝟔 + 𝟏. 𝟎𝟕𝑿
To Use the Equation in Predictions
1. If the graph of the regression line on the scatter plot confirms
that the line fits the points reasonably well.
2. If the data used for prediction does not go much beyond the
scope of the available sample data.
3. If there is a significant linear correlation indicated between the
two variables, 𝑥 and 𝑦.
Residuals 04
Errors
Residual - Error
Residual – for a pair of sample 𝑥 and 𝑦 values, the difference
between the observed sample value of 𝑦 (a true value observed)
and the y-value that is predicted by using the regression equation 𝑦
is the residual
• 𝑅𝑒𝑠𝑖𝑑𝑢𝑎𝑙 = 𝑂𝑏𝑠𝑒𝑟𝑣𝑒𝑑 - 𝑃𝑟𝑒𝑑𝑖𝑐𝑡𝑒𝑑
= 𝒀𝑶𝒃𝒔𝒆𝒓𝒗𝒆𝒅 - 𝒀𝑷𝒓𝒆𝒅𝒊𝒄𝒕𝒆𝒅
• A residual represents a type of inherent prediction error
• The regression equation does not, typically, pass through all the
observed data values that we have
Residual - Error
Residual Plot
Residual Plot – a scatter plot of the 𝑥, 𝑦 values after each
of the y-values has been replaced by the residual
value, “𝒀𝑶𝒃𝒔𝒆𝒓𝒗𝒆𝒅 - 𝒀𝑷𝒓𝒆𝒅𝒊𝒄𝒕𝒆𝒅”
• That is, a residual plot is a graph of the points
𝑥, ( 𝒀𝑶𝒃𝒔𝒆𝒓𝒗𝒆𝒅 - 𝒀𝑷𝒓𝒆𝒅𝒊𝒄𝒕𝒆𝒅 )
Residula Plot Analysis
When analysing a residual plot, look for a pattern
in the way the points are configured, and use
these criteria:
1. The residual plot should not have any obvious patterns
(not even a straight line pattern). This confirms that the
scatterplot of the sample data is a straight-line pattern.
Residula Plot Analysis
When analysing a residual plot, look for a pattern
in the way the points are configured, and use
these criteria:
2. The residual plot should not become thicker (or thinner)
when viewed from left to right. This confirms the
requirement that for different fixed values of x, the
distributions of the corresponding y values all have the
same standard deviation.
Let’s observe what is good or bad
about the individual regression
models.
Regression model is a good
model
Residual Plot Suggesting that
the regression Eqution is a
Good Model
Distinct pattern: sample data
may not follow a straight-line
pattern.
Residual Plot with an Obvious
Pattern, Suggesting that the
regression equation Isn’t a
good model.
Residual plot becoming
thicker: equal standard
deviations violated
Residual Plot that becomes
thicker. Suggesting that the
regression equation Isn’t a
good model
CREDITS: This presentation template was
created by Slidesgo, including icons by
Flaticon, and infographics & images by
Freepik
Many
Thanks!
Presented by:

More Related Content

Similar to Simple egression.pptx

Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regression
Avjinder (Avi) Kaler
 
Correlation in Statistics
Correlation in StatisticsCorrelation in Statistics
Correlation in Statistics
Avjinder (Avi) Kaler
 
Regression analysis in R
Regression analysis in RRegression analysis in R
Regression analysis in R
Alichy Sowmya
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
Srikant001p
 
Lecture 4
Lecture 4Lecture 4
Correlation.pptx
Correlation.pptxCorrelation.pptx
Correlation.pptx
IloveBepis
 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptx
ShivankAggatwal
 
2. diagnostics, collinearity, transformation, and missing data
2. diagnostics, collinearity, transformation, and missing data 2. diagnostics, collinearity, transformation, and missing data
2. diagnostics, collinearity, transformation, and missing data
Malik Hassan Qayyum 🕵🏻‍♂️
 
Introduction to correlation and regression analysis
Introduction to correlation and regression analysisIntroduction to correlation and regression analysis
Introduction to correlation and regression analysis
Farzad Javidanrad
 
Chapter 9 Regression
Chapter 9 RegressionChapter 9 Regression
Chapter 9 Regressionghalan
 
Regression
RegressionRegression
Regression
Sauravurp
 
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
 
Ch8 Regression Revby Rao
Ch8 Regression Revby RaoCh8 Regression Revby Rao
Ch8 Regression Revby RaoSumit Prajapati
 
Statistical parameters
Statistical parametersStatistical parameters
Statistical parameters
Burdwan University
 
Regression Analysis-Economic Statistics.ppt
Regression Analysis-Economic Statistics.pptRegression Analysis-Economic Statistics.ppt
Regression Analysis-Economic Statistics.ppt
Satheesh Babu
 
604_multiplee.ppt
604_multiplee.ppt604_multiplee.ppt
604_multiplee.ppt
Rufesh
 
FSE 200AdkinsPage 1 of 10Simple Linear Regression Corr.docx
FSE 200AdkinsPage 1 of 10Simple Linear Regression Corr.docxFSE 200AdkinsPage 1 of 10Simple Linear Regression Corr.docx
FSE 200AdkinsPage 1 of 10Simple Linear Regression Corr.docx
budbarber38650
 
Exploring bivariate data
Exploring bivariate dataExploring bivariate data
Exploring bivariate dataUlster BOCES
 
Simple lin regress_inference
Simple lin regress_inferenceSimple lin regress_inference
Simple lin regress_inferenceKemal İnciroğlu
 
Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...
Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...
Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...
Maninda Edirisooriya
 

Similar to Simple egression.pptx (20)

Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regression
 
Correlation in Statistics
Correlation in StatisticsCorrelation in Statistics
Correlation in Statistics
 
Regression analysis in R
Regression analysis in RRegression analysis in R
Regression analysis in R
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Correlation.pptx
Correlation.pptxCorrelation.pptx
Correlation.pptx
 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptx
 
2. diagnostics, collinearity, transformation, and missing data
2. diagnostics, collinearity, transformation, and missing data 2. diagnostics, collinearity, transformation, and missing data
2. diagnostics, collinearity, transformation, and missing data
 
Introduction to correlation and regression analysis
Introduction to correlation and regression analysisIntroduction to correlation and regression analysis
Introduction to correlation and regression analysis
 
Chapter 9 Regression
Chapter 9 RegressionChapter 9 Regression
Chapter 9 Regression
 
Regression
RegressionRegression
Regression
 
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
 
Ch8 Regression Revby Rao
Ch8 Regression Revby RaoCh8 Regression Revby Rao
Ch8 Regression Revby Rao
 
Statistical parameters
Statistical parametersStatistical parameters
Statistical parameters
 
Regression Analysis-Economic Statistics.ppt
Regression Analysis-Economic Statistics.pptRegression Analysis-Economic Statistics.ppt
Regression Analysis-Economic Statistics.ppt
 
604_multiplee.ppt
604_multiplee.ppt604_multiplee.ppt
604_multiplee.ppt
 
FSE 200AdkinsPage 1 of 10Simple Linear Regression Corr.docx
FSE 200AdkinsPage 1 of 10Simple Linear Regression Corr.docxFSE 200AdkinsPage 1 of 10Simple Linear Regression Corr.docx
FSE 200AdkinsPage 1 of 10Simple Linear Regression Corr.docx
 
Exploring bivariate data
Exploring bivariate dataExploring bivariate data
Exploring bivariate data
 
Simple lin regress_inference
Simple lin regress_inferenceSimple lin regress_inference
Simple lin regress_inference
 
Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...
Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...
Lecture 4 - Linear Regression, a lecture in subject module Statistical & Mach...
 

Recently uploaded

Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 

Recently uploaded (20)

Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 

Simple egression.pptx

  • 1. Analysis on Regression Simple Linear Presensted by:
  • 2. TABLE OF CONTENTS Key Concepts Simple Linear Regression Example 01 02 03 04 Error - Residual
  • 4. Definition Regression is the measure of the average relationship between two or more variables in terms of the original units of the data. It is unquestionable the most widely used statistical technique in social sciences. It is also widely used in biological and physical science.
  • 5. Prediction using Regression analysis Interpolation If we give prediction within the range of the given data value If we give prediction outside the range of the given data value Extrapolation
  • 7. Relationship Benefits of Regression analysis Estimate It provides estimate of values of dependent variables from values of independent variables Extended It can be extended to 2 or more variables, which is known as multiple regression It shows the nature of relationship between two or more variables
  • 8. In the field of Business The success of a business depends on the correctness of the estimates in predicting future production, prices, profits, sales etc.
  • 9. It’s an important tool for modelling and analysing data. It’s used for many purposes like: ● Forecasting ● Predicting ● Finding the causal effect of one variable on another For example, the effects of price increase on the customer’s demand or an increase in salary causing a change in spending etc… Uses of Regression
  • 11. Requirements • The sample of paired data is a simple random sample of quantitative data. • The pairs of data 𝑥, 𝑦 have a bivariate normal distribution, meaning the following: - Visual examination of the scatter plot confirms that the sample points follow an approximately straight line. - No Outliners.
  • 12. Methods of regression study Graphically By using free hand curve or the least squares method Algebrically By using the Least Square Method or the deviation method from arithmatic or Assumed Mean
  • 13. The Linear Equation Y = a + bX Where Y = dependent variable X = independent variable a = constant (value of Y when X = 0) b = the slope of the regression line
  • 14. Least Square Method ∑𝒀 = 𝒏𝒂 + 𝒃∑𝑿 ∑𝑿𝒀 = 𝒂∑𝑿 + 𝒃∑𝑿𝟐 The values of a and b are found with the help of least of Squares-reference method’s normal equations Y=Dependent variable X=Independent variable Y = a + b X 01 02 03
  • 15. Equation parameters “a” • a is the point at which the slope line passes through the Y axis. • can be positive or negative • may be referred to a as the intercept. “b” • (the slope coefficient) • can be positive or negative. • denotes a positive or negative relationship.
  • 16. Example 03 Solving equations to determine parameters and using it in prediction
  • 17. Preditction Example Using Variable x to predict the response of variable y X 3 2 7 4 8 Y 6 1 8 5 9
  • 18. Example X Y XY 𝐗𝟐 3 6 18 9 2 1 2 4 7 8 56 49 4 5 20 16 8 9 72 64
  • 19. Example The Intercept a = 0.66 The Slope b = 1.07 By solving the equations
  • 20. Regression Equation and Graph 𝒀 = 𝟎. 𝟔𝟔 + 𝟏. 𝟎𝟕𝑿
  • 21. To Use the Equation in Predictions 1. If the graph of the regression line on the scatter plot confirms that the line fits the points reasonably well. 2. If the data used for prediction does not go much beyond the scope of the available sample data. 3. If there is a significant linear correlation indicated between the two variables, 𝑥 and 𝑦.
  • 23. Residual - Error Residual – for a pair of sample 𝑥 and 𝑦 values, the difference between the observed sample value of 𝑦 (a true value observed) and the y-value that is predicted by using the regression equation 𝑦 is the residual • 𝑅𝑒𝑠𝑖𝑑𝑢𝑎𝑙 = 𝑂𝑏𝑠𝑒𝑟𝑣𝑒𝑑 - 𝑃𝑟𝑒𝑑𝑖𝑐𝑡𝑒𝑑 = 𝒀𝑶𝒃𝒔𝒆𝒓𝒗𝒆𝒅 - 𝒀𝑷𝒓𝒆𝒅𝒊𝒄𝒕𝒆𝒅 • A residual represents a type of inherent prediction error • The regression equation does not, typically, pass through all the observed data values that we have
  • 25. Residual Plot Residual Plot – a scatter plot of the 𝑥, 𝑦 values after each of the y-values has been replaced by the residual value, “𝒀𝑶𝒃𝒔𝒆𝒓𝒗𝒆𝒅 - 𝒀𝑷𝒓𝒆𝒅𝒊𝒄𝒕𝒆𝒅” • That is, a residual plot is a graph of the points 𝑥, ( 𝒀𝑶𝒃𝒔𝒆𝒓𝒗𝒆𝒅 - 𝒀𝑷𝒓𝒆𝒅𝒊𝒄𝒕𝒆𝒅 )
  • 26. Residula Plot Analysis When analysing a residual plot, look for a pattern in the way the points are configured, and use these criteria: 1. The residual plot should not have any obvious patterns (not even a straight line pattern). This confirms that the scatterplot of the sample data is a straight-line pattern.
  • 27. Residula Plot Analysis When analysing a residual plot, look for a pattern in the way the points are configured, and use these criteria: 2. The residual plot should not become thicker (or thinner) when viewed from left to right. This confirms the requirement that for different fixed values of x, the distributions of the corresponding y values all have the same standard deviation.
  • 28. Let’s observe what is good or bad about the individual regression models.
  • 29. Regression model is a good model Residual Plot Suggesting that the regression Eqution is a Good Model
  • 30. Distinct pattern: sample data may not follow a straight-line pattern. Residual Plot with an Obvious Pattern, Suggesting that the regression equation Isn’t a good model.
  • 31. Residual plot becoming thicker: equal standard deviations violated Residual Plot that becomes thicker. Suggesting that the regression equation Isn’t a good model
  • 32. CREDITS: This presentation template was created by Slidesgo, including icons by Flaticon, and infographics & images by Freepik Many Thanks! Presented by:

Editor's Notes

  1. Presenting the best fit line – regression line