1-D Fokker-Planck density evolution under OU drift+diffusion
Source:R/tps_stochastic.R
morie_tps_fokker_planck_grid.RdFits the OU parameters (theta, mu, sigma) on daily counts (same
OLS-on-first-differences as morie_tps_langevin_simulate),
then evolves an initial gaussian density centred on the last
observation by an explicit advection-diffusion finite-difference
scheme with reflective boundaries on a grid spanning
from 0 to 1.5 * max(counts) + 1.