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

Regression analysis in R
Regression analysis in RRegression analysis in R
Regression analysis in RAlichy Sowmya
Β 
Regression analysis
Regression analysisRegression analysis
Regression analysisSrikant001p
Β 
Correlation.pptx
Correlation.pptxCorrelation.pptx
Correlation.pptxIloveBepis
Β 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptxShivankAggatwal
Β 
Introduction to correlation and regression analysis
Introduction to correlation and regression analysisIntroduction to correlation and regression analysis
Introduction to correlation and regression analysisFarzad Javidanrad
Β 
Chapter 9 Regression
Chapter 9 RegressionChapter 9 Regression
Chapter 9 Regressionghalan
Β 
Regression
RegressionRegression
RegressionSauravurp
Β 
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 NetsDerek Kane
Β 
Ch8 Regression Revby Rao
Ch8 Regression Revby RaoCh8 Regression Revby Rao
Ch8 Regression Revby RaoSumit Prajapati
Β 
Regression Analysis-Economic Statistics.ppt
Regression Analysis-Economic Statistics.pptRegression Analysis-Economic Statistics.ppt
Regression Analysis-Economic Statistics.pptSatheesh Babu
Β 
604_multiplee.ppt
604_multiplee.ppt604_multiplee.ppt
604_multiplee.pptRufesh
Β 
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.docxbudbarber38650
Β 
Exploring bivariate data
Exploring bivariate dataExploring bivariate data
Exploring bivariate dataUlster BOCES
Β 
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

the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
Β 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
Β 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
Β 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
Β 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
Β 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
Β 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoΓ£o Esperancinha
Β 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
Β 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
Β 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
Β 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
Β 
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”soniya singh
Β 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
Β 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
Β 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
Β 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
Β 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
Β 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
Β 

Recently uploaded (20)

the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
Β 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
Β 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Β 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Β 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Β 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
Β 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
Β 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Β 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Β 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
Β 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
Β 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
Β 
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Β 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
Β 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
Β 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
Β 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
Β 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
Β 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
Β 
β˜… CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
β˜… CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCRβ˜… CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
β˜… CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
Β 

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