Introduction to statistical inference