The code used in these exercises requires the Matlab and R utility functions. These can be found in the full zip file on the Computation page or they can be download separately here . Once downloaded ensure that the functions can be found by MATLAB or R by placing them in the correct folders or by redefining the path.
Matlab functions
R functions
EMTSUtil.R is a set of common utility functions used by some of the R routines.
Code Disclaimer Information
Note that the computer code is provided for illustrative purposes only and although care has been taken to ensure that it works properly, it has not been thoroughly tested under all conditions and on all platforms. The authors and Cambridge University Press cannot guarantee or imply reliability, serviceability, or function of this computer code. All code is therefore provided `as is' without any warranties of any kind.