-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement blocked gibbs sampling for Bayesian inference in linear Gaussian SSM using JSL #677
Comments
Hi, can I work on this one? |
Hi @calvintanama . Sure, please feel free to work on this. |
See the PySSM library for relevant code. |
Concretely the goal should be to replicate the functionality and examples of this paper C. Strickland, R. Burdett, K. Mengersen, and R. Denham, “PySSM: A Python Module for Bayesian Inference of Linear Gaussian State Space Models,” J. Stat. Softw., vol. 57, pp. 1–37, Apr. 2014, doi: 10.18637/jss.v057.i06. [Online]. Available: https://www.jstatsoft.org/article/view/v057i06. [Accessed: Mar. 11, 2022] |
See also @misc{helske2021bssm, |
Hi @murphyk thanks for the literature! For the issue #678 I tried to implement Durbin-Koopman sampling from [1] (https://www.jstor.org/stable/4140605) using modification of Jarociński [2] (https://www.sciencedirect.com/science/article/pii/S0167947315001176?via%3Dihub#tb000005). I made an assumption, that the matrix R_t in [1] is identity matrix because in the current implementation of LDS it is not needed to specify one.
|
I've completed issue #678 and I'd like to continue work on this series of tasks ;) |
Hi @xinglong-li Yes, please go for it. If you use conjugate priors, it should be easy to do (as you know :) |
Implement blocked gibbs sampling for Bayesian inference in linear Gaussian SSM .
In the "E step", use the Jax SSM library for forwards-filtering backwards-sampling.
In the "M step", sample from the parameter posteriors assuming conjugate priors.
Some details can be found in this paper
A. Wills, T. B. Schön, F. Lindsten, and B. Ninness, “Estimation of Linear Systems using a Gibbs Sampler,” IFAC proc. vol., vol. 45, no. 16, pp. 203–208, Jul. 2012, doi: 10.3182/20120711-3-be-2027.00297. [Online]. Available: https://linkinghub.elsevier.com/retrieve/pii/S1474667015379520
The text was updated successfully, but these errors were encountered: