-
-
Notifications
You must be signed in to change notification settings - Fork 269
prior and posterior predictive checks #69
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
Comments
@OriolAbril, do you feel that out of sample predictions should be introduced in the posterior predictive checks notebook? I mean, the notebook you linked has a "predictions" section where we use the For example, in the Radon hierarchical model there are two kinds of predictions:
The second prediction task needs to ignore some contents of the traced posterior samples (the county level random effects), so using |
Yes, this is much more well put, thanks! I think it would be beneficial to split that notebook into more specific tutorials. Usage of Between prior sampling, and prior/posterior predictive checks, we could also add another split, maybe even move predictive checks to ArviZ. Hopefully we'll have support for more and more predictive checks in arviz, we already have https://arviz-devs.github.io/arviz/api/generated/arviz.plot_separation.html for binary outcomes and even that may need to be splitted into continuous, discrete, binary... predictive checks. As a more immediate goal, I think that keeping prior sampling and predictive checks here and create a new posterior predictive sampling notebook would be ideal. |
yet nother "core notebook", now in https://docs.pymc.io/en/latest/learn/core_notebooks/posterior_predictive.html |
File: https://github.com/pymc-devs/pymc-examples/blob/main/examples/diagnostics_and_criticism/posterior_predictive.ipynb
Reviewers: @AlexAndorra @lucianopaz
Note: Please refer to notebook updates overview for more details on some of the bullet points below
Known changes needed
Changes listed in this section should all be done at some point in order to get this
notebook to a "Best Practices" state. However, these are probably not enough!
Make sure to thoroughly review the notebook and search for other updates.
General updates
ArviZ related
Changes for discussion
Changes listed in this section are up for discussion, these are ideas on how to improve
the notebook but may not have a clear implementation, or fix some know issue only partially.
General updates
sample_posterior_predictive
? Or should that be another more specific notebook not focused on model criticism but purely on pymc3 usage? (i.e. a howto instead of a diagnostics_and_criticism notebook).Notes
Exotic dependencies
None
Computing requirements
All models seem to sample in under a minute
The text was updated successfully, but these errors were encountered: