I have a relatively small dataset with less than 100 samples, with one predictor and one outcome variable, both numerical. I generated models using lm and glm functions.
For linear and polynomial (2 degree) models, the $R^2$ value seems to be high already (close to $0.95$). When I try higher degrees, the $R^2$ keeps increasing with RMSE, AIC and BIC decreasing.
I tried to use bootstrapping to avoid overfitting, but as the degree gets higher (such as $5$), the error still keeps reducing, I also tried to see if there is a significant difference between the RMSE/AIC/BIC/$R^2$ of models with different degrees, but it seems they all have significant differences, therefore it would seem to be better to use higher degree models. However, as this is a small dataset, I don't believe the model should be that complex.
Is there a way to set a threshold (like when exceeds, stop trying higher dimension models), or some significance test that would help here to determine when to stop generating higher degree models?