Linear Regression and Correlation
Linear Regression and Correlation
GE 112
Mathematics in the Modern World
1
Linear Regression
Introduction:
The Model:
The model has a deterministic and a probabilistic
components.
House
Cost
House size
House size
The Model:
The first order linear model
y = 0 + 1x +
0 and 1 are unknown population
parameters, therefore are estimated
𝑦 = dependent variable y from the data.
𝑥 = independent variable
0 = 𝑦-intercept
1 = slope of the line Rise = Rise/Run
= error variable 0 Run
x
Linear Regression and
Correlation Page 5
Linear Regression
Estimating the Coefficients:
Formula:
where SS xy = xi yi −
( x )( y )
i i
n
( x)
2
SS xx = x − = (n − 1) sx2
2 i
i
n
Linear Regression and
Correlation Page 8
Linear Regression
The regression equation that estimates the equation of the
first order linear model is:
ŷ = b0 + b1 x
Note:
c) Interpret b1.
𝑦ො = 12.06 + 0.78𝑥
3. The closer |r| is to 1, the stronger the linear relationship between the
variables.