We just published a case study on splines.

**Splines in Stan**

http://mc-stan.org/users/documentation/case-studies/splines_in_stan.html

Milad Kharratzadeh

*Abstract*

In this document, we discuss the implementation of splines in Stan. We start by providing a brief introduction to splines and then explain how they can be implemented in Stan. We also discuss a novel prior that alleviates some of the practical challenges of spline models.