Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork87
Description
Currentlybayesplot offers are three functions for discrete PPCs:ppc_bars,ppc_bars_grouped, andppc_rootogram.
Inour preprint, we argue why bar graphs are usually not a good PPC, especially for binary observations.
Calibration plots
I suggest adding the binned calibration plot and PAV-adjusted calibration plot under a function calledppc_calibration. For ordinal or categorical data, it would possibly be clearer to have another function that produces calibration plots for1-vs-others, or cumulative event probability.
Residual plots
Another missing function are residual plots,ppc_error_scatter_vs_x, andppc_error_binned work on this field, but the scatter doesn't work for discrete observations, andppc_error_binned doesn't currently support covariates on the x-axis.
- The confidence bands in these need work, but at the very least adding options for binned residual plots and PAV-adjusted residuals would be an improvement.

