AIC and BIC criteria for choosing the number of inter-knot segments in cubic spline fits
Useful links