SlideShare a Scribd company logo
Linear
  Regression
   Modeling
Using a Graph & the Line of Best Fit
What is a regression model?
Many times in an     For example, if we are
                     given the equation
algebra problem we
                         2
are given an         y= x+6 ,
                         3
equation, and
                     we can then calculate y
asked to calculate   given different values of x.
values using that
equation.            So if x = 3 , then y = 8

                     and if x = 6 , then y = 10
What is a regression model?

But sometimes, we are given the data
and asked to create an equation that
models the data.
In other words, we already have the
answers but need to figure out the
equation that gives us those answers.
What is a regression model?

In mathematics, this is called a
regression model, since we are sort
of working backwards to find an
equation, when we already have the
answers.
Why do we need them?
Regression models have many
applications in industry and science.
 Regression models can predict future
  trends, like population growth.

 Regression models can be used to estimate
  costs and profits for businesses.
 Regression models can help medical care
  professionals determine how much medication
  to prescribe for their patients.
The First Step: Linear
         Regressions
The most basic kinds of regression
models are linear regressions. We
will start with creating a linear
regression of a set of model data
using the “line of best fit” method, by
making a graph in the Cartesian
plane.
Linear Regression Modeling
            Using a Graph

 Plot the data

 Determine the “best fit” line by examination

 Develop the equation of the line of best fit

 Your linear model is complete
Model Data
 x     y      Plot the data on the
 -7    -6       Cartesian plane
 -5    -3
 -3    -1
 -1    0
 0     2      The result is called a
                “scatter plot”
 2     3
 4     5
 7     7
This is the scatter plot of our model
data.
Adding the best fit line
1. The best fit line should:
   a)   Pass through two points that are easy to find on the
        graph.
   b) Come as close as possible to as many of the data
        points in the scatter plot as possible

2. There should be about the same number of points
   from the scatter plot above the line as below it.

3. The best fit line can pass through some of the
   points on the scatter plot, but it does not have to
   pass through any of them.
This line does not pass through two
points that are easy to find on the
graph.

This will make it more difficult to
determine the equation of this line.
This line passes through two points
that are easy to find on the
graph, but it does not pass very
close to most of the points in the
scatter plot.

This means that it is not a very good
fit for the given data.
                                        (4, 3)




                            (-3, -2)
This line passes close to many of the
data points in the scatter plot, but
most of the points are above the line;   (6, 6)
only one point is below the line.

We’re getting closer!




                             (-3, -2)
The line passes through two easy to
                                                          (6, 7)
find points.
It passes close to most of the points
in the scatter plot.
There are several points both above
and below the line.
This looks like a good fit for the data!




                                           Remember, there may be
                                           more than one line that is a
                                           good fit. You have to decide
                                           which one looks “best” to
                                           you.


           (-7, -5)
Find the Equation of Your Best-fit
              Line
1. Calculate the slope of the line

2. Using the slope-intercept form of a linear equation,
   y = mx + b , substitute one of the points on your
   best-fit line into the equation for x and y, and
   substitute the slope you found in step 1.

3. Solve the resulting equation for b, giving you the y-
   intercept.

4. Rewrite the equation in slope-intercept form using
   the correct values for slope and the y-intercept (b).
Step 1: Calculate slope
                             (6, 7)
The slope of this line is:




          (-7, -5)
Step 2: Substitute values into
                                              (6, 7)
  y = mx + b
We will use the point (6,7), so
                     12
 y = 7; x = 6; m =
                     13

                 12
Giving us: 7 =      (6) + b
                 13




                                  Step 3: Solve for b: (first
                                  multiply everything by 13):

                                   91 = 72 +13b
                                   19 = 13b
                                   19
                                      =b
                                   13
           (-7, -5)
(6, 7)
Step 4: Substitute the values
calculated for m and b.

  12    19
m= ; b=
  13    13
And the equation of the
regression line is:
   12  19
 y= x+
   13  13




         (-7, -5)
That’s it!
Now we can use our model to predict or estimate further
values in our data set, but that are not included in the data.

