SMS: Probability theory and statistical inference