Chapter 7 Model inference