Could someone please explain to me why exactly linear regression is considered ill-posed?
2026-03-30 05:23:20.1774848200
Why is linear regression considered an ill-posed problem?
385 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
According to Wikipedia, a problem is well-posed if:
Now suppose that you have a dataset $(X, y)$ consisting of samples $(x_i, y_i)_{i = 1}^m$, with $x_i \in \mathbb{R}^n$, $y_i \in \mathbb{R}$. I suppose that you think of linear regression as of the following problem for weights $w$ of the regression: $X w = y$ (or something similar depending on how do you stack samples in the matrix).
This problem is ill-posed because of the following reasons:
However, the problem can be adapted to fix these properties. Modifying the problem to $\|Xw - y\|_2^2 \to \min$ allows obtaining a pseudo-solution when there is no exact solution (the problem is still ill-posed because there may be many solutions).
You can also add Tikhonov regularization (a.k.a. ridge in the setting of regression) to get $\|Xw-y\|_2^2 + \lambda \|w\|_2^2 \to \min$ which allows selecting one solution if there are many solutions of the original problem.