As described in section 15.5 of the Stan documentation, on divergent transitions, the divergent__ system variable is actually a flag indicating draws which encountered a divergent transition in the HMC trajectory simulation. Plotting its {0, 1} values is not very useful to users.
Instead, it would be better to use this flag to identify points on other plots where divergence occurs. (Per the same doc, similar functionality exists in ShinyStan currently).
To resolve this feature request, change the behavior of ticking the divergent__ variable in the variable-selection area so that it applies a new highlight color to points on other graphs, on the the Trace Plots and Scatterplots tabs.
As described in section 15.5 of the Stan documentation, on divergent transitions, the
divergent__
system variable is actually a flag indicating draws which encountered a divergent transition in the HMC trajectory simulation. Plotting its{0, 1}
values is not very useful to users.Instead, it would be better to use this flag to identify points on other plots where divergence occurs. (Per the same doc, similar functionality exists in ShinyStan currently).
To resolve this feature request, change the behavior of ticking the
divergent__
variable in the variable-selection area so that it applies a new highlight color to points on other graphs, on the theTrace Plots
andScatterplots
tabs.(Requested/suggested by @mitzimorris)