SlideShare a Scribd company logo
1 of 3
Download to read offline
When the bivariate data are displayed on the ๐‘ฅ๐‘ฆ coordinate plane by using a scatter plot, each data point
represents two variables. One of these two variables is the INDEPENDENT VARIABLE and the other one is
DEPENDENT VARIABLE.
THE BEST-FIT LINE
A scatter plot displays a group of data points that may appear to be following a straight line pointing either
upward to the right or to the left. The straight line that best illustrates the trend or direction that the data
points seem to follow is called the BEST-FIT LINE or LINE OF BEST FIT. This line of best fit can be estimated
from two data points on the scatter plot.
In finding the equation of the line of best fit, you can use the equation of the regression line or simply
regression equation formula.
The equation of the regression line is ๐’š
ฬ‚ = ๐’‚ + ๐’ƒ๐’™, where:
๐’‚ = ๐’š โˆ’ ๐’Š๐’๐’•๐’†๐’“๐’„๐’†๐’‘๐’• ๐’๐’‡ ๐’•๐’‰๐’† ๐’“๐’†๐’ˆ๐’“๐’†๐’”๐’”๐’Š๐’๐’ ๐’๐’Š๐’๐’†
๐’ƒ = ๐’”๐’๐’๐’‘๐’† ๐’๐’‡ ๐’•๐’‰๐’† ๐’“๐’†๐’ˆ๐’“๐’†๐’”๐’”๐’Š๐’๐’ ๐’๐’Š๐’๐’†
The y-intercept can be computed using the following formula:
๐’‚ =
(โˆ‘ ๐’š)(โˆ‘ ๐’™๐Ÿ
) โˆ’ (โˆ‘ ๐’™)(โˆ‘ ๐’™๐’š)
๐’(โˆ‘ ๐’™๐Ÿ) โˆ’ (โˆ‘ ๐’™)๐Ÿ
The x-intercept can be computed using the following formula:
๐’ƒ =
๐’(โˆ‘ ๐’™๐’š) โˆ’ (โˆ‘ ๐’™)(โˆ‘ ๐’š)
๐’(โˆ‘ ๐’™๐Ÿ) โˆ’ (โˆ‘ ๐’™)๐Ÿ
EXAMPLE 1: Consider the following data
a) Find the equation of the regression line using the table below.
X 1 2 3 4 5 6 7
y 4 3 8 6 12 10 8
SOLUTION:
๐’™ ๐’š ๐’™๐’š ๐’™๐Ÿ
1 4 4 1
2 3 6 4
3 8 24 9
4 6 24 16
5 12 60 25
6 10 60 36
7 8 56 49
โˆ‘ ๐‘ฅ = 28 โˆ‘ ๐‘ฆ = 51 โˆ‘ ๐‘ฅ๐‘ฆ = 234 โˆ‘ ๐‘ฅ2
= 140
The y-intercept can be computed using the following formula:
๐’‚ =
(โˆ‘ ๐’š)(โˆ‘ ๐’™๐Ÿ
) โˆ’ (โˆ‘ ๐’™)(โˆ‘ ๐’™๐’š)
๐’(โˆ‘ ๐’™๐Ÿ) โˆ’ (โˆ‘ ๐’™)๐Ÿ
๐’‚ =
(๐Ÿ“๐Ÿ)(๐Ÿ๐Ÿ’๐ŸŽ) โˆ’ (๐Ÿ๐Ÿ–)(๐Ÿ๐Ÿ‘๐Ÿ’)
๐Ÿ•(๐Ÿ๐Ÿ’๐ŸŽ) โˆ’ (๐Ÿ๐Ÿ–)๐Ÿ
=
๐Ÿ•, ๐Ÿ๐Ÿ’๐ŸŽ โˆ’ ๐Ÿ”, ๐Ÿ“๐Ÿ“๐Ÿ
๐Ÿ—๐Ÿ–๐ŸŽ โˆ’ ๐Ÿ•๐Ÿ–๐Ÿ’
=
๐Ÿ“๐Ÿ–๐Ÿ–
๐Ÿ๐Ÿ—๐Ÿ”
= ๐Ÿ‘
The x-intercept can be computed using the following formula:
๐’ƒ =
๐’(โˆ‘ ๐’™๐’š) โˆ’ (โˆ‘ ๐’™)(โˆ‘ ๐’š)
๐’(โˆ‘ ๐’™๐Ÿ) โˆ’ (โˆ‘ ๐’™)๐Ÿ
๐’ƒ =
๐Ÿ•(๐Ÿ๐Ÿ‘๐Ÿ’) โˆ’ (๐Ÿ๐Ÿ–)(๐Ÿ“๐Ÿ)
๐Ÿ•(๐Ÿ๐Ÿ’๐ŸŽ) โˆ’ (๐Ÿ๐Ÿ–)๐Ÿ
=
๐Ÿ, ๐Ÿ”๐Ÿ‘๐Ÿ– โˆ’ ๐Ÿ, ๐Ÿ’๐Ÿ๐Ÿ–
๐Ÿ—๐Ÿ–๐ŸŽ โˆ’ ๐Ÿ•๐Ÿ–๐Ÿ’
=
๐Ÿ๐Ÿ๐ŸŽ
๐Ÿ๐Ÿ—๐Ÿ”
= ๐Ÿ. ๐ŸŽ๐Ÿ•๐Ÿ๐Ÿ’๐Ÿ ๐’๐’“ ๐Ÿ. ๐ŸŽ๐Ÿ•๐Ÿ
The equation of the regression line is
๐’š
ฬ‚ = ๐’‚ + ๐’ƒ๐’™
๐’š
ฬ‚ = ๐Ÿ‘ + ๐Ÿ. ๐ŸŽ๐Ÿ•๐Ÿ๐’™
EXAMPLE 2: The grades of 7 students in the first and second grading periods are shown below.
a) Find the equation of the regression line.
b) Estimate the grade in the second grading period of a student who received a grade of 88 in
the first grading period.
x 80 78 76 82 84 85 75
y 84 79 75 86 84 77 78
SOLUTION:
๐’™ ๐’š ๐’™๐’š ๐’™๐Ÿ
80 84 6,720 6,400
78 79 6,162 6,084
76 75 5,700 5,776
82 86 7,052 6,724
84 84 7,056 7,056
85 77 6,545 7,225
75 78 5,850 5,625
โˆ‘ ๐’™ = ๐Ÿ“๐Ÿ”๐ŸŽ โˆ‘ ๐’š = ๐Ÿ“๐Ÿ”๐Ÿ‘ โˆ‘ ๐’™๐’š = ๐Ÿ’๐Ÿ“, ๐ŸŽ๐Ÿ–๐Ÿ“ โˆ‘ ๐’™๐Ÿ
= ๐Ÿ’๐Ÿ’, ๐Ÿ–๐Ÿ—๐ŸŽ
The y-intercept can be computed using the following formula:
๐’‚ =
(โˆ‘ ๐’š)(โˆ‘ ๐’™๐Ÿ
) โˆ’ (โˆ‘ ๐’™)(โˆ‘ ๐’™๐’š)
๐’(โˆ‘ ๐’™๐Ÿ) โˆ’ (โˆ‘ ๐’™)๐Ÿ
๐’‚ =
(๐Ÿ“๐Ÿ”๐Ÿ‘)(๐Ÿ’๐Ÿ’, ๐Ÿ–๐Ÿ—๐ŸŽ) โˆ’ (๐Ÿ“๐Ÿ”๐ŸŽ)(๐Ÿ’๐Ÿ“, ๐ŸŽ๐Ÿ–๐Ÿ“)
๐Ÿ•(๐Ÿ’๐Ÿ’, ๐Ÿ–๐Ÿ—๐ŸŽ) โˆ’ (๐Ÿ“๐Ÿ”๐ŸŽ)๐Ÿ
=
๐Ÿ๐Ÿ“, ๐Ÿ๐Ÿ•๐Ÿ‘, ๐ŸŽ๐Ÿ•๐ŸŽ โˆ’ ๐Ÿ๐Ÿ“, ๐Ÿ๐Ÿ’๐Ÿ•, ๐Ÿ”๐ŸŽ๐ŸŽ
๐Ÿ‘๐Ÿ๐Ÿ’, ๐Ÿ๐Ÿ‘๐ŸŽ โˆ’ ๐Ÿ‘๐Ÿ๐Ÿ‘, ๐Ÿ”๐ŸŽ๐ŸŽ
=
๐Ÿ๐Ÿ“, ๐Ÿ’๐Ÿ•๐ŸŽ
๐Ÿ”๐Ÿ‘๐ŸŽ
= ๐Ÿ’๐ŸŽ. ๐Ÿ’๐Ÿ๐Ÿ—
The x-intercept can be computed using the following formula:
๐’ƒ =
๐’(โˆ‘ ๐’™๐’š) โˆ’ (โˆ‘ ๐’™)(โˆ‘ ๐’š)
๐’(โˆ‘ ๐’™๐Ÿ) โˆ’ (โˆ‘ ๐’™)๐Ÿ
๐’ƒ =
๐Ÿ•(๐Ÿ’๐Ÿ“, ๐ŸŽ๐Ÿ–๐Ÿ“) โˆ’ (๐Ÿ“๐Ÿ”๐ŸŽ)(๐Ÿ“๐Ÿ”๐Ÿ‘)
๐Ÿ•(๐Ÿ’๐Ÿ’, ๐Ÿ–๐Ÿ—๐ŸŽ) โˆ’ (๐Ÿ“๐Ÿ”๐ŸŽ)๐Ÿ
=
๐Ÿ‘๐Ÿ๐Ÿ“, ๐Ÿ“๐Ÿ—๐Ÿ“ โˆ’ ๐Ÿ‘๐Ÿ๐Ÿ“, ๐Ÿ๐Ÿ–๐ŸŽ
๐Ÿ‘๐Ÿ๐Ÿ’, ๐Ÿ๐Ÿ‘๐ŸŽ โˆ’ ๐Ÿ‘๐Ÿ๐Ÿ‘, ๐Ÿ”๐ŸŽ๐ŸŽ
=
๐Ÿ‘๐Ÿ๐Ÿ“
๐Ÿ”๐Ÿ‘๐ŸŽ
= ๐ŸŽ. ๐Ÿ“
The equation of the regression line is
๐’š
ฬ‚ = ๐’‚ + ๐’ƒ๐’™
๐’š
ฬ‚ = ๐Ÿ’๐ŸŽ. ๐Ÿ’๐Ÿ๐Ÿ— + ๐ŸŽ. ๐Ÿ“๐’™
Estimate the grade in the second grading period of a student who received a grade of 88 in the first grading
period:
๐’š
ฬ‚ = ๐Ÿ’๐ŸŽ. ๐Ÿ’๐Ÿ๐Ÿ— + ๐ŸŽ. ๐Ÿ“๐’™
๐’š
ฬ‚ = ๐Ÿ’๐ŸŽ. ๐Ÿ’๐Ÿ๐Ÿ— + ๐ŸŽ. ๐Ÿ“(๐Ÿ–๐Ÿ–)
๐’š
ฬ‚ = ๐Ÿ’๐ŸŽ. ๐Ÿ’๐Ÿ๐Ÿ— + ๐Ÿ’๐Ÿ’
๐’š
ฬ‚ = ๐Ÿ–๐Ÿ’. ๐Ÿ’๐Ÿ๐Ÿ— ๐’๐’“ ๐Ÿ–๐Ÿ’. ๐Ÿ’๐Ÿ‘
A student whose grade is 88 in the first grading can expect a grade of 84.43 in the second grading.

