flatironinstitute / mcmc-monitor

Monitor MCMC runs in the browser
Other
35 stars 0 forks source link

Suggestion on histograms #90

Open magland opened 1 year ago

magland commented 1 year ago

From Bob

For histograms, people probably aren't usually going to want them broken down by chain, or if they were broken down by chain, they'd want something like four overlaid density plot estimates to compare them. So maybe an option to show density estimates per chain? I don't know how easy that'd be with whatever software you're using for plotting.

jsoules commented 1 year ago

Thinking this over--would this look like, we have a histogram for all-selected-chains, and then we have the per-chain histograms overlaid on the same scale, colored according to their chain colors and with alpha=50% or something?

e.g. https://flatironinstitute.github.io/mcmc-monitor/?s=https://lit-bayou-76056.herokuapp.com#/run/multi-normal-1 would have two plots, one "All-chains" on the 0-60 scale and one "Overlaid chains" on the 0-15 scale with 4 differently-colored data series?

Or would the idea be that we plot the all-selected-chains histogram and then have a button that color-codes ranges of its columns according to the per-bucket count of elements in each of the chains, so that it looks like a stacked bar graph?

(Let me know if a drawing would make those two options more clear, I can sketch something up)

magland commented 1 year ago

This seems like it could get complicated, and may not be worth the effort. We already have the "All selected histograms" plot. It might be sufficient to just put that first (rather than last).