-
-
Couldn't load subscription status.
- Fork 1
Refactor to support new diagnostics #62
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #62 +/- ##
===========================================
- Coverage 97.44% 78.07% -19.38%
===========================================
Files 6 8 +2
Lines 274 342 +68
===========================================
Hits 267 267
- Misses 7 75 +68 ☔ View full report in Codecov by Sentry. |
| - if ``0.5 < \\hat{k} \\lessim 0.7, then the variance is infinite and plain IS can behave | ||
| poorly. PSIS works well in this regime, but the convergence rate is between ``S^{−1/2}`` | ||
| and ``S^{−3/10}``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
| - if ``0.5 < \\hat{k} \\lessim 0.7, then the variance is infinite and plain IS can behave | |
| poorly. PSIS works well in this regime, but the convergence rate is between ``S^{−1/2}`` | |
| and ``S^{−3/10}``. | |
| - if ``0.5 < \\hat{k} \\lessim 0.7, then the variance is infinite and plain IS can behave poorly. PSIS works well in this regime, but the convergence rate is between``S^{−1/2}``and``S^{−3/10}``. |
The latest version of the PSIS paper added new diagnostics in addition to the Pareto shape diagnostic. The new diagnostics are detailed in stan-dev/posterior#237.
This PR adds these diagnostics. It additionally will completely refactor the codebase to separate diagnosing from smoothing. In particular, it adds
pareto_diagnoseandpareto_smooth. The former simply computes all diagnostics for the specified tails, while the latter both computes diagnostics for the tails but also smooths them.Fixes #26. Relates #21.