For example, x = 12 is not one of the original data points.
However, by using our regression model equation, we can
estimate the y – value when x = 12.
The resulting solution is:
                         12        19
                     y=     (12) +
                         13        13
                        144 19
                      =      +
                         13 13
                        163
                      =      = 12.54
                         13

More Related Content

What's hot

linear equation and gaussian elimination
linear equation and gaussian eliminationlinear equation and gaussian elimination
linear equation and gaussian elimination
Aju Thadikulangara
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
Mydul Islam Rashed
 
Graph Dynamical System on Graph Colouring
Graph Dynamical System on Graph ColouringGraph Dynamical System on Graph Colouring
Graph Dynamical System on Graph Colouring
Clyde Shen
 
Lecture 07 graphing linear equations
Lecture 07 graphing linear equationsLecture 07 graphing linear equations
Lecture 07 graphing linear equations
Hazel Joy Chong
 
BRESENHAM’S LINE DRAWING ALGORITHM
BRESENHAM’S  LINE DRAWING ALGORITHMBRESENHAM’S  LINE DRAWING ALGORITHM
BRESENHAM’S LINE DRAWING ALGORITHM
St Mary's College,Thrissur,Kerala
 
Determinant
Determinant Determinant
Determinant
GpmMaths
 
CLASS 9 LINEAR EQUATIONS IN TWO VARIABLES PPT
CLASS 9 LINEAR EQUATIONS IN TWO VARIABLES PPTCLASS 9 LINEAR EQUATIONS IN TWO VARIABLES PPT
CLASS 9 LINEAR EQUATIONS IN TWO VARIABLES PPT
05092000
 
Notes and-formulae-mathematics
Notes and-formulae-mathematicsNotes and-formulae-mathematics
Notes and-formulae-mathematics
Ragulan Dev
 
Notes 3-2
Notes 3-2Notes 3-2
Notes 3-2
Jimbo Lamb
 
Gauss
GaussGauss
Gauss
daferro
 
Chapter 5 Identifying Linear Functions
Chapter 5 Identifying Linear FunctionsChapter 5 Identifying Linear Functions
Chapter 5 Identifying Linear Functions
Iinternational Program School
 
LINEAR EQUATION IN TWO VARIABLES PPT
LINEAR EQUATION  IN  TWO VARIABLES PPTLINEAR EQUATION  IN  TWO VARIABLES PPT
LINEAR EQUATION IN TWO VARIABLES PPT
Abhishek Dev
 
Matrix Product (Modulo-2) Of Cycle Graphs
Matrix Product (Modulo-2) Of Cycle GraphsMatrix Product (Modulo-2) Of Cycle Graphs
Matrix Product (Modulo-2) Of Cycle Graphs
inventionjournals
 
PAIR OF LINEAR EQUATION IN TWO VARIABLE
PAIR OF LINEAR EQUATION IN TWO VARIABLEPAIR OF LINEAR EQUATION IN TWO VARIABLE
PAIR OF LINEAR EQUATION IN TWO VARIABLE
Naveen R
 
JC Vectors summary
JC Vectors summaryJC Vectors summary
JC Vectors summary
Math Academy Singapore
 
Math unit39 matrices
Math unit39 matricesMath unit39 matrices
Math unit39 matrices
eLearningJa
 
Add Math(F4) Quadratic Function 3.1
Add Math(F4)  Quadratic Function  3.1Add Math(F4)  Quadratic Function  3.1
Add Math(F4) Quadratic Function 3.1
roszelan
 
Lines and curves algorithms
Lines and curves algorithmsLines and curves algorithms
Lines and curves algorithms
Mohammad Sadiq
 
Integration
IntegrationIntegration
Integration
suefee
 
Connectivity of graphs
Connectivity of graphsConnectivity of graphs
Connectivity of graphs
sana younas
 

What's hot (20)

linear equation and gaussian elimination
linear equation and gaussian eliminationlinear equation and gaussian elimination
linear equation and gaussian elimination
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
 