More Related Content

What's hot

Simple Linear Regression
Simple Linear RegressionSimple Linear Regression
Simple Linear Regression
Sharlaine Ruth
ย 
Least square method
Least square methodLeast square method
Least square method
Somya Bagai
ย 
Graphing a line using Slope-Intercept form
Graphing a line using Slope-Intercept formGraphing a line using Slope-Intercept form
Graphing a line using Slope-Intercept form
shepieces
ย 

What's hot (20)

Curve Fitting
Curve FittingCurve Fitting
Curve Fitting
ย 
Least Squares Regression Method | Edureka
Least Squares Regression Method | EdurekaLeast Squares Regression Method | Edureka
Least Squares Regression Method | Edureka
ย 
Applied Numerical Methods Curve Fitting: Least Squares Regression, Interpolation
Applied Numerical Methods Curve Fitting: Least Squares Regression, InterpolationApplied Numerical Methods Curve Fitting: Least Squares Regression, Interpolation
Applied Numerical Methods Curve Fitting: Least Squares Regression, Interpolation
ย 
Simple Linear Regression
Simple Linear RegressionSimple Linear Regression
Simple Linear Regression
ย 
Least square method
Least square methodLeast square method
Least square method
ย 
Cat Quant Cheat Sheet
Cat Quant Cheat SheetCat Quant Cheat Sheet
Cat Quant Cheat Sheet
ย 
Curve fitting
Curve fitting Curve fitting
Curve fitting
ย 
Curve fitting
Curve fittingCurve fitting
Curve fitting
ย 
Data Approximation in Mathematical Modelling Regression Analysis and Curve Fi...
Data Approximation in Mathematical Modelling Regression Analysis and Curve Fi...Data Approximation in Mathematical Modelling Regression Analysis and Curve Fi...
Data Approximation in Mathematical Modelling Regression Analysis and Curve Fi...
ย 
Volume of a square based pyramid by Integration
Volume of a square based pyramid by IntegrationVolume of a square based pyramid by Integration
Volume of a square based pyramid by Integration
ย 
Curve fitting
Curve fittingCurve fitting
Curve fitting
ย 
Linear Regression Using SPSS
Linear Regression Using SPSSLinear Regression Using SPSS
Linear Regression Using SPSS
ย 
Pwm Control Strategy for Controlling Of Parallel Rectifiers In Single Phase T...
Pwm Control Strategy for Controlling Of Parallel Rectifiers In Single Phase T...Pwm Control Strategy for Controlling Of Parallel Rectifiers In Single Phase T...
Pwm Control Strategy for Controlling Of Parallel Rectifiers In Single Phase T...
ย 
Poster KH & SH
Poster KH & SHPoster KH & SH
Poster KH & SH
ย 
SUEC ้ซ˜ไธญ Adv Maths (Quadratic Graph)
SUEC ้ซ˜ไธญ Adv Maths (Quadratic Graph)SUEC ้ซ˜ไธญ Adv Maths (Quadratic Graph)
SUEC ้ซ˜ไธญ Adv Maths (Quadratic Graph)
ย 
Rasio trigonometri pada segitiga siku siku
Rasio trigonometri pada segitiga siku sikuRasio trigonometri pada segitiga siku siku
Rasio trigonometri pada segitiga siku siku
ย 
Symmetry
SymmetrySymmetry
Symmetry
ย 
Curve fitting - Lecture Notes
Curve fitting - Lecture NotesCurve fitting - Lecture Notes
Curve fitting - Lecture Notes
ย 
Analytical Geometry of Three Dimensions
Analytical Geometry of Three DimensionsAnalytical Geometry of Three Dimensions
Analytical Geometry of Three Dimensions
ย 
Graphing a line using Slope-Intercept form
Graphing a line using Slope-Intercept formGraphing a line using Slope-Intercept form
Graphing a line using Slope-Intercept form
ย 

