bayesplot icon indicating copy to clipboard operation
bayesplot copied to clipboard

bayesplot R package for plotting Bayesian models

Results 83 bayesplot issues
Sort by recently updated
recently updated
newest added

Hi, I was running mcmc_acf and got this warning message. mcmc_acf(posterior_b5, pars = c("b_Intercept","b_time","sd_Batch__Intercept","sd_Batch__time","sigma"), lags = 20) Warning message: The `facets` argument of `facet_grid()` is deprecated as of ggplot2 2.2.0....

## Summary - Thanks for an amazing package! - `ppc_stat_grouped()` works with a multivariate model fit via `brms::brm()` :white_check_mark: - `ppc_stat_grouped()` fails with a multivariate model when `subset()` is used...

It seems that `ppc_stat` always assumes that the test statistic defined by `stat` is continuous, and thus draws a histogram, which is fine but sometimes looks quite ugly, for example:...

As I mentioned at #354 I have been working on adding quantile dot plots. It was more complicated than I was expecting, so I wanted to make sure about the...

documentation
tests
new plot

Right now, `bayesplot` offers various functions for [posterior predictive check](https://mc-stan.org/bayesplot/reference/PPC-distributions.html) such as `ppc_dens`, `ppc_hist`, `ppc_freqpoly`, `ppc_boxplot`, and a couple of others. One of the plots that `bayesplot` currently doesn't have...

new plot

This is my work in progress of the pava calibration plots discussed in #343 ## Currently implemented: - `ppc_calibration_overlay()` - `ppc_calibration_overlay_grouped()` - `ppc_calibration()` - `ppc_calibration_grouped()` - `.ppc_calibration_data()` - internal function...

documentation
tests
new plot

Following #348, allow user to set the averaging function so that, e.g., user can choose median for heavy-tailed distributions. ``` r l ``` r bayesplot::ppc_error_scatter_avg_vs_x(l$y, l$yrep, l$x, fun_avg = median)...

(Notation below: $y$ is data value, $y_{pred}$ is predicted value, with $y_{pred}$ computed as $stat(y_{rep})$ from posterior draws.) The usual residual analysis plots $y - y_{pred}$ on the vertical axis...

Currently `bayesplot` offers are three functions for discrete PPCs: `ppc_bars`, `ppc_bars_grouped`, and `ppc_rootogram`. In [our preprint](https://teemusailynoja.github.io/visual-predictive-checks/#sec-visual-predictive-checks-for-binary-data), we argue why bar graphs are usually not a good PPC, especially for binary...

new plot