Skip to content

Implement alternative state-space dependence structure #170

Answered by kingaa
zcaiElvis asked this question in Q&A
Discussion options

You must be logged in to vote

Good question, @zcaiElvis!

You are correct that the standard case that pomp treats is one for which, conditional on $x_i$, $y_i$ is independent of $y_j$ for all $j\ne{i}$. However, as you are no doubt aware, the correctness of the particle filter does not depend on this, and it is possible to work around this restriction.

The easiest way to do so is to include the data to the pomp object as "userdata", then to write the rmeasure and dmeasure components to make reference to this. This is really easy if you write rmeasure and dmeasure as R functions. It is slightly more complex to write them as C snippets.

Consider the following very simple example. Suppose my data consist of cumulative cou…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zcaiElvis
Comment options

Answer selected by zcaiElvis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants