Principles of statistical analysis