k-fold cross-validated MSE for polynomial regression Inputs: x: vector of explanatory variable, y: vector of response variable, a vector degree of the degrees of polynomial