May 25'23
Exercise
You are given the following results from a regression model.
Observation number (i) | [math]y_i[/math] | [math]\hat{f}(x_i) [/math] |
---|---|---|
1 | 2 | 4 |
2 | 5 | 3 |
3 | 6 | 9 |
4 | 8 | 3 |
5 | 4 | 6 |
Calculate the sum of squared errors (SSE).
- -35
- -5
- 5
- 35
- 46
May 26'23