Open dswah opened 7 years ago
@dswah From what I understand, when using regression splines this can be enforced by setting the intercept parameter of the shape function to zero. However, I am not sure how this can be achieved with bsplines. I wonder if this can this be done post hoc. Once we have the fitted shape function, can we shift each function by some constant value such that expectation of the shape function over the covariate is close to zero. We could then add all the individual shifts to the global intercept term and finally reevaluate the model performance. What do you think about this?
pg 164 in Wood introduces this concept. elaborated in appendix A.5