Fit deterministic model using pomp #188
-
Thanks for developing such a great package. I'm new to pomp. I'm trying to fit a deterministic version (the skeleton after removing the process stochasticity) of my stochastic model to check the differences between these two versions. I wonder if iterated filtering (IF) can fit the deterministic model as well (it should be, while all the particles are the same..right?), but it can be computationally intense to fit the deterministic model using IF. My question is, if the goal is to compare the estimates between deterministic and stochastic version of a model, do you have any advice? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Why not use trajectory matching? |
Beta Was this translation helpful? Give feedback.
-
Hi Dr.King, the deterministic trajectory always returns
Thanks for the help! |
Beta Was this translation helpful? Give feedback.
-
I saw two errors in your code. First, you loaded tidyverse after pomp, thus masking the The second error was that, in your skeleton component, you were not specifying how the Compare the following.
|
Beta Was this translation helpful? Give feedback.
-
Thank you so much for the instant answer. I tried the code above but an error returned as "Error: ‘trajectory’ is undefined for ‘object’ of class ‘tbl_df’‘tbl’‘data.frame’." This is resolved if a pomp model is used as input. While the trajectory still returned NA. Below is the code. Not sure if this is relevant to the R or pomp version on my laptop. My pomp is Version 3.4 and R is 4.0.3. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
I saw two errors in your code. First, you loaded tidyverse after pomp, thus masking the
map
function. To avoid this problem, you can either load tidyverse before pomp, or explicitly specify the call topomp::map()
.The second error was that, in your skeleton component, you were not specifying how the
H
variable maps under the dynamics.Compare the following.