Examples and exercises from "An Introduction to State Space Time Series Analysis", Koopman & Commandeur (2007).