Similar Items: Introduction to the theory of statistics