On bayesian inference