Plot the empirical and model-based probability mass functions
Source:R/helper_functions.R
plot_pmf.RdPlot the empirical probability mass function, i.e., the proportion of
data values y that equal j for each j=0,1,...,
together with the model-based estimate of the probability mass function
based on the posterior predictive distribution.