plot_gamma_poisson: Plot a Gamma-Poisson Bayesian Model
Description
Consider a Gamma-Poisson Bayesian model for rate parameter \(\lambda\) with
a Gamma(shape, rate) prior on \(\lambda\) and a Poisson likelihood for the data.
Given information on the prior (shape and rate)
and data (the sample size n and sum_y),
this function produces a plot of any combination of the corresponding prior pdf,
scaled likelihood function, and posterior pdf. All three are included by default.