A growth team ran four campaigns. Spend is recorded in the second column of the design matrix; the first column of ones is the intercept.
X=11111234y=2459
| Campaign | Spend (lakh) | Signups (hundreds) |
|---|
| 1 | 1 | 2 |
| 2 | 2 | 4 |
| 3 | 3 | 5 |
| 4 | 4 | 9 |
No vector β satisfies Xβ=y exactly — y does not lie in the two-dimensional column space of X. Least squares therefore returns the β^ that minimises
∥y−Xβ∥2
and Xβ^ is the orthogonal projection of y onto col(X).
How far is y from that column space? That is, report the residual norm
∥y−Xβ^∥2
Round your answer to 2 decimal places.