IDS UNIT 5 Linear Regression
IDS UNIT 5 Linear Regression
• The different values or coefficient of lines (a0, a1) gives a different line
of regression, so we need to calculate the best values for a0 and
a1 to find the best fit line.
• Multiple regression can take two forms, i.e., linear regression and
non-linear regression.
You can use multiple linear regression when
you want to know
1.How strong the relationship is between two or more
independent variables and one dependent variable (e.g. how
rainfall, temperature, and amount of fertilizer added affect crop
growth).
1.A linear relationship between the dependent and independent variables: The first
assumption of multiple linear regression is that there is a linear relationship between the
dependent variable and each of the independent variables.
2.The independent variables are not highly correlated with each other: The data should not
show multicollinearity, which occurs when the independent variables (explanatory variables)
are highly correlated.
3.The variance of the residuals is constant: Multiple linear regression assumes that the
amount of error in the residuals is similar at each point of the linear model. This scenario is
known as homoscedasticity.