Principles of statistics traditional and Bayesian