Practical Statistics for Astronomers - II. Correlation, Data-modelling and Sample Comparison