Regression Data Analysis, Overfitting, Loocv, Crossvalidation, Calibration.
which means that this RSS cannot detect overfitting. However, we can see that the Leave One Out Cross Validation (LOOCV) method allows us to select the original quadratic model, as shown in the code below. Note that the RSS in ‘loocv’ is calculated by summing the squared difference of the raw data