Unit 2 Topic 1 REGRESSION
Unit 2 Topic 1 REGRESSION
Simple Regression
• Used to predict a continuous dependent variable based on a
single independent variable.
• Simple linear regression should be used when there is only a
single independent variable.
Conti…
Multiple Regression
◦ Used to predict a continuous dependent variable based
on multiple independent variables.
◦ Multiple linear regression should be used when there are
multiple independent variables.
NonLinear Regression
◦ Relationship between the dependent variable and
independent variable(s) follows a nonlinear pattern.
◦ Provides flexibility in modeling a wide range of functional
forms.
Simple Linear Regression
Simple linear regression is a model that assesses the
relationship between a dependent variable and an
independent variable. The simple linear model is
expressed using the following equation:
Y = a + bX + ϵ
Where:
Y – Dependent variable
X – Independent (explanatory) variable
a – Intercept
b – Slope
ϵ – Residual (error)
Multiple Linear Regression
Multiplelinear regression analysis is essentially similar
to the simple linear model, with the exception that
multiple independent variables are used in the model.
The mathematical representation of multiple linear
regression is:
Y = a + bX1 + cX2 + dX3 + ϵ
Where:
Y – Dependent variable
X1, X2, X3 – Independent (explanatory) variables
a – Intercept
b, c, d – Slopes
Terminologies related to Regression
Response Variable: The primary factor to
predict or understand in regression, also known as
the dependent variable or target variable.