Hi Professor McGowan!
Since we know that cubic spline with k knots have k+4 degrees of freedom, we have 3+4=7 degrees of freedom in total. 6 are used for horsepower variable and 1 df used for weight variable . Why don't we need to count the df of intercept here?
Hi Professor McGowan! Since we know that cubic spline with k knots have k+4 degrees of freedom, we have 3+4=7 degrees of freedom in total. 6 are used for horsepower variable and 1 df used for weight variable . Why don't we need to count the df of intercept here?