EC031-S26
Note: The problems may differ based on the edition of the textbook you have.
Briefly explain the difference between \(b_1(\text{OLS})\) and \(\beta_1\); between the residual, \(e_i\), and the regression error, \(\epsilon_i\); and between the OLS predicted value, \(\hat{y_i}\) and \(E(Y_i|X)\).
ASW 10.38
ASW 10.45
ASW 11.23
ASW 11.29
ASW 14.55
ASW 14.1
ASW 14.47
In this problem, we will simulate a simple linear regression model with one independent variable and one dependent variable. We will then add outliers to the data and see how the OLS estimates change.
To do this, open a do-file and write:
Estimate the OLS regression of \(Y\) on \(X\). What are the estimated coefficients? Why?
Add an outlier to the data by making the first row of \(Y\) equal to 100: