I was looking at the example of a GP in BDA3, and immediately thought that the data could’ve been modeled with a non autonomous SDE with colored noise, but there’s no mention of SDEs in the section (why would there be I guess?).

I’m curious if some problems which are formulated as SDEs might be translated to GPs and more easily solved. What in particular peaked my interest was that the BDA3 examples decompose a time series linearly into model components, which would seem much more difficult to do with an SDE.

Markovian GPs can be (usually) written as the solutions to SDEs driven by white
(or markovian) noise. This can lead to a useful representation that can be exploited in Stan by ways of a Kalman filter (or a forward-backward algorithm).

Thanks for the comment and the reference; I’m starting to see how I could use either in some of my models, but in the Stan reference I only see zero mean functions… does that mean it’s standard to transform data by the mean first? I’ll take a closer look at the examples.