Estimating attitudes toward vaccination: A Bayesian framework