So total no of basis functions is the no of polynomial terms required (which is 3 , because you can treat 1 as a constant here out of x^3,x^2,x) and no of truncated power basis function which is equal to the number of knots in the equation i.e K so it will be K+3
5:07 in the y_i equation, it should be K+1 instead of K+3 right?
So total no of basis functions is the no of polynomial terms required (which is 3 , because you can treat 1 as a constant here out of x^3,x^2,x) and no of truncated power basis function which is equal to the number of knots in the equation i.e K so it will be K+3
yes, they have mistakenly written the cubic spline model