Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 questions: p_ir static or dynamic? & option to use something besides Bayesian/MCMC to make the model? #9

Open
nkniep888 opened this issue Jul 9, 2020 · 2 comments

Comments

@nkniep888
Copy link

Hello,
We are trying to use ABSEIR to analyze local COVID-19 data and had two questions about the package:

  1. For the variable p_ir, or the probability of transition from infected to removed, we plan to use the disease's CFR (case fatality rate). This value changes depending on the time point at which the analysis is being performed. Is this variable intended to be static or dynamic in the package?
  2. Does ABSEIR have an option to use something besides Bayesian/MCMC to make the model, like a main field model without the posterior distributions?

As a side note, I see reference to "The ABSEIR documentation" on the vignettes page but I'm unsure if there is a separate page/document that encompasses this?

Thank you!

@grantbrown
Copy link
Owner

grantbrown commented Jul 9, 2020

Hi @nkniep888,

Right now, p_ir is indeed static over time and space. It can be modeled as exponential or path-specific, but the software wasn't originally designed to deal with epidemics where the CFR changed. This is one of the features I'm actually currently working on adding to the package, though I've first needed to undertake some cleanup of how the simulations are initiated. The structure of passing in a huge list of parameters has grown in complexity over time, and led to some fragility, so I'm moving towards having the model component objects play a larger role. You can see the initial work here, but it's not yet ready. I'm hoping to get this up and running in the next week or so, and can keep you posted.

As far as alternate methods go, it's currently set up just to do ABC (not MCMC, which is often extremely slow for these problems). It is, however, possible to just do straight up simulations without posterior estimation if you want, followed by post processing in R. I can post some example code for that if such an approach would meet your needs.

Edit to clarify: the CFR is more naturally incorporated into the data model than into p_ir. R encompasses people recovering as well as passing away, and if the probability is limited to just deaths, then that would inflate I and the corresponding exposure probability. The new features will be at the data model level - of the new removed, what proportion are observed via various mechanisms (hospitalization/death/ventilation etc.)

@nkniep888
Copy link
Author

Thanks for the response! If you could provide some example code that would be great. I think we are trying to avoid the MCMC computations, as you mentioned they are time and resource intense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants