 Jul 2019

www.econometricswithr.org www.econometricswithr.org

linear regression function
This is linear regression model. Function is the deterministic (systematic) part of it without the error term.

In a simple linear regression model, we model the relationship between both variables by a straight line, formally
It would be better to start in the following way: "To build simple linear regression model, we hypothesize that the relationship between dependent and independent variable is linear, formally:"
By saying that, In a simple linear regression model, we model the relationship between both variables by straight line is strictly speaking wrong. Strictly speaking, by straight line we model the relationship between regressors the expected value of the dependent variable given the value of the regressors.
Then later, you point out that the relationship is not exact because not all points fall on the straight line and because of that you come up with an error terms and you continue in this way util you arrive to the final formulation of the Simple Linear Regression Model. (Which you do well later).


www.econometricswithr.org www.econometricswithr.org

as
"as" is not necessary here. This is very minor mistake but since you are doing excellent job I am going to point out any mistake I find to contribute the project towards perfection.
