l measures using a Bayesian model of p