Homeworks

The homeworks should preferrably be done in groups consisting of three persons. You are however permitted to work alone or in pair or  occasionally  in groups of four persons.

Results on homeworks is found here.

In addition to the general there is four homeworks. Here is a link  to data sources that can be used for the general homework

In the homeworks you are recommended to use MATLAB. A lot of m-files are found in this page. In the book of  Brockwell and Davis follows a disk with their time series program PEST. A nice Windows version can be downloaded from this place. It is a zip-file (853 kB) to be extracted in a appropriate directory. Try it if you want to, it is easy to use.

To save  a file from the browser, click the right knob of your mouse and save the file at an appropriate place.

The data-files for all homeworks (except the general one) are compressed in this zip-file. Save it and decompress it. The data appear both in readable ASCII-files and in MATLAB mat-files. The m-files you need are all compressed in this zip-file. Decompress also this file.


The first homework use the following m-files

The data is found insealevel.dat orsldate.dat or in the MATLAB data file sealevel.mat.


The second homework, use the following m-files

The acf.m and acvf.m files should also be used. Just click on the links and save the files in an appropriate place. The m-file  plotbar.m can be helpful when drawing autocorrelation function as bars from the x-axis. It is similar to the standard m-file stem which draws bars ending with circles.


The third homework, The data are found in armadata.dat , temp.dat,timech.datandel.dator all together in the MATLAB data file data3.mat. .  The matlab command 'load data3' will load them into a MATLAB session.
The m-file read3.m ( reads the dat-files into Matlab. Which row to use in the file armadata,  see the result page  Rutinerna för maximum-likelihoodskattningen (mlest) kräver Identification Toolbox som inte finns i KTH-CDn.


The fourth homework, homework 4, use the following m-files The MATLAB data file is found in logret_DEM_USD.mat . Here the same data in a text-file, logret_DEM_USD.dat.

The four last m-files comes from a toolbox made by Kevin Sheppard.

Rutinerna för garch-estimering kräver Optimization Toolbox som inte finns i KTH-CDn.

If you have problems to get the files, tell me at e-mail enger@math.kth.se or telephone 790 7134.

Last change 2004-10-26