SMS: Bayesian statistical inference