bayesplot
bayesplot copied to clipboard
Binned residual plots with respect to predictors
Is it possible to use ppc_error_binned(), or any other bayesplot functions, to make binned residual plots with respect to model predictors? The use case is Gelman et al (2020, Section 14.5.2, "Plotting binned residuals versus inputs of interest"). Vehtari showed how to do so with a custom function he called binned_resids(), here.