mixle.ppl.statespace moduleΒΆ
Linear-Gaussian state-space models for mixle.ppl (Kalman filter + RTS smoother + EM).
A univariate latent state evolves as x_t = phi * x_{t-1} + w_t (w ~ N(0, q)) and is
observed as y_t = x_t + v_t (v ~ N(0, r)). LocalLevel() fixes phi = 1 (a
random walk + noise / trend smoother); AR1() estimates phi. Fitting is EM: the
E-step is the Kalman/RTS smoother, the M-step updates phi, q, r.