Graph Dynamical System on Graph Colouring
Graph Dynamical System on Graph ColouringGraph Dynamical System on Graph Colouring
Graph Dynamical System on Graph Colouring
 
Lecture 07 graphing linear equations
Lecture 07 graphing linear equationsLecture 07 graphing linear equations
Lecture 07 graphing linear equations
 
BRESENHAM’S LINE DRAWING ALGORITHM
BRESENHAM’S  LINE DRAWING ALGORITHMBRESENHAM’S  LINE DRAWING ALGORITHM
BRESENHAM’S LINE DRAWING ALGORITHM
 
Determinant
Determinant Determinant
Determinant
 
CLASS 9 LINEAR EQUATIONS IN TWO VARIABLES PPT
CLASS 9 LINEAR EQUATIONS IN TWO VARIABLES PPTCLASS 9 LINEAR EQUATIONS IN TWO VARIABLES PPT
CLASS 9 LINEAR EQUATIONS IN TWO VARIABLES PPT
 
Notes and-formulae-mathematics
Notes and-formulae-mathematicsNotes and-formulae-mathematics
Notes and-formulae-mathematics
 
Notes 3-2
Notes 3-2Notes 3-2
Notes 3-2
 
Gauss
GaussGauss
Gauss
 
Chapter 5 Identifying Linear Functions
Chapter 5 Identifying Linear FunctionsChapter 5 Identifying Linear Functions
Chapter 5 Identifying Linear Functions
 
LINEAR EQUATION IN TWO VARIABLES PPT
LINEAR EQUATION  IN  TWO VARIABLES PPTLINEAR EQUATION  IN  TWO VARIABLES PPT
LINEAR EQUATION IN TWO VARIABLES PPT
 
Matrix Product (Modulo-2) Of Cycle Graphs
Matrix Product (Modulo-2) Of Cycle GraphsMatrix Product (Modulo-2) Of Cycle Graphs
Matrix Product (Modulo-2) Of Cycle Graphs
 
PAIR OF LINEAR EQUATION IN TWO VARIABLE
PAIR OF LINEAR EQUATION IN TWO VARIABLEPAIR OF LINEAR EQUATION IN TWO VARIABLE
PAIR OF LINEAR EQUATION IN TWO VARIABLE
 
JC Vectors summary
JC Vectors summaryJC Vectors summary
JC Vectors summary
 
Math unit39 matrices
Math unit39 matricesMath unit39 matrices
Math unit39 matrices
 
Add Math(F4) Quadratic Function 3.1
Add Math(F4)  Quadratic Function  3.1Add Math(F4)  Quadratic Function  3.1
Add Math(F4) Quadratic Function 3.1
 
Lines and curves algorithms
Lines and curves algorithmsLines and curves algorithms
Lines and curves algorithms
 
Integration
IntegrationIntegration
Integration
 
Connectivity of graphs
Connectivity of graphsConnectivity of graphs
Connectivity of graphs
 

Viewers also liked

Visita all'osservatorio astronomico classe 5^ di san nazario
Visita all'osservatorio astronomico classe 5^ di san nazarioVisita all'osservatorio astronomico classe 5^ di san nazario
Visita all'osservatorio astronomico classe 5^ di san nazario
ICBombieri
 
120610 behind the house cc_hans zijlstra
120610 behind the house cc_hans zijlstra120610 behind the house cc_hans zijlstra
120610 behind the house cc_hans zijlstra
Hans Zijlstra
 
VOCABULARIO LUISA INGLES
VOCABULARIO LUISA INGLESVOCABULARIO LUISA INGLES
VOCABULARIO LUISA INGLES
Luisa Requena
 
آداب غذا خوردن [Compatibility mode]
آداب غذا خوردن [Compatibility mode]آداب غذا خوردن [Compatibility mode]
آداب غذا خوردن [Compatibility mode]
Neda Jafari
 
داستان قوم ثمود
داستان قوم ثمودداستان قوم ثمود
داستان قوم ثمود
Neda Jafari
 
Dutch visit oct 2014
Dutch visit oct 2014Dutch visit oct 2014
Dutch visit oct 2014
Alejandro Armellini
 
Le nuove frontiere della tecnologia fotografica
Le nuove frontiere della tecnologia fotograficaLe nuove frontiere della tecnologia fotografica
Le nuove frontiere della tecnologia fotografica
Francesco Varano
 
آخرت و خدا
آخرت و خداآخرت و خدا
آخرت و خدا
Neda Jafari
 
معرفي کتاب فرق الشيعه
معرفي کتاب فرق الشيعهمعرفي کتاب فرق الشيعه
معرفي کتاب فرق الشيعهNeda Jafari
 
حضرت موسي (ع) [Compatibility mode]
حضرت موسي (ع) [Compatibility mode]حضرت موسي (ع) [Compatibility mode]
حضرت موسي (ع) [Compatibility mode]
Neda Jafari
 
Krs online stkip pgri blitar
Krs online stkip pgri blitarKrs online stkip pgri blitar
Krs online stkip pgri blitarEast Java
 
Nicequotesanimated 110326111535-phpapp02
Nicequotesanimated 110326111535-phpapp02Nicequotesanimated 110326111535-phpapp02
Nicequotesanimated 110326111535-phpapp02
Krishanu Nandi
 
داستان زندگي شعيب پيامبر
داستان زندگي شعيب پيامبرداستان زندگي شعيب پيامبر
داستان زندگي شعيب پيامبر
Neda Jafari
 
Leyes para tomar buenas fotografías
Leyes para tomar buenas fotografíasLeyes para tomar buenas fotografías
Leyes para tomar buenas fotografías
Jordan Rodas Ch
 
هانري کربن
هانري کربنهانري کربن
هانري کربن
Neda Jafari
 
مهارت شنونده ماهر بودن
مهارت شنونده ماهر بودنمهارت شنونده ماهر بودن
مهارت شنونده ماهر بودنNeda Jafari
 
Linear equations in two variables
Linear equations in two variablesLinear equations in two variables
Linear equations in two variables
julienorman80065
 
Standardized Deception: Examining the Debilitating Effects of Standardized Te...
Standardized Deception: Examining the Debilitating Effects of Standardized Te...Standardized Deception: Examining the Debilitating Effects of Standardized Te...
Standardized Deception: Examining the Debilitating Effects of Standardized Te...
petermanr22
 
Why Visual Content will Dominate 2014
Why Visual Content will Dominate 2014Why Visual Content will Dominate 2014
Why Visual Content will Dominate 2014
Wishpond
 
P&G Business Game 2012: Gillette Venus
P&G Business Game 2012: Gillette VenusP&G Business Game 2012: Gillette Venus
P&G Business Game 2012: Gillette Venus
Francesco Varano
 

Viewers also liked (20)

Visita all'osservatorio astronomico classe 5^ di san nazario
Visita all'osservatorio astronomico classe 5^ di san nazarioVisita all'osservatorio astronomico classe 5^ di san nazario
Visita all'osservatorio astronomico classe 5^ di san nazario
 
120610 behind the house cc_hans zijlstra
120610 behind the house cc_hans zijlstra120610 behind the house cc_hans zijlstra
120610 behind the house cc_hans zijlstra
 
VOCABULARIO LUISA INGLES
VOCABULARIO LUISA INGLESVOCABULARIO LUISA INGLES
VOCABULARIO LUISA INGLES
 
آداب غذا خوردن [Compatibility mode]
آداب غذا خوردن [Compatibility mode]آداب غذا خوردن [Compatibility mode]
آداب غذا خوردن [Compatibility mode]
 
داستان قوم ثمود
داستان قوم ثمودداستان قوم ثمود
داستان قوم ثمود
 
Dutch visit oct 2014
Dutch visit oct 2014Dutch visit oct 2014
Dutch visit oct 2014
 
Le nuove frontiere della tecnologia fotografica
Le nuove frontiere della tecnologia fotograficaLe nuove frontiere della tecnologia fotografica
Le nuove frontiere della tecnologia fotografica
 
