Question: what are restricted cubic splines?
Answer: A restricted cubic spline is a cubic spline in which the splines are constrained to be linear in the two tails. ... Using a restricted cubic spline in a regression analysis will use k - 1 degrees of freedom (the linear variable x and k – 2 piecewise cubic variables) in addition to the intercept.