Similar to Module10 the regression analysis

Semana 24 funciones iv รกlgebra uni ccesa007
Semana 24 funciones iv รกlgebra uni ccesa007Semana 24 funciones iv รกlgebra uni ccesa007
Semana 24 funciones iv รกlgebra uni ccesa007
Demetrio Ccesa Rayme
ย 
Semana 31 matrices รกlgebra uni ccesa007
Semana 31 matrices  รกlgebra uni ccesa007Semana 31 matrices  รกlgebra uni ccesa007
Semana 31 matrices รกlgebra uni ccesa007
Demetrio Ccesa Rayme
ย 

Similar to Module10 the regression analysis (20)

Regression.pptx
Regression.pptxRegression.pptx
Regression.pptx
ย 
Regression
RegressionRegression
Regression
ย 
Solving Systems of Linear Equations in Two Variables by Graphing
Solving Systems of Linear Equations in Two Variables by GraphingSolving Systems of Linear Equations in Two Variables by Graphing
Solving Systems of Linear Equations in Two Variables by Graphing
ย 
Course pack unit 5
Course pack unit 5Course pack unit 5
Course pack unit 5
ย 
linear algebra (malak,).pptx
linear algebra (malak,).pptxlinear algebra (malak,).pptx
linear algebra (malak,).pptx
ย 
Differential Geometry for Machine Learning
Differential Geometry for Machine LearningDifferential Geometry for Machine Learning
Differential Geometry for Machine Learning
ย 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
ย 
Estimation Theory Class (Summary and Revision)
Estimation Theory Class (Summary and Revision)Estimation Theory Class (Summary and Revision)
Estimation Theory Class (Summary and Revision)
ย 
g_9 - L_1 Solving Quadratic Equations.pptx
g_9 - L_1 Solving Quadratic Equations.pptxg_9 - L_1 Solving Quadratic Equations.pptx
g_9 - L_1 Solving Quadratic Equations.pptx
ย 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptx
ย 
Generalised Statistical Convergence For Double Sequences
Generalised Statistical Convergence For Double SequencesGeneralised Statistical Convergence For Double Sequences
Generalised Statistical Convergence For Double Sequences
ย 
Algebra-taller2
Algebra-taller2Algebra-taller2
Algebra-taller2
ย 
Rational function 11
Rational function 11Rational function 11
Rational function 11
ย 
Applied mathematics
Applied mathematicsApplied mathematics
Applied mathematics
ย 
Semana 24 funciones iv รกlgebra uni ccesa007
Semana 24 funciones iv รกlgebra uni ccesa007Semana 24 funciones iv รกlgebra uni ccesa007
Semana 24 funciones iv รกlgebra uni ccesa007
ย 
Unit 5 Correlation
Unit 5 CorrelationUnit 5 Correlation
Unit 5 Correlation
ย 
Semana 31 matrices รกlgebra uni ccesa007
Semana 31 matrices  รกlgebra uni ccesa007Semana 31 matrices  รกlgebra uni ccesa007
Semana 31 matrices รกlgebra uni ccesa007
ย 
Plano cartesiano
Plano cartesianoPlano cartesiano
Plano cartesiano
ย 
Comparative analysis of x^3+y^3=z^3 and x^2+y^2=z^2 in the Interconnected Sets
Comparative analysis of x^3+y^3=z^3 and x^2+y^2=z^2 in the Interconnected Sets Comparative analysis of x^3+y^3=z^3 and x^2+y^2=z^2 in the Interconnected Sets
Comparative analysis of x^3+y^3=z^3 and x^2+y^2=z^2 in the Interconnected Sets
ย 
INVERSE OF MATRIX
INVERSE OF MATRIXINVERSE OF MATRIX
INVERSE OF MATRIX
ย 

