Add prior predictive checking section to PPC vignette (#196)#452
Open
ishaan-arora-1 wants to merge 3 commits intostan-dev:masterfrom
Open
Add prior predictive checking section to PPC vignette (#196)#452ishaan-arora-1 wants to merge 3 commits intostan-dev:masterfrom
ishaan-arora-1 wants to merge 3 commits intostan-dev:masterfrom
Conversation
Added a section explaining that the same ppc_* functions can be used for prior predictive checks by passing draws from the prior predictive distribution. Includes a rstanarm example with prior_PD = TRUE and mentions the ppd_* functions for cases where you don't want to compare to observed data. Advances stan-dev#196
Placed the section after "Providing an interface" and before "References" so it doesn't conflict with the *_data() section that PR stan-dev#439 adds at line 315.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #452 +/- ##
==========================================
- Coverage 98.63% 98.55% -0.09%
==========================================
Files 35 35
Lines 5860 5864 +4
==========================================
- Hits 5780 5779 -1
- Misses 80 85 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Advances #196.
Added a section to the graphical PPCs vignette explaining that the same
ppc_*functions work for prior predictive checking — just pass draws from the prior predictive distribution instead of the posterior. Includes arstanarmexample usingprior_PD = TRUEand mentions theppd_*functions for when you don't want to compare against observed data.