آخرت و خدا
آخرت و خداآخرت و خدا
آخرت و خدا
 
معرفي کتاب فرق الشيعه
معرفي کتاب فرق الشيعهمعرفي کتاب فرق الشيعه
معرفي کتاب فرق الشيعه
 
حضرت موسي (ع) [Compatibility mode]
حضرت موسي (ع) [Compatibility mode]حضرت موسي (ع) [Compatibility mode]
حضرت موسي (ع) [Compatibility mode]
 
Krs online stkip pgri blitar
Krs online stkip pgri blitarKrs online stkip pgri blitar
Krs online stkip pgri blitar
 
Nicequotesanimated 110326111535-phpapp02
Nicequotesanimated 110326111535-phpapp02Nicequotesanimated 110326111535-phpapp02
Nicequotesanimated 110326111535-phpapp02
 
داستان زندگي شعيب پيامبر
داستان زندگي شعيب پيامبرداستان زندگي شعيب پيامبر
داستان زندگي شعيب پيامبر
 
Leyes para tomar buenas fotografías
Leyes para tomar buenas fotografíasLeyes para tomar buenas fotografías
Leyes para tomar buenas fotografías
 
هانري کربن
هانري کربنهانري کربن
هانري کربن
 
مهارت شنونده ماهر بودن
مهارت شنونده ماهر بودنمهارت شنونده ماهر بودن
مهارت شنونده ماهر بودن
 
Linear equations in two variables
Linear equations in two variablesLinear equations in two variables
Linear equations in two variables
 
Standardized Deception: Examining the Debilitating Effects of Standardized Te...
Standardized Deception: Examining the Debilitating Effects of Standardized Te...Standardized Deception: Examining the Debilitating Effects of Standardized Te...
Standardized Deception: Examining the Debilitating Effects of Standardized Te...
 
Why Visual Content will Dominate 2014
Why Visual Content will Dominate 2014Why Visual Content will Dominate 2014
Why Visual Content will Dominate 2014
 
P&G Business Game 2012: Gillette Venus
P&G Business Game 2012: Gillette VenusP&G Business Game 2012: Gillette Venus
P&G Business Game 2012: Gillette Venus
 

Similar to Linear Regression Modeling

Chapter 1: Linear Regression
Chapter 1: Linear RegressionChapter 1: Linear Regression
Chapter 1: Linear Regression
AkmelSyed
 
Fst ch3 notes
Fst ch3 notesFst ch3 notes
Fst ch3 notes
David Tchozewski
 
April 13, 2015
April 13, 2015April 13, 2015
April 13, 2015
khyps13
 
Graphs & linear equations assign
Graphs & linear equations assignGraphs & linear equations assign
Graphs & linear equations assign
Robin7761
 
Essay On Linear Function
Essay On Linear FunctionEssay On Linear Function
Essay On Linear Function
Angie Lee
 
MyStataLab Assignment Help
MyStataLab Assignment HelpMyStataLab Assignment Help
MyStataLab Assignment Help
Statistics Assignment Help
 
AS LEVEL COORDINATE GEOMETRY EXPLAINED
AS LEVEL COORDINATE GEOMETRY EXPLAINEDAS LEVEL COORDINATE GEOMETRY EXPLAINED
AS LEVEL COORDINATE GEOMETRY EXPLAINED
RACSOelimu
 
How to draw a good graph
How to draw a good graphHow to draw a good graph
How to draw a good graph
Tarun Gehlot
 
chapter1_part2.pdf
chapter1_part2.pdfchapter1_part2.pdf
chapter1_part2.pdf
AliEb2
 
April 4, 2014
April 4, 2014April 4, 2014
April 4, 2014
khyps13
 
Algebra.pdf
Algebra.pdfAlgebra.pdf
Algebra.pdf
Jihudumie.Com
 
Lesson 8
Lesson 8Lesson 8
Lesson 8
Vinnu Vinay
 
Analytic Geometry Period 1
Analytic Geometry Period 1Analytic Geometry Period 1
Analytic Geometry Period 1
ingroy
 
