Bayesian power/type I error calculation and model fitting using
the power prior and the normalized power prior for generalized linear models.
The Bayesian clinical trial design methodology is described in Chen et al. (2011)
, and Psioda and Ibrahim (2019)
. The normalized power prior is described in Duan et al. (2006)
and Ibrahim et al. (2015) .