Feel free to use this code for your own work if you provide an appropriate citation to the book. (Citation information available here)
Data
Chapter 1
CO2
Housing Price
Chapters 2-9, 11-12
Applications
Chapter 10
Source Code (R language)
Chapter 2
Chapter 3
Chapter 4 (Main)
Chapter 4 (Modality)
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 11
Chapter 12
table.R
Replication Code (R language)
Chapter 4