PyMC: How can I describe a state space model?
问题 I used to code my MCMC using C. But I'd like to give PyMC a try. Suppose X_n is the underlying state whose dynamics following a Markov chain and Y_n is the observed data. In particular, Y_n has Poisson distribution with mean depending on X_n and a multidimensional unknown parameter theta X_n | X_{n-1} has distribution depending on theta How should I describe this model using PyMC? Another question: I can find conjugate priors for theta but not for X_n. Is it possible to specify which