Strengthen your programming skills with tips and techniques from the experts
![](https://blogs.sas.com/content/iml/files/2017/04/PLSplines2.png)
Most regression models try to model a response variable by using a smooth function of the explanatory variables. However, if the data are generated from some nonsmooth process, then it makes sense to use a regression function that is not smooth. A simple way to model a discontinuous process in