fintzij / stemr

Fit Stochastic Epidemic Models via Bayesian Data Augmentation
https://fintzij.github.io/stemr/
8 stars 6 forks source link

To-do: #3

Open fintzij opened 4 years ago

fintzij commented 4 years ago

Running list of various things I need to update in this package:

damonbayer commented 4 years ago

Re: Solve ODEs using Julia solvers or with Stan instead of Boost? Is this possible?

https://github.com/SciML/diffeqr

kevinkiernan commented 4 years ago

New vignettes would be greatly appreciated! I had the previous version of stemr working well for generating SEMs for the COVID outbreak based on death incidence, but the update to Ryacas broke my workflow.

If new vignettes are not imminent, perhaps I could get the answers to a couple of questions?

  1. For the priors input to the function parblocks, is logprior the same function as what you were calling prior_density in previous versions? If not, how is logprior specified?
  2. Is the intializer input to parblocks used to initialize the parameters in the same manner as the function assigned to stemobj$dynamics$parameters in previous versions? (i.e. to add a random perturbation to the starting parameter value)

These were my assumptions after reading the commented code, but I get an initialization error when fit_stem tries to call initialize_lna.

fintzij commented 4 years ago

Moved questions from @kevinkiernan to a separate thread.