Bayesian analysis of a density ratio model