More from REYEMMANUELILUMBA

More from REYEMMANUELILUMBA (20)

Moudule9 the fundamental theorem of calculus
Moudule9 the fundamental theorem of calculusMoudule9 the fundamental theorem of calculus
Moudule9 the fundamental theorem of calculus
ย 
Module 10 the reimann sums
Module 10 the reimann sumsModule 10 the reimann sums
Module 10 the reimann sums
ย 
Module 8 the antiderivative substitution rule
Module 8 the antiderivative substitution ruleModule 8 the antiderivative substitution rule
Module 8 the antiderivative substitution rule
ย 
Module 7 the antiderivative
Module 7  the antiderivativeModule 7  the antiderivative
Module 7 the antiderivative
ย 
Module 7 the antiderivative
Module 7  the antiderivativeModule 7  the antiderivative
Module 7 the antiderivative
ย 
The algebraic techniques module4
The algebraic techniques module4The algebraic techniques module4
The algebraic techniques module4
ย 
Module 6 the chain rule
Module 6 the chain ruleModule 6 the chain rule
Module 6 the chain rule
ย 
Module 6 the extreme value theorem
Module 6 the extreme value theoremModule 6 the extreme value theorem
Module 6 the extreme value theorem
ย 
The algebraic techniques module4
The algebraic techniques module4The algebraic techniques module4
The algebraic techniques module4
ย 
Module9 the pearson correlation
Module9 the pearson correlationModule9 the pearson correlation
Module9 the pearson correlation
ย 
Module9 the pearson correlation
Module9 the pearson correlationModule9 the pearson correlation
Module9 the pearson correlation
ย 
Review on module 9
Review on module 9Review on module 9
Review on module 9
ย 
Module08 hypotheses testing proportions
Module08 hypotheses testing proportionsModule08 hypotheses testing proportions
Module08 hypotheses testing proportions
ย 
Review on module8
Review on module8Review on module8
Review on module8
ย 
Module 7 hypothesis testing
Module 7 hypothesis testingModule 7 hypothesis testing
Module 7 hypothesis testing
ย 
Review on module 7
Review on module 7Review on module 7
Review on module 7
ย 
Statisitcal hypotheses module06
Statisitcal hypotheses module06Statisitcal hypotheses module06
Statisitcal hypotheses module06
ย 
Derivatives of trigo and exponential functions module5
Derivatives of trigo and exponential functions module5Derivatives of trigo and exponential functions module5
Derivatives of trigo and exponential functions module5
ย 
The algebraic techniques module4
The algebraic techniques module4The algebraic techniques module4
The algebraic techniques module4
ย 
Identifying the sampling distribution module5
Identifying the sampling distribution module5Identifying the sampling distribution module5
Identifying the sampling distribution module5
ย 

