-
Dear Professor King, First of all thank you so much for this package & the related documentation. I've been following your course "Simulation-based Inference for Epidemiological Dynamics" & I've found it quite valuable to my research. Recently, I've been working with an SEIR model (ODE) whose effective contact rate is modelled as Geometric Brownian Motion with no drift. Essentially, a non-negative random walk. I used iterated filtering to estimate a few parameters from that model. So far, the results are encouraging, i.e. quadratic shapes for the MLE. From this MLE, I want produce a "fit" & compare it to the real data. To do so, I plug the MLE into the particle filter:
C represents the weekly incidence in my model & it's a state. At each time step (week 1, week 2, week 3), I compute from the 500,000 particles the mean & 2.5 % & 97.5% quantiles of that state, which I assume will be the confidence (credible?) intervals of the fit. If I plot those results against the data, it's almost perfect. Too good to be true. However, that mean is different from the "pred.mean". I think I've got a misunderstanding in my concepts. In short, what would be the appropriate way to estimate the mean & uncertainty intervals of a particle filter fit? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Thanks @jandraor, for the kind words, and thanks for bringing up a good question. If Your intuition that the filter distribution is "too good to be true" is a valuable one and it is fortunate that you respect your intuition. You haven't made it entirely clear why you are doing what you are doing, but if I guess correctly, you are asking the extremely pertinent question, "How does the model explain the data?" and perhaps the closely related, "How well does the model explain the data?". The royal road to answering these questions lies through gaining an understanding of the distribution of the data under the model. To be precise, the fitted model is nothing other than a probability distribution for Now, you may (also) be interested in asking the very different question, "Given the model, what was the path of the latent process actually taken in the single realization that was observed?" For example, you wish to know what the value of your variable |
Beta Was this translation helpful? Give feedback.
-
Dear Professor King (@kingaa), I appreciate your thorough response & the time you devoted to this. It has answered some of my doubts but also raised new ones. Here are the model equations to clarify the context of this work.
The calibration of this model is in the context of a COVID-19 outbreak. As such, the assumption that the effective contact rate (B) is constant no longer holds, even for a short period given the quick measures imposed since first cases reported. For this reason, my purpose is to approximate the trend of a time-varying B, which translates into a time-varying basic reproduction number. I propose Geometric Brownian Motion as a vehicle to unravel such a trend. By no means, I conceive B as a random walk. For this reason, I don't think that this model is able to answer "How well does the model explain the data?". Considering that a random walk can produce a broad arrange of trajectories & incidences, the observed data has a tiny probability of being drawn. To complement this point, I think this also the reason the ESS goes relatively low. To 10% of the ensemble size. Consequently, the focus of this research is on the question "Given the model, what was the path of the latent process actually taken in the single realization that was observed?". My approach is that the particle filter can answer that question. However, to run a particle filter, I need a complete set of initial values. In this case, I'm assuming I don't know I(0), B(0), alpha & rho. I followed your tutorial to estimate such values via Iterated Filtering. Fortunately, there's concentration of measure around a single region & I can compute confidence intervals using the profile likelihood approach. Subsequently, I plug the MLE into the particle filter to obtain an estimate of the time-varying B. With this, I can compute the time-varying basic & effective reproduction number. Based on the above, I've got the following questions: - Is this approach enough to answer the research question? When I said "too good to be true", it was because the filtering distribution (mean) fitted very well the data with narrow uncertainty intervals. I estimated the mean from the 500.000 particles returned by saved.states & calculated intervals via the
Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hi Prof King, It's fascinating to see how disinterested guidance can contribute to the career of a researcher. In my case, this discussion shaped to a large extent what later would become a paper. Thank you. Here is the result: https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1010206 |
Beta Was this translation helpful? Give feedback.
Dear Professor King (@kingaa),
I appreciate your thorough response & the time you devoted to this. It has answered some of my doubts but also raised new ones. Here are the model equations to clarify the context of this work.
Th…