Bayesian experience rating with dynamic heterogeneity