Chapter 6 Importance sampling