SMS: Theory of statistics