likelihood function in bayesian inference