[Feature request]: Method For Directly Sampling From The Posterior Predictive From Output #416
Labels
enhancement
Request for improvement or addition of new feature(s).
gempyor
Concerns the Python core.
medium priority
Medium priority.
post-processing
Concern the post-processing.
Milestone
Label
enhancement, gempyor, post-processing
Priority Label
medium priority
Is your feature request related to a problem? Please describe.
This issue was originally reported by @MacdonaldJoshuaCaleb in GH-413.
For more complicated or atypical post-processing it is helpful to directly sample the posterior predictive distribution. This allows for operations to develop post-processing that takes the fitted parameters as input and produces a distribution of some derived quantity.
Is your feature request related to a new application, scenario round, pathogen? Please describe.
No response
Describe the solution you'd like
Here's the start of a function like that, also developed for flu scenarios, note that to really generalize this we would want to index by the parameter labels rather than just the ordering . Note that chains can be gotten from a h5 file like so, arviz is another (python) package that can read h5 files:
these chains can then be fed to gempyor to simulate the model given a config
The text was updated successfully, but these errors were encountered: