Replies: 1 comment 2 replies
-
Just looking quickly at what you've done, I see that you've declared the E_ and V_ variables, which is a mistake. These are already defined in the context within which your snippet will be executed. Also, the
while your vmeasure snippet would have lines like
Although you don't ask about this, I'm also wondering about your larger purpose. It seems that, since the probability distribution of the data does not depend on latent states, your model is really much simpler than a POMP. With no latent variables, there are much more efficient inference algorithms.... |
Beta Was this translation helpful? Give feedback.
-
I am wondering about the Csnippet specification of vmeasure and emeasure for enkf.
The documentation says the following:
The mean of my multivariate n observables y are also parameters in my model called 'mu', so my POMP emeasure component is:
and similarly, the variances of my n observables y are given by a model parameter Q which is diagonal (only variances, all covariances are 0), so my vmeasure component is:
I also tried filling V_y_z and V_z_y with just the lower/upper triangle of my diagonal variance matrix as a vector.
When I run enkf, I get the error
Error: in ‘enkf’: infinite or missing values in 'x'
. And for eakf I get the errorError: in ‘eakf’: system is computationally singular: reciprocal condition number = 8.0338e-18
.I'm sure everything else if correctly specified as mif2 runs with no problem. So I think I must be filling the variable V_y_z incorrectly.
Is V_y_z supposed to be a vectors with elements for each observable y? Or should it have some other form?
Thank you, I appreciate your help as always. I have kept an ongoing document of my pomp lessons that I plan to add to this forum to pay forward help for others with similar questions.
Beta Was this translation helpful? Give feedback.
All reactions