summarize_beta_binomial: Summarize a Beta-Binomial Bayesian model
Description
Consider a Beta-Binomial Bayesian model for parameter \(\pi\) with
a Beta(alpha, beta) prior on \(\pi\) and Binomial likelihood with n trials
and y successes. Given information on the prior (alpha and data) and data (y and n),
this function summarizes the mean, mode, and variance of the
prior and posterior Beta models of \(\pi\).
Usage
summarize_beta_binomial(alpha, beta, y = NULL, n = NULL)