Week 3-4 solutions
Week 3-4 solutionsWeek 3-4 solutions
Week 3-4 solutions
Brian Larson
 
Regression Analysis.pdf
Regression Analysis.pdfRegression Analysis.pdf
Regression Analysis.pdf
ShrutidharaSarma1
 
5HBC: How to Graph Implicit Relations Intro Packet!
5HBC: How to Graph Implicit Relations Intro Packet!5HBC: How to Graph Implicit Relations Intro Packet!
5HBC: How to Graph Implicit Relations Intro Packet!
A Jorge Garcia
 
Geometry unit 7.1
Geometry unit 7.1Geometry unit 7.1
Geometry unit 7.1
Mark Ryder
 
Ca 1.6
Ca 1.6Ca 1.6
Ca 1.6
salamhello
 
LINEAR FUNCTIONS
LINEAR FUNCTIONSLINEAR FUNCTIONS
LINEAR FUNCTIONS
MAHLATSI NKADIMENG
 
Line of best fit lesson
Line of best fit lessonLine of best fit lesson
Line of best fit lesson
ReneeTorres11
 

Similar to Linear Regression Modeling (20)

Chapter 1: Linear Regression
Chapter 1: Linear RegressionChapter 1: Linear Regression
Chapter 1: Linear Regression
 
Fst ch3 notes
Fst ch3 notesFst ch3 notes
Fst ch3 notes
 
April 13, 2015
April 13, 2015April 13, 2015
April 13, 2015
 
Graphs & linear equations assign
Graphs & linear equations assignGraphs & linear equations assign
Graphs & linear equations assign
 
Essay On Linear Function
Essay On Linear FunctionEssay On Linear Function
Essay On Linear Function
 
MyStataLab Assignment Help
MyStataLab Assignment HelpMyStataLab Assignment Help
MyStataLab Assignment Help
 
AS LEVEL COORDINATE GEOMETRY EXPLAINED
AS LEVEL COORDINATE GEOMETRY EXPLAINEDAS LEVEL COORDINATE GEOMETRY EXPLAINED
AS LEVEL COORDINATE GEOMETRY EXPLAINED
 
How to draw a good graph
How to draw a good graphHow to draw a good graph
How to draw a good graph
 
chapter1_part2.pdf
chapter1_part2.pdfchapter1_part2.pdf
chapter1_part2.pdf
 
April 4, 2014
April 4, 2014April 4, 2014
April 4, 2014
 
Algebra.pdf
Algebra.pdfAlgebra.pdf
Algebra.pdf
 
Lesson 8
Lesson 8Lesson 8
Lesson 8
 
Analytic Geometry Period 1
Analytic Geometry Period 1Analytic Geometry Period 1
Analytic Geometry Period 1
 
Week 3-4 solutions
Week 3-4 solutionsWeek 3-4 solutions
Week 3-4 solutions
 
Regression Analysis.pdf
Regression Analysis.pdfRegression Analysis.pdf
Regression Analysis.pdf
 
5HBC: How to Graph Implicit Relations Intro Packet!
5HBC: How to Graph Implicit Relations Intro Packet!5HBC: How to Graph Implicit Relations Intro Packet!
5HBC: How to Graph Implicit Relations Intro Packet!
 
Geometry unit 7.1
Geometry unit 7.1Geometry unit 7.1
Geometry unit 7.1
 
Ca 1.6
Ca 1.6Ca 1.6
Ca 1.6
 
LINEAR FUNCTIONS
LINEAR FUNCTIONSLINEAR FUNCTIONS
LINEAR FUNCTIONS
 
Line of best fit lesson
Line of best fit lessonLine of best fit lesson
Line of best fit lesson
 

Recently uploaded

The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
BoudhayanBhattachari
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Leena Ghag-Sakpal
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
สมใจ จันสุกสี
 
Constructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective CommunicationConstructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective Communication
Chevonnese Chevers Whyte, MBA, B.Sc.
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
S. Raj Kumar
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 

