-
-
Notifications
You must be signed in to change notification settings - Fork 371
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
use improved Rhat to implement ESS-bulk and ESS-tail #3299
Comments
also pings to @aleksgorica and @SteveBronder. plugging this in to CmdStan's stansummary is trivial, cf: stan-dev/cmdstan@develop...feature/1263-new-rhat-summary |
Yeah bulk and tail ESS are included in the standard diagnostics computed by the posterior package: https://github.com/stan-dev/posterior/blob/master/R/convergence.R |
And the implementation for the MCSE for quantiles (Section 4.4 in the paper) is in |
I don't know about the C++ version, but the ESS calculations in the
posterior package that @avehtari and I linked to definitely do use it.
…On Tue, Jul 16, 2024 at 12:51 PM Mitzi Morris ***@***.***> wrote:
is current ESS computation using autocorrelation? comment from @syclik
<https://github.com/syclik>, added 12 years ago remains:
https://github.com/stan-dev/stan/blob/cb7fe1f6c4fdabb03d56b299c1424ef3f847a26b/src/stan/mcmc/chains.hpp#L561
—
Reply to this email directly, view it on GitHub
<#3299 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3PQQ2C2JZOQ6OKZDTQTV3ZMVTTNAVCNFSM6AAAAABKZTNB7CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZRGYYDKMZRGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I agree that that FIXME comment should be removed |
since we don't know how much of the API in further refactoring of the code in stan/analyze/mcmc: the rank-normalized split rhat added to @WardBrian, @SteveBronder thoughts? |
I'm still not sure we need something like |
generally agree. the added functionality needed is consistency checking across chains, indexing into this object by column name, and ensuring that variance calculations are done on columns of finite, non-identical values. but yes, the analysis functions should take as arguments |
Summary:
PR #3266 implemented the rank-normalization and folding needed for Rhat-bulk and Rhat-tail.
We should also add logic for ESS-bulk and ESS-tail, per Vehtari et al https://arxiv.org/abs/1903.08008.
Description:
Bulk ESS and tail ESS are available in R, but not in CmdStan or CmdStanPy. We need to add this to Stan so that all interfaces are providing the same estimates given a sample.
Bulk ESS can be computed from the rank normalized draws, per section 4.1
Tail ESS is defined in section 4.3
Current Version:
v2.35.0
The text was updated successfully, but these errors were encountered: