18.06.2013 Views

Measuring the Effects of a Shock to Monetary Policy - Humboldt ...

Measuring the Effects of a Shock to Monetary Policy - Humboldt ...

Measuring the Effects of a Shock to Monetary Policy - Humboldt ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

52 Bayesian FAVARs with Agnostic Identification<br />

BAYESIAN_FAVAR.m<br />

The main Script. After setting <strong>the</strong> global GLOG_MODE (see description <strong>of</strong> function GLOG)<br />

<strong>the</strong> functions DO_INPUT, DO_CALCULATION and DO_RESULTS are called. The output <strong>of</strong> each<br />

function is given <strong>to</strong> <strong>the</strong> following functions as <strong>the</strong>ir input parameter. DO_IMPORTgenerates<br />

a structure called input (see description <strong>of</strong> <strong>the</strong> used data structure in <strong>the</strong> attached cd-<br />

rom), which contains information about user entries <strong>to</strong> choose a set <strong>of</strong> presets and spec-<br />

ification data. This structure is passed <strong>to</strong> <strong>the</strong> DO_CALCULATION function as its input. In<br />

DO_CALCULATION <strong>the</strong> structure results is created, which contains <strong>the</strong> results <strong>of</strong> <strong>the</strong> cal-<br />

culation process. DO_RESULTS uses this two data structures <strong>to</strong> present <strong>the</strong> results <strong>to</strong> <strong>the</strong><br />

user.<br />

DO_INPUT.m<br />

This function returns <strong>the</strong> input data structure <strong>to</strong> <strong>the</strong> main function. To separate dif-<br />

ferent sources and groups <strong>of</strong> input information, <strong>the</strong> DO_INPUT function is separated in<strong>to</strong><br />

subfunctions, where each returns one part <strong>of</strong> <strong>the</strong> input structure.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!