Problem: Fitted values and residuals in Eviews
Problem
Using EViews and data: http://media.nek.lu.se/data/ols.xlsx
- Find the trendline and create a plot of the actual values, fitted values and residuals
- Find OLS residuals and save them in a series called e
- Find OLS fitted values and save them in a series called yhat
- Create a new series e2 as y – yhat and confirm that e2 is the same as e
- Calculate RSS
Solution
RSS = 19.97