If the smoothing spline is simply a natural cubic spline with knots at every unique value of x_i. Then why does gam::s() in R need a degree of freedom?
Because it is smoothing not interpolation. The degree of freedom tells how much complexity you want in the fitted spline.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more