g a Bayesian mod