CDCgov / Rt-without-renewal

https://cdcgov.github.io/Rt-without-renewal/
Apache License 2.0
12 stars 2 forks source link

Sample/simulate from a EpiProblem component #323

Open seabbs opened 4 days ago

seabbs commented 4 days ago

At the moment we show how to construct EpiProblems from individual submodels and we show how these can be simulated from/sampled individually. Do we want to think about functionality so that you can do this directly on a EpiProblem object and potentially on parts of the EpiProblem composed model?

This is a bit of a late night issue so will circle back with more thoughts soon.

SamuelBrand1 commented 4 days ago

The DirectSample EpiMethod does this? What would you like to add?

seabbs commented 4 days ago

It allows you to sample from the whole object. I am talking about just sampling from say the infection or observation model. I think it would just be a EpiProblem method for generate_infections and generate_observations?