Replies: 1 comment
-
You haven't provided enough to allow reproduction of the issue, so I can offer only generalities. It seems your simulations are incompatible with the data, which is what a likelihood of 0 means. See FAQ 1.1. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thank you for the detailed example (Discussion #213). I successfully implemented the POMP model using a C snippet, and it returned the data frame I needed, it was surprisingly fast! especially when I set higher number of simulation, the marginal time per simulation needed is decreasing.
However, I encountered an issue with the likelihood calculation: it returns -Inf. I attempted to compute the likelihood externally to the dmeasure function by comparing the modeled cases to the observed values, and it seemed to work fine there. I'm unsure where the error might be.
Additionally, when I tried to build the model, I received instructions to set some variables as constants, which was confusing.
Here is the code:
My external attempt
Simulation outcome:
Beta Was this translation helpful? Give feedback.
All reactions