I whipped up an example of automated diagnostics that you can try out
at
https://github.com/stan-dev/cmdstan/tree/feature/automated_diagnostics.
Obviously, having some misbehaving model output files will be handy!
Or just take a look at the logic in the source itself,
https://github.com/stan-dev/cmdstan/blob/feature/automated_diagnostics/src/cmdstan/print_diagnostics.cpp.
Any opinions on the text? It’s meant to be informative but make no hard
decision about the validity of the output (as theoretically we cannot do
that). The user will have to have a basic understanding of a Markov
chain — eventually we can reference the appropriate review section
in the manual.
Any diagnostics I’m missing?
For those that use CmdStan, is this best kept as a separate executable
(keeping bin/print agnostic to validity) or should we roll it together into
one single analysis executable?