Recently uploaded

Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
cupulin
ย 
ฤแป€ THAM KHแบขO KรŒ THI TUYแป‚N SINH Vร€O LแปšP 10 Mร”N TIแบพNG ANH FORM 50 Cร‚U TRแบฎC NGHI...
ฤแป€ THAM KHแบขO KรŒ THI TUYแป‚N SINH Vร€O LแปšP 10 Mร”N TIแบพNG ANH FORM 50 Cร‚U TRแบฎC NGHI...ฤแป€ THAM KHแบขO KรŒ THI TUYแป‚N SINH Vร€O LแปšP 10 Mร”N TIแบพNG ANH FORM 50 Cร‚U TRแบฎC NGHI...
ฤแป€ THAM KHแบขO KรŒ THI TUYแป‚N SINH Vร€O LแปšP 10 Mร”N TIแบพNG ANH FORM 50 Cร‚U TRแบฎC NGHI...
Nguyen Thanh Tu Collection
ย 
24 ฤแป€ THAM KHแบขO KรŒ THI TUYแป‚N SINH Vร€O LแปšP 10 Mร”N TIแบพNG ANH Sแปž GIรO DแปคC HแบขI Dฦฏ...
24 ฤแป€ THAM KHแบขO KรŒ THI TUYแป‚N SINH Vร€O LแปšP 10 Mร”N TIแบพNG ANH Sแปž GIรO DแปคC HแบขI Dฦฏ...24 ฤแป€ THAM KHแบขO KรŒ THI TUYแป‚N SINH Vร€O LแปšP 10 Mร”N TIแบพNG ANH Sแปž GIรO DแปคC HแบขI Dฦฏ...
24 ฤแป€ THAM KHแบขO KรŒ THI TUYแป‚N SINH Vร€O LแปšP 10 Mร”N TIแบพNG ANH Sแปž GIรO DแปคC HแบขI Dฦฏ...
Nguyen Thanh Tu Collection
ย 
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MysoreMuleSoftMeetup
ย 

Recently uploaded (20)

Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategies
ย 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical Principles
ย 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
ย 
ฤแป€ THAM KHแบขO KรŒ THI TUYแป‚N SINH Vร€O LแปšP 10 Mร”N TIแบพNG ANH FORM 50 Cร‚U TRแบฎC NGHI...
ฤแป€ THAM KHแบขO KรŒ THI TUYแป‚N SINH Vร€O LแปšP 10 Mร”N TIแบพNG ANH FORM 50 Cร‚U TRแบฎC NGHI...ฤแป€ THAM KHแบขO KรŒ THI TUYแป‚N SINH Vร€O LแปšP 10 Mร”N TIแบพNG ANH FORM 50 Cร‚U TRแบฎC NGHI...
ฤแป€ THAM KHแบขO KรŒ THI TUYแป‚N SINH Vร€O LแปšP 10 Mร”N TIแบพNG ANH FORM 50 Cร‚U TRแบฎC NGHI...
ย 
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ย 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
ย 
24 ฤแป€ THAM KHแบขO KรŒ THI TUYแป‚N SINH Vร€O LแปšP 10 Mร”N TIแบพNG ANH Sแปž GIรO DแปคC HแบขI Dฦฏ...
24 ฤแป€ THAM KHแบขO KรŒ THI TUYแป‚N SINH Vร€O LแปšP 10 Mร”N TIแบพNG ANH Sแปž GIรO DแปคC HแบขI Dฦฏ...24 ฤแป€ THAM KHแบขO KรŒ THI TUYแป‚N SINH Vร€O LแปšP 10 Mร”N TIแบพNG ANH Sแปž GIรO DแปคC HแบขI Dฦฏ...
24 ฤแป€ THAM KHแบขO KรŒ THI TUYแป‚N SINH Vร€O LแปšP 10 Mร”N TIแบพNG ANH Sแปž GIรO DแปคC HแบขI Dฦฏ...
ย 
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
ย 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
ย 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
ย 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
ย 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptx
ย 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
ย 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptx
ย 
Rich Dad Poor Dad ( PDFDrive.com )--.pdf
Rich Dad Poor Dad ( PDFDrive.com )--.pdfRich Dad Poor Dad ( PDFDrive.com )--.pdf
Rich Dad Poor Dad ( PDFDrive.com )--.pdf
ย 
Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"
ย 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio App
ย 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
ย 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
ย 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
ย 

