Everyone says not to fit high-order polynomials, but nobody says why when you are not extrapolating
The advice I keep meeting is that polynomial regression above cubic is a bad idea unless you have a strong reason. The justification is always extrapolation — the curve does something insane just past the edge of your data.
I understand that part and I accept it. But I am not extrapolating. I have a fixed range, I only ever predict inside it, and I genuinely do not care what the fitted curve believes about values I will never see.
So within that range, with plenty of data, what is the actual objection to a degree-9 polynomial? Is the advice just extrapolation anxiety applied too broadly, or is there a real problem I am about to walk into?
@residual_ruth · last wk.
There is a real problem inside the range, and it is not overfitting in the usual sense. It is that polynomial terms are not local.
A degree-9 term is a single global function evaluated across your whole range. That means a cluster of points at the far right of your data influences the fitted shape at the far left, because both are being explained by the same coefficient on x^9. Move one outlying point at one end and the curve wobbles somewhere else entirely.
That is almost never what you want. When we fit a curve we usually believe something like "the relationship is smooth" — a local claim. Polynomials deliver "the relationship is one specific global shape", which is a much stronger claim that nobody meant to make.
The practical consequence is that the fit is unstable in a way that cross-validation on a single split will not necessarily reveal. Refit on a bootstrap resample a few times and watch the middle of the curve move.
Reply
Report