@lorcan, you might be interested in a model that I’ve been working on – it’s certainly not a final product yet. It’s a Stan version of bsts’s semilocal linear trend model. I have some code on GitHub that might help get you started: GitHub - roualdes/semilocal-linear-trend: Semilocal linear trend model in Stan.
If you end up fitting the Stan version, let me know what you think. Thanks.
Also, here’s a discourse post about my efforts thus far:
1 Like