I would love some feedback on the new version of shinyStan that I'm getting ready to release. I've put up a demo online, which you can play around with
here. Minor changes can definitely be incorporated before the release. Major changes I might wait on until the next one.
There are a whole bunch of small new features, but the biggest new feature is a suite of interactive diagnostic plots for HMC/NUTS (a lot credit to Michael here for his advice and examples). You can find these plots by clicking on "Diagnose" and then "HMC/NUTS (plots)". Once you're there you'll see a traceplot that allows you to pan and zoom, and all the other plots on the page (histograms, scatterplots, etc) will adjust to show only those points in the selected window of the traceplot. A few other things to check out on that page are 1) what happens when you use a value other than 0 in the box where it says All Chains, and 2) the box that says "Transformation", which allows you to input an R expression (e.g. log(x), 1/(1+exp(-x)), etc.) and it will use the transformed variable in the plots.
Finally, any suggestions on what color scheme to use for these HMC/NUTS plots? I've tried about 10 of them and I don't like any of them.
Thanks,
Jonah
P.S. I put this demo online using another cool new feature in the shinyStan R package, which is a function called deploy_shinystan. If you have a (free or paid) account on RStudio's
shinyapps.io you can now do this:
fit <- stan(whatever...)
shinystan_object <- as.shinystan(fit)
deploy_shinystan(shinystan_object, account = "jgabry", appName = "A name for my model")
and it will automatically upload an app for your model (like the one for the demo). You can then have a library of models online and share them with just a url.