Unzip the Matlab codes into your subfolder, for example, c:/Modeling/Model. [All your results will be saved in this directory.] Check that it contains the following files:

1.model.mod (the code describing the model)

2.readmodel.m (the file with parameter values)

3.makedata.m (this file will filter the data from data.csv, calculate trends and gaps, and generate pictures)

4.modelproperties.m (this file file will calculate and plot impulse responses for given model.mod and its calibration)

5.forecast.m (this file will run the forecast, conditional on the model calibration, including its steady states)

6.data.csv (Excel file with Russian data)

Before running any of these files, the Matlab’s ‘current directory’ must be switched to the folder ‘Model’ where the programs are saved (or whateve name you gave it). Switch the current directory from c:/Modeling/iris_installtoc:/Modeling/Model (type ‘cd c:/Modeling/Model’, [enter]). You may check that you are in the right directory typing the command ‘ls’, [enter]. Matlab will give you a list of files saved in its current directory.

If you run the programs for the first time, execute them in the following sequence: ‘modelproperties’, ‘makedata’, and ‘forecast’. Type the name of the program, for instance ‘modelproperties’ in the command window and push [enter]. Once the screen shows >>the program has been run successfully. Be aware that while running the program ‘modelproperties’ for the first time, the MiKTeX application may ask you twice for additional installation. Choose yes as the installation uses the package installed previously and calls for some sub-packages that were installed automatically.

Start Windows explorer and from c:/Modeling/Model double click on files Report_Shocks.ps, Stylized_facts.ps, Forecast.ps. These are the model outputs viewable in Ghostgum (set the view to Seaside).

2. The fiscal model

Unzip the Matlab codes into your subfolder, for example, c:/Modeling/fiscal_course. Check that it contains the following (12) files:

1.model.mod (4 versions of the code describing the various model scenarios)

2.readmodel.m (4 versions of the code describing the various scenarios parameter values)

3. ngd2gdp_increase_g.m (4 versions of the code describing the various scenarios)

Before running any of these files, the Matlab’s ‘current directory’ must be switched to the folder ‘fiscal_course’ where the programs are saved (or whateve name you gave it).

Execute the scenarios by typing ngd2gdp_increase_g.m and pushing [enter]. Once the screen shows >>the program has been run successfully. Open the simulation output by right-clicking ngd2gdp_increase_g.m and selecting Open Outside MATLAB.