Module10 the regression analysis

  • 1. When the bivariate data are displayed on the ๐‘ฅ๐‘ฆ coordinate plane by using a scatter plot, each data point represents two variables. One of these two variables is the INDEPENDENT VARIABLE and the other one is DEPENDENT VARIABLE. THE BEST-FIT LINE A scatter plot displays a group of data points that may appear to be following a straight line pointing either upward to the right or to the left. The straight line that best illustrates the trend or direction that the data points seem to follow is called the BEST-FIT LINE or LINE OF BEST FIT. This line of best fit can be estimated from two data points on the scatter plot. In finding the equation of the line of best fit, you can use the equation of the regression line or simply regression equation formula. The equation of the regression line is ๐’š ฬ‚ = ๐’‚ + ๐’ƒ๐’™, where: ๐’‚ = ๐’š โˆ’ ๐’Š๐’๐’•๐’†๐’“๐’„๐’†๐’‘๐’• ๐’๐’‡ ๐’•๐’‰๐’† ๐’“๐’†๐’ˆ๐’“๐’†๐’”๐’”๐’Š๐’๐’ ๐’๐’Š๐’๐’† ๐’ƒ = ๐’”๐’๐’๐’‘๐’† ๐’๐’‡ ๐’•๐’‰๐’† ๐’“๐’†๐’ˆ๐’“๐’†๐’”๐’”๐’Š๐’๐’ ๐’๐’Š๐’๐’† The y-intercept can be computed using the following formula: ๐’‚ = (โˆ‘ ๐’š)(โˆ‘ ๐’™๐Ÿ ) โˆ’ (โˆ‘ ๐’™)(โˆ‘ ๐’™๐’š) ๐’(โˆ‘ ๐’™๐Ÿ) โˆ’ (โˆ‘ ๐’™)๐Ÿ The x-intercept can be computed using the following formula: ๐’ƒ = ๐’(โˆ‘ ๐’™๐’š) โˆ’ (โˆ‘ ๐’™)(โˆ‘ ๐’š) ๐’(โˆ‘ ๐’™๐Ÿ) โˆ’ (โˆ‘ ๐’™)๐Ÿ EXAMPLE 1: Consider the following data a) Find the equation of the regression line using the table below. X 1 2 3 4 5 6 7 y 4 3 8 6 12 10 8 SOLUTION: ๐’™ ๐’š ๐’™๐’š ๐’™๐Ÿ 1 4 4 1 2 3 6 4 3 8 24 9 4 6 24 16 5 12 60 25 6 10 60 36 7 8 56 49 โˆ‘ ๐‘ฅ = 28 โˆ‘ ๐‘ฆ = 51 โˆ‘ ๐‘ฅ๐‘ฆ = 234 โˆ‘ ๐‘ฅ2 = 140
  • 2. The y-intercept can be computed using the following formula: ๐’‚ = (โˆ‘ ๐’š)(โˆ‘ ๐’™๐Ÿ ) โˆ’ (โˆ‘ ๐’™)(โˆ‘ ๐’™๐’š) ๐’(โˆ‘ ๐’™๐Ÿ) โˆ’ (โˆ‘ ๐’™)๐Ÿ ๐’‚ = (๐Ÿ“๐Ÿ)(๐Ÿ๐Ÿ’๐ŸŽ) โˆ’ (๐Ÿ๐Ÿ–)(๐Ÿ๐Ÿ‘๐Ÿ’) ๐Ÿ•(๐Ÿ๐Ÿ’๐ŸŽ) โˆ’ (๐Ÿ๐Ÿ–)๐Ÿ = ๐Ÿ•, ๐Ÿ๐Ÿ’๐ŸŽ โˆ’ ๐Ÿ”, ๐Ÿ“๐Ÿ“๐Ÿ ๐Ÿ—๐Ÿ–๐ŸŽ โˆ’ ๐Ÿ•๐Ÿ–๐Ÿ’ = ๐Ÿ“๐Ÿ–๐Ÿ– ๐Ÿ๐Ÿ—๐Ÿ” = ๐Ÿ‘ The x-intercept can be computed using the following formula: ๐’ƒ = ๐’(โˆ‘ ๐’™๐’š) โˆ’ (โˆ‘ ๐’™)(โˆ‘ ๐’š) ๐’(โˆ‘ ๐’™๐Ÿ) โˆ’ (โˆ‘ ๐’™)๐Ÿ ๐’ƒ = ๐Ÿ•(๐Ÿ๐Ÿ‘๐Ÿ’) โˆ’ (๐Ÿ๐Ÿ–)(๐Ÿ“๐Ÿ) ๐Ÿ•(๐Ÿ๐Ÿ’๐ŸŽ) โˆ’ (๐Ÿ๐Ÿ–)๐Ÿ = ๐Ÿ, ๐Ÿ”๐Ÿ‘๐Ÿ– โˆ’ ๐Ÿ, ๐Ÿ’๐Ÿ๐Ÿ– ๐Ÿ—๐Ÿ–๐ŸŽ โˆ’ ๐Ÿ•๐Ÿ–๐Ÿ’ = ๐Ÿ๐Ÿ๐ŸŽ ๐Ÿ๐Ÿ—๐Ÿ” = ๐Ÿ. ๐ŸŽ๐Ÿ•๐Ÿ๐Ÿ’๐Ÿ ๐’๐’“ ๐Ÿ. ๐ŸŽ๐Ÿ•๐Ÿ The equation of the regression line is ๐’š ฬ‚ = ๐’‚ + ๐’ƒ๐’™ ๐’š ฬ‚ = ๐Ÿ‘ + ๐Ÿ. ๐ŸŽ๐Ÿ•๐Ÿ๐’™ EXAMPLE 2: The grades of 7 students in the first and second grading periods are shown below. a) Find the equation of the regression line. b) Estimate the grade in the second grading period of a student who received a grade of 88 in the first grading period. x 80 78 76 82 84 85 75 y 84 79 75 86 84 77 78 SOLUTION: ๐’™ ๐’š ๐’™๐’š ๐’™๐Ÿ 80 84 6,720 6,400 78 79 6,162 6,084 76 75 5,700 5,776 82 86 7,052 6,724 84 84 7,056 7,056 85 77 6,545 7,225 75 78 5,850 5,625 โˆ‘ ๐’™ = ๐Ÿ“๐Ÿ”๐ŸŽ โˆ‘ ๐’š = ๐Ÿ“๐Ÿ”๐Ÿ‘ โˆ‘ ๐’™๐’š = ๐Ÿ’๐Ÿ“, ๐ŸŽ๐Ÿ–๐Ÿ“ โˆ‘ ๐’™๐Ÿ = ๐Ÿ’๐Ÿ’, ๐Ÿ–๐Ÿ—๐ŸŽ The y-intercept can be computed using the following formula: ๐’‚ = (โˆ‘ ๐’š)(โˆ‘ ๐’™๐Ÿ ) โˆ’ (โˆ‘ ๐’™)(โˆ‘ ๐’™๐’š) ๐’(โˆ‘ ๐’™๐Ÿ) โˆ’ (โˆ‘ ๐’™)๐Ÿ
  • 3. ๐’‚ = (๐Ÿ“๐Ÿ”๐Ÿ‘)(๐Ÿ’๐Ÿ’, ๐Ÿ–๐Ÿ—๐ŸŽ) โˆ’ (๐Ÿ“๐Ÿ”๐ŸŽ)(๐Ÿ’๐Ÿ“, ๐ŸŽ๐Ÿ–๐Ÿ“) ๐Ÿ•(๐Ÿ’๐Ÿ’, ๐Ÿ–๐Ÿ—๐ŸŽ) โˆ’ (๐Ÿ“๐Ÿ”๐ŸŽ)๐Ÿ = ๐Ÿ๐Ÿ“, ๐Ÿ๐Ÿ•๐Ÿ‘, ๐ŸŽ๐Ÿ•๐ŸŽ โˆ’ ๐Ÿ๐Ÿ“, ๐Ÿ๐Ÿ’๐Ÿ•, ๐Ÿ”๐ŸŽ๐ŸŽ ๐Ÿ‘๐Ÿ๐Ÿ’, ๐Ÿ๐Ÿ‘๐ŸŽ โˆ’ ๐Ÿ‘๐Ÿ๐Ÿ‘, ๐Ÿ”๐ŸŽ๐ŸŽ = ๐Ÿ๐Ÿ“, ๐Ÿ’๐Ÿ•๐ŸŽ ๐Ÿ”๐Ÿ‘๐ŸŽ = ๐Ÿ’๐ŸŽ. ๐Ÿ’๐Ÿ๐Ÿ— The x-intercept can be computed using the following formula: ๐’ƒ = ๐’(โˆ‘ ๐’™๐’š) โˆ’ (โˆ‘ ๐’™)(โˆ‘ ๐’š) ๐’(โˆ‘ ๐’™๐Ÿ) โˆ’ (โˆ‘ ๐’™)๐Ÿ ๐’ƒ = ๐Ÿ•(๐Ÿ’๐Ÿ“, ๐ŸŽ๐Ÿ–๐Ÿ“) โˆ’ (๐Ÿ“๐Ÿ”๐ŸŽ)(๐Ÿ“๐Ÿ”๐Ÿ‘) ๐Ÿ•(๐Ÿ’๐Ÿ’, ๐Ÿ–๐Ÿ—๐ŸŽ) โˆ’ (๐Ÿ“๐Ÿ”๐ŸŽ)๐Ÿ = ๐Ÿ‘๐Ÿ๐Ÿ“, ๐Ÿ“๐Ÿ—๐Ÿ“ โˆ’ ๐Ÿ‘๐Ÿ๐Ÿ“, ๐Ÿ๐Ÿ–๐ŸŽ ๐Ÿ‘๐Ÿ๐Ÿ’, ๐Ÿ๐Ÿ‘๐ŸŽ โˆ’ ๐Ÿ‘๐Ÿ๐Ÿ‘, ๐Ÿ”๐ŸŽ๐ŸŽ = ๐Ÿ‘๐Ÿ๐Ÿ“ ๐Ÿ”๐Ÿ‘๐ŸŽ = ๐ŸŽ. ๐Ÿ“ The equation of the regression line is ๐’š ฬ‚ = ๐’‚ + ๐’ƒ๐’™ ๐’š ฬ‚ = ๐Ÿ’๐ŸŽ. ๐Ÿ’๐Ÿ๐Ÿ— + ๐ŸŽ. ๐Ÿ“๐’™ Estimate the grade in the second grading period of a student who received a grade of 88 in the first grading period: ๐’š ฬ‚ = ๐Ÿ’๐ŸŽ. ๐Ÿ’๐Ÿ๐Ÿ— + ๐ŸŽ. ๐Ÿ“๐’™ ๐’š ฬ‚ = ๐Ÿ’๐ŸŽ. ๐Ÿ’๐Ÿ๐Ÿ— + ๐ŸŽ. ๐Ÿ“(๐Ÿ–๐Ÿ–) ๐’š ฬ‚ = ๐Ÿ’๐ŸŽ. ๐Ÿ’๐Ÿ๐Ÿ— + ๐Ÿ’๐Ÿ’ ๐’š ฬ‚ = ๐Ÿ–๐Ÿ’. ๐Ÿ’๐Ÿ๐Ÿ— ๐’๐’“ ๐Ÿ–๐Ÿ’. ๐Ÿ’๐Ÿ‘ A student whose grade is 88 in the first grading can expect a grade of 84.43 in the second grading.