Chapter 2 Introduction to statistical inference