stan icon indicating copy to clipboard operation
stan copied to clipboard

Add Rhatv5

Open roualdes opened this issue 6 years ago • 1 comments

Summary:

Rhatv5 is one of the latest convergence diagnostics. While the packages RStan, posterior, and ArviZ use this new calculation, Stan/CmdStan does not yet. The following functionality needs to be added in order to calculate Rhatv5

  • [ ] rank normalize draws
  • [ ] inverse normal transformation
  • [ ] fold draws

With these, Rhatv5 is just a combination of the above functions and split chains, which is already available re Issue #2752.

Additional Information:

As another reference, here is RStan's implementation: https://github.com/stan-dev/rstan/blob/develop/rstan/rstan/R/monitor.R

Current Version:

v2.21.0

roualdes avatar Jan 17 '20 18:01 roualdes

This appears to be a duplicate of https://github.com/stan-dev/stan/issues/2877

WardBrian avatar Feb 14 '24 19:02 WardBrian