Recently uploaded (20)

The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
 
Constructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective CommunicationConstructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective Communication
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 

Linear Regression Modeling

  • 1. Linear Regression Modeling Using a Graph & the Line of Best Fit
  • 2. What is a regression model? Many times in an For example, if we are given the equation algebra problem we 2 are given an y= x+6 , 3 equation, and we can then calculate y asked to calculate given different values of x. values using that equation. So if x = 3 , then y = 8 and if x = 6 , then y = 10
  • 3. What is a regression model? But sometimes, we are given the data and asked to create an equation that models the data. In other words, we already have the answers but need to figure out the equation that gives us those answers.
  • 4. What is a regression model? In mathematics, this is called a regression model, since we are sort of working backwards to find an equation, when we already have the answers.
  • 5. Why do we need them? Regression models have many applications in industry and science.  Regression models can predict future trends, like population growth.  Regression models can be used to estimate costs and profits for businesses.  Regression models can help medical care professionals determine how much medication to prescribe for their patients.
  • 6. The First Step: Linear Regressions The most basic kinds of regression models are linear regressions. We will start with creating a linear regression of a set of model data using the “line of best fit” method, by making a graph in the Cartesian plane.
  • 7. Linear Regression Modeling Using a Graph  Plot the data  Determine the “best fit” line by examination  Develop the equation of the line of best fit  Your linear model is complete
  • 8. Model Data x y  Plot the data on the -7 -6 Cartesian plane -5 -3 -3 -1 -1 0 0 2  The result is called a “scatter plot” 2 3 4 5 7 7
  • 9. This is the scatter plot of our model data.
  • 10. Adding the best fit line 1. The best fit line should: a) Pass through two points that are easy to find on the graph. b) Come as close as possible to as many of the data points in the scatter plot as possible 2. There should be about the same number of points from the scatter plot above the line as below it. 3. The best fit line can pass through some of the points on the scatter plot, but it does not have to pass through any of them.
  • 11. This line does not pass through two points that are easy to find on the graph. This will make it more difficult to determine the equation of this line.
  • 12. This line passes through two points that are easy to find on the graph, but it does not pass very close to most of the points in the scatter plot. This means that it is not a very good fit for the given data. (4, 3) (-3, -2)
  • 13. This line passes close to many of the data points in the scatter plot, but most of the points are above the line; (6, 6) only one point is below the line. We’re getting closer! (-3, -2)
  • 14. The line passes through two easy to (6, 7) find points. It passes close to most of the points in the scatter plot. There are several points both above and below the line. This looks like a good fit for the data! Remember, there may be more than one line that is a good fit. You have to decide which one looks “best” to you. (-7, -5)
  • 15. Find the Equation of Your Best-fit Line 1. Calculate the slope of the line 2. Using the slope-intercept form of a linear equation, y = mx + b , substitute one of the points on your best-fit line into the equation for x and y, and substitute the slope you found in step 1. 3. Solve the resulting equation for b, giving you the y- intercept. 4. Rewrite the equation in slope-intercept form using the correct values for slope and the y-intercept (b).
  • 16. Step 1: Calculate slope (6, 7) The slope of this line is: (-7, -5)
  • 17. Step 2: Substitute values into (6, 7) y = mx + b We will use the point (6,7), so 12 y = 7; x = 6; m = 13 12 Giving us: 7 = (6) + b 13 Step 3: Solve for b: (first multiply everything by 13): 91 = 72 +13b 19 = 13b 19 =b 13 (-7, -5)
  • 18. (6, 7) Step 4: Substitute the values calculated for m and b. 12 19 m= ; b= 13 13 And the equation of the regression line is: 12 19 y= x+ 13 13 (-7, -5)
  • 19. That’s it! Now we can use our model to predict or estimate further values in our data set, but that are not included in the data. For example, x = 12 is not one of the original data points. However, by using our regression model equation, we can estimate the y – value when x = 12. The resulting solution is: 12 19 y= (12) + 13 13 144 19 = + 13 13 163 = = 12.54 13