How to build kinetic models with integrals using the POMP package #231
Unanswered
believe-bing
asked this question in
Q&A
Replies: 1 comment
-
I'm not sure how to parse your equation 13 since there are no limits on the integral, nor is it clear what the various G quantities are. However, it might be pertinent to point out that pomp, as the name implies, is for dealing with Markov processes and that, if the future of a state variable depends on an integral over its past history, the process is not Markovian, unless the integrals are of a rather special kind.... Might this have something to do with the problems you're having? |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Recently, I intend to use the pomp package to build a differential equation that enables blood glucose prediction (Model frame.pdf). In contrast to the previous infectious disease model, this differential equation contains integrals as follows:
I can implement it in R in the following way: by saving both the previously generated time variable and the blood glucose concentration (Gpl) in the global variables t_saved and Gpl_saved, and then linearly interpolating them via the
approx
function (The data used in the example: Test_data.csv). The codes we used as follows:I tried to build the above model using POMP but failed, can you give me some advice? The codes we used to build model were In the docx. (POMP_Codes.docx)
Beta Was this translation helpful? Give feedback.
All reactions